Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Hardened (http://www.linux-archive.org/gentoo-hardened/)
-   -   udev do not generate 70-persistent-net.rules (http://www.linux-archive.org/gentoo-hardened/679318-udev-do-not-generate-70-persistent-net-rules.html)

Alexander Tsoy 07-02-2012 01:39 PM

udev do not generate 70-persistent-net.rules
 
В Mon, 2 Jul 2012 17:03:56 +0400
Alexander Tiurin <alexanderyt@gmail.com> пишет:

> Hello!
> udev do not generate 70-persistent-net.rules (arch (udev 171-r6) and
> ~arch(udev 182-r3)).
>
> udev configuration
> # cat /etc/conf.d/udev | grep -v -e # -e ^$
> persistent_net_disable="no"
> persistent_cd_disable="no"
>
> NICs
>
> 00:03.0 Ethernet controller: Red Hat, Inc Virtio network device
> 00:06.0 Ethernet controller: Red Hat, Inc Virtio network device
>
> Any and all suggestions are welcome.

Look at the file

/lib/udev/rules.d/75-persistent-net-generator.rules

There are exceptions for KVM, Xen, etc. Maybe you hit one of them?

--
With best regards,
Alexander Tsoy

Alexander Tiurin 07-02-2012 03:17 PM

udev do not generate 70-persistent-net.rules
 
2012/7/2 Alexander Tsoy <gentoo@puleglot.ru>

Look at the file



/lib/udev/rules.d/75-persistent-net-generator.rules



There are exceptions for KVM, Xen, etc. Maybe you hit one of them?



Yes, I found a rule

# ignore KVM virtual interfaces
ENV{MATCHADDR}=="52:54:00:*", GOTO="persistent_net_generator_end"*


Thank you!


All times are GMT. The time now is 09:00 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.