Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38147 - hotplug new network device failed because of last changes in net.agent
Summary: hotplug new network device failed because of last changes in net.agent
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 41892
  Show dependency tree
 
Reported: 2004-01-14 01:43 UTC by Michael Rolf
Modified: 2004-03-29 16:34 UTC (History)
2 users (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 Michael Rolf 2004-01-14 01:43:16 UTC
With hotplug-2004_01_05 a new network device (which is create due to a Bluetooth PAN connection on my PC) isn't configured by hotplug any longer. 
With older hotplug versions it had worked very well!

The problem ist that the net.agent in line 31 checks if the file /var/lock/subsys/network exist. This fails and net.agent terminates.

I never found any gentoo information about this file, so I think it isn't needed for gentoo. 

Because their are already gentoo patches for hotplug, it would been nice if in newer versions of these patches the above check is removed. 


Reproducible: Always
Steps to Reproduce:
1. Update to hotplug-2004_01_05
2. /etc/init/hotplug restart
3. "Connect" new network device

Actual Results:  
The new network device should have been configured from hotplug.

Expected Results:  
It ignored the "new network device" event because of the missing file
/var/lock/subsys/network.

Due to my hotplug tests I had a little problem to activate the debug output. I
searched for a config file (like on my previous distribution from SuSE) but
found nothing, so I had to changed it directly in the scripts.

hotplug.functions already checks for a hotplug config file in /etc/sysconfig.
Perhaps it's not a bad idea to change the path to /etc/conf.d and create a
sample hotplug config file.
Comment 1 Stuart Shelton 2004-02-17 05:12:07 UTC
I see this problem too, with the latest version (2004...) of Hotplug.

Without changes to hotplug (i.e. removing references to /var/lock/subsys) Network  configuration just does not work at all (in that I have to manually run "dhcpcd eth0".  This is new on my system, and the only change in the last few days has been the new version of hotplug).

I think this bug should be remarked as "critical" because of this.
Comment 2 Stuart Shelton 2004-02-17 05:13:49 UTC
... that's hotplug-20040105, sorry. :)
Comment 3 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-03-29 16:34:44 UTC
Should be fixed in the 2004_03_29 release