[systemd-devel] udev rules environment variable

Kay Sievers kay at vrfy.org
Tue Dec 17 17:52:01 PST 2013


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


More information about the systemd-devel mailing list