Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215233 - openrc should check that /etc/init.d/net.eth* are symlinks and warn the user if they are files
Summary: openrc should check that /etc/init.d/net.eth* are symlinks and warn the user ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-28 18:35 UTC by Andrey Kislyuk (RETIRED)
Modified: 2008-03-28 21:40 UTC (History)
0 users

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