]> git.ipfire.org Git - thirdparty/systemd.git/commit
udevadm: do not ignroe error caused by unpriviledged user invoking the command
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 29 Sep 2020 04:44:28 +0000 (13:44 +0900)
committerLennart Poettering <lennart@poettering.net>
Tue, 29 Sep 2020 19:44:10 +0000 (21:44 +0200)
commit88da55e28b467999da005591d3252a98f4436522
tree17fcfa89cc6896514521611a663cccaa282ee6cf
parenta182fa895b76f9ac2dd038dceca2cd20b0a0d9f6
udevadm: do not ignroe error caused by unpriviledged user invoking the command

This effectively reverts commit 67acde4869a9505f9721e31fa5167c82445e0e12.

After commits 569ad251adde02dc0915758fe027e0346e50738a and
67acde4869a9505f9721e31fa5167c82445e0e12, -EACCES errors are ignored,
and thus 'udevadm trigger' succeeds even when it is invoked by non-root
users. Moreover, on -EACCES error, log messages are shown in debug
level, so usually we see no message, and users are easily confused
why uevents for devices are not triggered.
src/udev/udevadm-trigger.c