discovery icon indicating copy to clipboard operation
discovery copied to clipboard

Systemd: Reloading udevadm rules

Open avandesa opened this issue 7 years ago • 1 comments

On the environment setup pages for Linux (pages 3.1 and 3.4), it is recommended to run udevadm control --reload-rules to, of course, reload the new udev rules. However, at least on systemd-udev, the option to reload the rules is simply udevadm control [-R | --reload].

--reload-rules seems to just fail silently without actually reloading the rules. This may be different on non-systemd computers, but I personally don't have a way of verifying this.

avandesa avatar Nov 05 '18 00:11 avandesa

Using Ubuntu 18.10 and udev 239-7ubuntu10.4, I can confirm that --reload is the documented option, and that --reload-rules yields no output, just like --reload.

However, it seems like the system detects changes in the udev rules automatically and apply them as soon as I replug the device.

jodal avatar Nov 20 '18 21:11 jodal