Re: how reload udev rules and systemd on F18

2013-02-15 Thread Sérgio Basto
On Qui, 2013-02-14 at 09:37 +0100, Florian Weimer wrote: > On 02/13/2013 07:40 PM, Kay Sievers wrote: > > On Wed, Feb 13, 2013 at 6:29 PM, Sérgio Basto wrote: > >> what you mean by redundant ? if I not reboot system, do I need > >> --reload-rules on F16+ ? (when install the package ) > >> and whe

Re: how reload udev rules and systemd on F18

2013-02-14 Thread Sérgio Basto
On Qui, 2013-02-14 at 09:37 +0100, Florian Weimer wrote: > On 02/13/2013 07:40 PM, Kay Sievers wrote: > > On Wed, Feb 13, 2013 at 6:29 PM, Sérgio Basto wrote: > >> what you mean by redundant ? if I not reboot system, do I need > >> --reload-rules on F16+ ? (when install the package ) > >> and whe

Re: how reload udev rules and systemd on F18

2013-02-14 Thread poma
On 02/05/13 07:42, Sérgio Basto wrote: > On Ter, 2013-01-29 at 17:59 +, Sérgio Basto wrote: >> On Ter, 2013-01-29 at 01:52 +0100, Lennart Poettering wrote: >>> Yes, even then. udev will notice rules dropped there. >> >> OK I will test that > > I just test it and doesn't assign USB devices. >

Re: how reload udev rules and systemd on F18

2013-02-14 Thread Florian Weimer
On 02/13/2013 07:40 PM, Kay Sievers wrote: On Wed, Feb 13, 2013 at 6:29 PM, Sérgio Basto wrote: what you mean by redundant ? if I not reboot system, do I need --reload-rules on F16+ ? (when install the package ) and when the package is remove, how I clean it up ? (without reboot) Udev finds t

Re: how reload udev rules and systemd on F18

2013-02-13 Thread Kay Sievers
On Wed, Feb 13, 2013 at 6:29 PM, Sérgio Basto wrote: > Hi, OK but we don't have any command to trigger only /dev/vboxusb/* ? You are not supposed to trigger changes for hardware on the running system, *ever*. Package scripts are package scripts, not magic system administration tools. Special de

Re: how reload udev rules and systemd on F18

2013-02-13 Thread Sérgio Basto
On Qua, 2013-02-13 at 04:00 +0100, Lennart Poettering wrote: > On Sat, 09.02.13 13:18, Sérgio Basto (ser...@serjux.com) wrote: > > > On Sex, 2013-02-08 at 10:08 +0100, Florian Weimer wrote: > > > On 02/05/2013 07:43 PM, Sérgio Basto wrote: > > > > > > > Any advises or opinions ? > > > > > > I

Re: how reload udev rules and systemd on F18

2013-02-12 Thread Lennart Poettering
On Sat, 09.02.13 13:18, Sérgio Basto (ser...@serjux.com) wrote: > On Sex, 2013-02-08 at 10:08 +0100, Florian Weimer wrote: > > On 02/05/2013 07:43 PM, Sérgio Basto wrote: > > > > > Any advises or opinions ? > > > > I think you haven't yet described the original problem you're trying to > > sol

Re: how reload udev rules and systemd on F18

2013-02-09 Thread Sérgio Basto
On Sex, 2013-02-08 at 10:08 +0100, Florian Weimer wrote: > On 02/05/2013 07:43 PM, Sérgio Basto wrote: > > > Any advises or opinions ? > > I think you haven't yet described the original problem you're trying to > solve. Hi, When we install VirtualBox from rpmfusion , I'd like create /dev/vbo

Re: how reload udev rules and systemd on F18

2013-02-08 Thread Florian Weimer
On 02/05/2013 07:43 PM, Sérgio Basto wrote: Any advises or opinions ? I think you haven't yet described the original problem you're trying to solve. -- Florian Weimer / Red Hat Product Security Team -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/

Re: how reload udev rules and systemd on F18

2013-02-07 Thread Lennart Poettering
On Tue, 05.02.13 06:42, Sérgio Basto (ser...@serjux.com) wrote: > On Ter, 2013-01-29 at 17:59 +, Sérgio Basto wrote: > > On Ter, 2013-01-29 at 01:52 +0100, Lennart Poettering wrote: > > > Yes, even then. udev will notice rules dropped there. > > > > OK I will test that > > I just test it a

Re: how reload udev rules and systemd on F18

2013-02-06 Thread Ben Boeckel
On Tue, 05 Feb, 2013 at 18:43:40 GMT, Sérgio Basto wrote: > After some tests I'm going pack with : > > if /sbin/udevadm control --reload-rules >/dev/null 2>&1 > then >/sbin/udevadm trigger --subsystem-match=usb --action=add >/dev/null 2>&1 > || : >/sbin/udevadm settle >/dev/null 2>&1 || :

Re: how reload udev rules and systemd on F18

2013-02-05 Thread Sérgio Basto
On Ter, 2013-02-05 at 06:42 +, Sérgio Basto wrote: > On Ter, 2013-01-29 at 17:59 +, Sérgio Basto wrote: > > On Ter, 2013-01-29 at 01:52 +0100, Lennart Poettering wrote: > > > Yes, even then. udev will notice rules dropped there. > > > > OK I will test that > > I just test it and doesn't

Re: how reload udev rules and systemd on F18

2013-02-05 Thread drago01
On Tue, Jan 29, 2013 at 1:42 AM, Reindl Harald wrote: > > > Am 29.01.2013 00:50, schrieb Kay Sievers: >> 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 > > and not onl

Re: how reload udev rules and systemd on F18

2013-02-04 Thread Sérgio Basto
On Ter, 2013-01-29 at 17:59 +, Sérgio Basto wrote: > On Ter, 2013-01-29 at 01:52 +0100, Lennart Poettering wrote: > > Yes, even then. udev will notice rules dropped there. > > OK I will test that I just test it and doesn't assign USB devices. But seeing what udev.service , udev-trigger.ser

Re: how reload udev rules and systemd on F18

2013-01-30 Thread Sérgio Basto
On Ter, 2013-01-29 at 17:59 +, Sérgio Basto wrote: > On Ter, 2013-01-29 at 01:52 +0100, Lennart Poettering wrote: > > Yes, even then. udev will notice rules dropped there. > > OK I will test that Sorry other question , if this is True since when is True ? is applicable on F16 ? Many thank

Re: how reload udev rules and systemd on F18

2013-01-29 Thread Sérgio Basto
On Ter, 2013-01-29 at 01:52 +0100, Lennart Poettering wrote: > Yes, even then. udev will notice rules dropped there. OK I will test that Many thanks, -- Sérgio M. B. -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel

Re: how reload udev rules and systemd on F18

2013-01-29 Thread Sérgio Basto
On Ter, 2013-01-29 at 01:52 +0100, Lennart Poettering wrote: > > like : > > cat /etc/udev/rules.d/90-vboxdrv.rules > > SUBSYSTEM=="usb_device", ACTION=="add", RUN+="VBoxCreateUSBNode.sh > > $major $minor $attr{bDeviceClass} vboxusers" > > SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device

Re: how reload udev rules and systemd on F18

2013-01-29 Thread Reindl Harald
Am 29.01.2013 00:50, schrieb Kay Sievers: > 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 and not only in the context of udev it is GENERALLY wrong it is wrong to re

Re: how reload udev rules and systemd on F18

2013-01-28 Thread Lennart Poettering
On Tue, 29.01.13 00:36, Sérgio Basto (ser...@serjux.com) wrote: > On Ter, 2013-01-29 at 00:50 +0100, Kay Sievers wrote: > > On Sat, Jan 26, 2013 at 6:14 AM, Sérgio Basto wrote: > > > how I should do the old command udevadm: control --reload-rules ? > > > is correct : systemctl restart udev.servi

Re: how reload udev rules and systemd on F18

2013-01-28 Thread Sérgio Basto
On Ter, 2013-01-29 at 00:50 +0100, Kay Sievers wrote: > On Sat, Jan 26, 2013 at 6:14 AM, Sérgio Basto 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 . > > > >

Re: how reload udev rules and systemd on F18

2013-01-28 Thread Kay Sievers
On Sat, Jan 26, 2013 at 6:14 AM, Sérgio Basto 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.

how reload udev rules and systemd on F18

2013-01-25 Thread Sérgio Basto
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%{?fed