1
0
mirror of https://github.com/systemd/systemd synced 2025-10-01 17:54:45 +02:00

Compare commits

..

4 Commits

Author SHA1 Message Date
Rostislav Lastochkin
e196be154e hwdb: Add Accelerometer mount matrix for Irbis TW43 2025-08-18 01:56:34 +09:00
Yu Watanabe
d1e0f603d1 README: drop one FIXME comment
Most compat glue has been already removed, except for several cgroup v1
specific codes. It is too late to remove the remaining things before v258.
Let's remove them after v258.
2025-08-18 01:17:53 +09:00
Yu Watanabe
fb4aabf443 cryptsetup: HAVE_CRYPT_SET_KEYRING_TO_LINK is always defined
Follow-up for c5daf14c88ba44cefabe052de93a29d28b6b0175 (v256).
2025-08-17 15:39:43 +01:00
Yu Watanabe
04ade57a42 TEST-17-UDEV: rotate journal after pending journal entries in buffer before flushed
Then, expected journal entries should be in the archived journal, hence
hopefully we can safely get them.

Follow-up for 5e4115e59e25fc2eeb31c8f47c3ce1b59835f215.
2025-08-17 11:16:57 +01:00
4 changed files with 7 additions and 5 deletions

1
README
View File

@ -50,7 +50,6 @@ REQUIREMENTS:
⛔ Kernel versions below 5.4 ("minimum baseline") are not supported at all, ⛔ Kernel versions below 5.4 ("minimum baseline") are not supported at all,
and are missing required functionality as listed above. and are missing required functionality as listed above.
# FIXME: actually drop compat glue before v258
Linux kernel ≥ 5.6 for getrandom() GRND_INSECURE Linux kernel ≥ 5.6 for getrandom() GRND_INSECURE
≥ 5.7 for CLONE_INTO_CGROUP, cgroup2fs memory_recursiveprot option, ≥ 5.7 for CLONE_INTO_CGROUP, cgroup2fs memory_recursiveprot option,

View File

@ -662,6 +662,10 @@ sensor:modalias:acpi:BMA250*:dmi:*:bvritWORKS.G.WI71C.JGBMRB*:*:svnInsyde:pni71c
# Irbis # Irbis
######################################### #########################################
#TW43
sensor:modalias:acpi:BMA250E*:dmi:*:svnIRBIS:pnTW43:*
ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, -1
#TW90 #TW90
sensor:modalias:acpi:BOSC0200*:dmi:*:svnIRBIS:pnTW90:* sensor:modalias:acpi:BOSC0200*:dmi:*:svnIRBIS:pnTW90:*
ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1 ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1

View File

@ -586,7 +586,7 @@ static int parse_one_option(const char *option) {
log_warning_errno(r, "Failed to parse %s, ignoring: %m", option); log_warning_errno(r, "Failed to parse %s, ignoring: %m", option);
} else if ((val = startswith(option, "link-volume-key="))) { } else if ((val = startswith(option, "link-volume-key="))) {
#ifdef HAVE_CRYPT_SET_KEYRING_TO_LINK #if HAVE_CRYPT_SET_KEYRING_TO_LINK
_cleanup_free_ char *keyring = NULL, *key_type = NULL, *key_description = NULL; _cleanup_free_ char *keyring = NULL, *key_type = NULL, *key_description = NULL;
const char *sep; const char *sep;

View File

@ -24,14 +24,13 @@ function check_validity() {
function check() { function check() {
for _ in {1..2}; do for _ in {1..2}; do
# To make journal not rotated during checking journals below.
journalctl --rotate
systemctl reset-failed systemd-udevd.service systemctl reset-failed systemd-udevd.service
systemctl restart systemd-udevd.service systemctl restart systemd-udevd.service
udevadm settle --timeout=30 udevadm settle --timeout=30
journalctl --sync journalctl --sync
# Also rotate journal to make expected journal entries in an archived journal file.
journalctl --rotate
# Check if the inotify watch fd is received from fd store. # Check if the inotify watch fd is received from fd store.
journalctl -n 1 -q -u systemd-udevd.service --invocation=0 --grep 'Received inotify fd \(\d+\) from service manager.' journalctl -n 1 -q -u systemd-udevd.service --invocation=0 --grep 'Received inotify fd \(\d+\) from service manager.'