From: Yu Watanabe Date: Tue, 30 Jul 2024 22:31:21 +0000 (+0900) Subject: NEWS: mention that udevadm test and test-builtin are now non-destructive X-Git-Tag: v257-rc1~795 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acda1b3f2acea97349507dbd4add85aae69cac67;p=thirdparty%2Fsystemd.git NEWS: mention that udevadm test and test-builtin are now non-destructive Follow-up for 089bef66316e5bdc91b9984148e5a6455449c1da. Prompted by https://github.com/systemd/systemd/issues/33619#issuecomment-2257576579. --- diff --git a/NEWS b/NEWS index 7ae3614065f..e772f08c2bb 100644 --- a/NEWS +++ b/NEWS @@ -377,6 +377,13 @@ CHANGES WITH 256: * A new unit systemd-udev-load-credentials.service has been added to pick up udev.conf drop-ins and udev rules from credentials. + * 'udevadm test' and 'udevadm test-builtin' commands now do not change + any settings; sysfs attributes, sysctls, udev database and so on. + E.g. 'udevadm test-builtin net_setup_link /sys/class/net/INTERFACE' + does not change any interface settings, but only prints which .link + file matches the interface. So, even privileged users can safely + invoke the commands. + * An allowlist/denylist may be specified to filter which sysfs attributes are used when crafting network interface names. Those lists are stored as hwdb entries