mirror of
https://github.com/systemd/systemd
synced 2025-10-03 18:54:45 +02:00
Compare commits
No commits in common. "5e38d199a623563698ab4a69acbbe3afa9135198" and "41c14f9d4389c26aba5af105ea3dd427c4209671" have entirely different histories.
5e38d199a6
...
41c14f9d43
@ -1 +1 @@
|
||||
257.8
|
||||
257.7
|
||||
|
@ -41,12 +41,5 @@ for unit_file in "${UNIT_FILES[@]}"; do
|
||||
continue
|
||||
fi
|
||||
|
||||
# Skip masked unit files
|
||||
resolved=$(readlink -f "$unit_file")
|
||||
if [[ "$resolved" == "/dev/null" || "$(systemctl is-enabled "${resolved##*/}" 2>/dev/null || :)" == "masked" ]]; then
|
||||
echo "$unit_file is masked, skipping"
|
||||
continue
|
||||
fi
|
||||
|
||||
systemd-analyze --recursive-errors=no --man=no verify "$unit_file"
|
||||
done
|
||||
|
@ -1259,9 +1259,7 @@ EOF
|
||||
|
||||
# Clear superblocks to make the MD device will not be restarted even if the VM is restarted.
|
||||
# This is a workaround for issue #38240.
|
||||
udevadm settle --timeout=30
|
||||
# shellcheck disable=SC2046
|
||||
mdadm -v --zero-superblock --force $(readlink -f "${devices[@]}")
|
||||
mdadm -v --zero-superblock --force "${devices[@]}"
|
||||
udevadm settle --timeout=30
|
||||
|
||||
# Check if all expected symlinks were removed after the cleanup
|
||||
@ -1324,9 +1322,7 @@ testcase_mdadm_lvm() {
|
||||
|
||||
# Clear superblocks to make the MD device will not be restarted even if the VM is restarted.
|
||||
# This is a workaround for issue #38240.
|
||||
udevadm settle --timeout=30
|
||||
# shellcheck disable=SC2046
|
||||
mdadm -v --zero-superblock --force $(readlink -f "${devices[@]}")
|
||||
mdadm -v --zero-superblock --force "${devices[@]}"
|
||||
udevadm settle --timeout=30
|
||||
|
||||
# Check if all expected symlinks were removed after the cleanup
|
||||
|
@ -280,4 +280,4 @@ if [[ -e /usr/lib/pam.d/systemd-run0 ]] || [[ -e /etc/pam.d/systemd-run0 ]]; the
|
||||
fi
|
||||
|
||||
# Tests whether intermediate disconnects corrupt us (modified testcase from https://github.com/systemd/systemd/issues/27204)
|
||||
assert_rc "37" timeout 300 systemd-run --unit=disconnecttest --wait --pipe --user -M testuser@.host bash -ec 'systemctl --user daemon-reexec; sleep 3; exit 37'
|
||||
assert_rc "37" systemd-run --unit=disconnecttest --wait --pipe --user -M testuser@.host bash -ec 'systemctl --user daemon-reexec; sleep 3; exit 37'
|
||||
|
@ -20,7 +20,7 @@ ConditionPathExists=/proc/pressure/cpu
|
||||
ConditionPathExists=/proc/pressure/io
|
||||
ConditionPathExists=/proc/pressure/memory
|
||||
Requires=systemd-oomd.socket
|
||||
After=systemd-oomd.socket systemd-sysusers.service
|
||||
After=systemd-oomd.socket
|
||||
|
||||
[Service]
|
||||
AmbientCapabilities=CAP_KILL CAP_DAC_OVERRIDE
|
||||
|
Loading…
x
Reference in New Issue
Block a user