Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 215233

Summary: openrc should check that /etc/init.d/net.eth* are symlinks and warn the user if they are files
Product: Gentoo Linux Reporter: Andrey Kislyuk (RETIRED) <weaver>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrey Kislyuk (RETIRED) gentoo-dev 2008-03-28 18:35:17 UTC
I upgraded to baselayout-2.0.0 and openrc-0.2_pre20080325; net.eth0 and netplugd stopped calling dhcpcd when the network cable was inserted. Instead, they said "nothing provides dhcp" in the system log.

After bugging uberlord for a while, I found out that /etc/init.d/net.eth0 was a regular file with contents from the old baselayout, instead of a symlink to net.lo which is a symlink to /lib/rc/sh/net.sh, so I was running net.eth0 from the old baselayout.

This system was installed a long while ago according to instructions in the manual so I don't think it's an isolated case. The ebuilds should at least warn the user that their net.* scripts should be updated if they are not proper symlinks.