[systemd-devel] udev rules environment variable

Robert Milasan rmilasan at suse.com
Wed Dec 18 05:07:35 PST 2013


On Wed, 18 Dec 2013 02:52:01 +0100
"Kay Sievers" <kay at vrfy.org> wrote:

> On Tue, Dec 17, 2013 at 8:14 PM, Andrey Borzenkov
> <arvidjaar at gmail.com> wrote:
> > В Tue, 17 Dec 2013 19:59:47 +0100 Kay Sievers <kay at vrfy.org> пишет:
> 
> >> # modprobe dummy
> >
> > dummy is not renamed.
> 
> > UDEV  [80256.274447]
> > move     /devices/pci0000:00/0000:00:03.0/net/ens3 (net) ACTION=move
> > ...
> > INTERFACE=ens3
> > SEQNUM=1452
> > ...
> > TAGS=:systemd:
> > UDEV_LOG=7
> >
> > Oops. test_device is lost.
> 
> Adding something like:
>   ACTION!="add|remove", IMPORT{db}="test_device"
> 
> might make it work.
> 
> Kay
> 

One more question: Where exactly is 'test_device' variable saved, I
mean physically? I suppose it should be in /run/udev/data or something
similar no?

-- 
Robert Milasan

L3 Support Engineer
SUSE Linux (http://www.suse.com)
email: rmilasan at suse.com
GPG fingerprint: B6FE F4A8 0FA3 3040 3402  6FE7 2F64 167C 1909 6D1A


More information about the systemd-devel mailing list