From acda1b3f2acea97349507dbd4add85aae69cac67 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 31 Jul 2024 07:31:21 +0900 Subject: [PATCH] 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. --- NEWS | 7 +++++++ 1 file changed, 7 insertions(+) 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