]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev-rules: ignore non-system user/group in OWNER=/GROUP=
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 22 Jan 2025 21:08:23 +0000 (06:08 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 23 Jan 2025 17:33:18 +0000 (02:33 +0900)
commitf5cdf9515aceca2e91f9a33b74267e0cf5a5b7e8
tree87cf923615fe6f26fef0a75bc70dba911beb62ff
parenta1ee55e3c9eaa02737cb74cf3fc93583b307c8cd
udev-rules: ignore non-system user/group in OWNER=/GROUP=

Recently, we introduce 'clock' system group, and set it for rtc/ptp
devices. See af96ccfc24bc4803078a46b4ef2cdeb5decdfbcd.

However, if non-system group with the same name is already exist,
previously the devices were owned by the non-system group. That may
possibly happen on updating systemd.

Let's avoid accidentally devices being owned by non-system user/group.
src/udev/udev-rules.c