Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-fs/udev and network interface names
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2468
Location: /home/zach

PostPosted: Fri Jan 11, 2019 2:41 am    Post subject: sys-fs/udev and network interface names Reply with quote

Hello all,

Has anyone seen that with the latest version of UDEV (240-r2) that network interface names went back to the old "eth0" and "wlan0" style?
I did a system update on my music server, and after a reboot I couldn't ssh to it.
When I looked at it locally, I noticed that the network wasn't up.
Turns out that it was due to the network names going back to the former style:

Code:

# emerge -av udev

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-fs/udev-240-r2::gentoo  USE="acl kmod (-selinux)" ABI_X86="(64) -32 (-x32)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


Code:

# ip addr show | grep -e 'eth0\|wlan0'
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    inet 192.168.3.5/24 brd 192.168.3.255 scope global wlan0


I originally thought that it may be related to the problem that I was having with compiling sys-apps/dbus-1.12.12 with the latest version of autoconf-archive, but that didn't turn out to be the case:

Code:

# emerge -av dbus

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-apps/dbus-1.12.12::gentoo  USE="-X -debug -doc -elogind (-selinux) -static-libs -systemd -test -user-session" ABI_X86="(64) -32 (-x32)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


Cheers,
Nathan Zachary
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5845

PostPosted: Fri Jan 11, 2019 4:24 am    Post subject: Reply with quote

do you still have /etc/udev/rules.d/80-net-name-slot.rules ?
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2468
Location: /home/zach

PostPosted: Fri Jan 11, 2019 8:16 pm    Post subject: Reply with quote

Oddly enough /etc/udev/rules.d/ is completely empty (and not only on this machine, but on my main desktop as well). On my laptop, the only file is 99-dev-input-group.rules, which is one that I created.
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
baaann
Guru
Guru


Joined: 23 Jan 2006
Posts: 548
Location: uk

PostPosted: Fri Jan 11, 2019 8:32 pm    Post subject: Re: sys-fs/udev and network interface names Reply with quote

NathanZachary wrote:
Hello all,

Has anyone seen that with the latest version of UDEV (240-r2) that network interface names went back to the old "eth0" and "wlan0" style?


Yes I had that issue, it took some time to resolve without google etc available :( and I ended up masking udev-240-r2 which has probably only delayed the problem. Real life is rather busy at the moment so I haven't delved deeper, but I did come across a comment that the udev devs had decided that their renaming system was flawed and unreliable, causing them to revert to the original naming scheme. It's a shame it took them so long......but at some stage I will have to remember how to get dhcpcd to see the new(old) names.
Back to top
View user's profile Send private message
baaann
Guru
Guru


Joined: 23 Jan 2006
Posts: 548
Location: uk

PostPosted: Fri Jan 11, 2019 8:39 pm    Post subject: Reply with quote

Incidently udev-240-r2 also required me to replug my usb devices(keyboard and mouse) before they would work
Back to top
View user's profile Send private message
baaann
Guru
Guru


Joined: 23 Jan 2006
Posts: 548
Location: uk

PostPosted: Fri Jan 11, 2019 8:44 pm    Post subject: Reply with quote

There is a bug here

https://bugs.gentoo.org/673360

But it does not entirely match my experience as 239 worked ok for me
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2468
Location: /home/zach

PostPosted: Fri Jan 11, 2019 9:30 pm    Post subject: Reply with quote

udev-239 works well for me also, and the names are back to what I expect.

Thanks for the documentation!

Cheers,
Nathan Zachary
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum