]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev-rules: downgrade error about non-system user/group in OWNER=/GROUP=
authorZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Mon, 9 Feb 2026 11:02:02 +0000 (12:02 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Wed, 11 Feb 2026 10:24:37 +0000 (11:24 +0100)
commit5c05a339c6665e3a35f6000a46dcd1da80fcdced
tree1bfbb8419b35cd710e0470c9d9e868cbbf96ab19
parent79cf06fae425c810cdd23f2d66bc5e75fc8d8489
udev-rules: downgrade error about non-system user/group in OWNER=/GROUP=

This reverts (in sprit) commit f5cdf9515aceca2e91f9a33b74267e0cf5a5b7e8,
"udev-rules: ignore non-system user/group in OWNER=/GROUP=".

The original change was done to clean up a situation where we added a
new group, but the group could already have been used for some other
purposes, and now the some unexpected entity would own the device.
Unfortunately, this check doesn't really address the issue, since the
existing account might as well be a system account, which might be
equally bad. In addition, this change is a big compatiblity break,
causing existing rules to stop working. Since quite a lot of systems
have local configuration to assign devices to users for various
purposes, this is very noticable to users. In a way, the original change
to add a new group was the compat break, and follow-up patch to cahnge
the rule parsing evolved a small compat break into a much bigger one.
There is merit to the change though, since device nodes shouldn't be
owned by users and groups and different mechanisms should be used
instead. To avoid breaking users systems, and since the original goal
cannot be achieved by this patch, let's downgrade this to a warning
to guide users towards different solutions.
NEWS
catalog/systemd.catalog.in
src/systemd/sd-messages.h
src/udev/udev-rules.c
test/units/TEST-17-UDEV.verify.sh