Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unit: drop ProtectClock=yes from systemd-udevd.service
This partially reverts cabc1c6. The setting ProtectClock= implies DeviceAllow=, which is not suitable for udevd. Although we are slowly removing cgropsv1 support, but DeviceAllow= with cgroupsv1 is necessarily racy, and reloading PID1 during the early boot process may cause issues like systemd#24668. Let's disable ProtectClock= for udevd. And, if necessary, let's explicitly drop CAP_SYS_TIME and CAP_WAKE_ALARM (and possibly others) by using CapabilityBoundingSet= later. Fixes systemd#24668.
- Loading branch information