On Sat, Jan 26, 2013 at 6:14 AM, Sérgio Basto <ser...@serjux.com> wrote: > how I should do the old command udevadm: control --reload-rules ? > is correct : systemctl restart udev.service ? > I don't find any in documentation that guarantee this . > > BTW in F18: udev.service change the name to systemd-udevd.service. > So put in package spec, is this correct way ? > > %if 0%{?fedora} < 18 > systemctl restart udev.service > systemctl restart udev-trigger.service > systemctl restart udev-settle.service > %else > systemctl restart systemd-udevd.service > systemctl restart systemd-udev-trigger.service > systemctl restart systemd-udev-settle.service > %endif
Please get rid of all of that, none of it is necessary, udev will notice that on its own. It is completely wrong to ever do that and to restart udev or other essential sevices from packages. No package besides udev itself is allowed to do restart these services. Thanks, Kay -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel