[Fedora-packaging] [Fwd: how reload udev rules and systemd on F18]

Sérgio Basto sergio at serjux.com
Mon Jan 28 14:27:16 UTC 2013


Hi, 
-------- Forwarded Message --------
From: Sérgio Basto <sergio at serjux.com>
Reply-to: Development discussions related to Fedora
<devel at lists.fedoraproject.org>
To: Development discussions related to Fedora
<devel at lists.fedoraproject.org>
Subject: how reload udev rules and systemd on F18
Date: Sat, 26 Jan 2013 05:14:31 +0000

Hi, 
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

Thanks,
-- 
Sérgio M. B.

-- 
devel mailing list
devel at lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

-- 
Sérgio M. B.



More information about the packaging mailing list