Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: Hardened

udev do not generate 70-persistent-net.rules

 

 

Gentoo hardened RSS feed   Index | Next | Previous | View Threaded


alexanderyt at gmail

Jul 2, 2012, 6:03 AM

Post #1 of 3 (2547 views)
Permalink
udev do not generate 70-persistent-net.rules

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.


gentoo at puleglot

Jul 2, 2012, 6:39 AM

Post #2 of 3 (2472 views)
Permalink
Re: udev do not generate 70-persistent-net.rules [In reply to]

В Mon, 2 Jul 2012 17:03:56 +0400
Alexander Tiurin <alexanderyt [at] gmail> пишет:

> 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


alexanderyt at gmail

Jul 2, 2012, 8:17 AM

Post #3 of 3 (2478 views)
Permalink
Re: udev do not generate 70-persistent-net.rules [In reply to]

2012/7/2 Alexander Tsoy <gentoo [at] puleglot>

> 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!

Gentoo hardened RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.