Skip to content

core: allow-list char-rtc with ProtectClock=yes only if needed - #25075

Merged
daandemeyer merged 1 commit into
systemd:mainfrom
bluca:protect_clock_device_allow
Oct 20, 2022
Merged

daandemeyer merged 1 commit into
systemd:mainfrom
bluca:protect_clock_device_allow

Conversation

@bluca

@bluca bluca commented Oct 19, 2022

Copy link
Copy Markdown
Member

Allow-listing a device implicitly blocks everything else, so this has the opposite of the intended effect when PrivateDevices= is not used.
Allow-list char-rtc only if there is a device policy set.

Fixes #18142

Allow-listing a device implicitly blocks everything else, so this
has the opposite of the intended effect when PrivateDevices= is
not used.
Allow-list char-rtc only if there is a device policy set.

Fixes systemd#18142
@bluca bluca added the pid1 label Oct 19, 2022
@bluca bluca added this to the v252 milestone Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

ProtectClock=yes blocks mount() system call for block device nodes

3 participants