Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575128 - net-misc/netifrc-0.2.2: interface hotplug broken with udev-225
Summary: net-misc/netifrc-0.2.2: interface hotplug broken with udev-225
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: netifrc Team
URL:
Whiteboard: netifrc:udev
Keywords:
: 554510 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-02-19 12:01 UTC by Johan Hovold
Modified: 2016-10-24 22:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Hovold 2016-02-19 12:01:20 UTC
After what I assume was the update to udev-225 my usb network device is no longer brought up after being plugged in.



Reproducible: Always

Steps to Reproduce:
1. Make sure init script is present (e.g. /etc/init.d/net.enp0s20u6u3)
2. Verify that hotplugging is enabled in /etc/rc.conf
3. Plug in usb network device

Actual Results:  
Network interface is not brought up.

Expected Results:  
Network interface is brought up.

This is a regression as my setup used to work (prior to udev-225 update).

I tracked it down to net.sh being called with the old rather than renamed interface name:

Feb 19 12:32:16 xi kernel: [64298.698322] cdc_ether 1-6.3:1.0 enp0s20u6u3: renamed from usb0
Feb 19 12:32:16 xi udev-net.sh: /etc/init.d/net.usb0

Replacing %k with $name in /lib/udev/rules.d/90-network.rules fixes the problem.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2016-10-24 22:34:19 UTC
[master 4264b34] udev_rules: %k obsolete.
 1 file changed, 2 insertions(+), 3 deletions(-)
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2016-10-24 22:54:08 UTC
*** Bug 554510 has been marked as a duplicate of this bug. ***