View previous topic :: View next topic |
Author |
Message |
xmit Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/11939275214b896c0df17f7.jpg)
Joined: 02 Apr 2003 Posts: 158 Location: Hamburg, Germany
|
Posted: Tue Jun 20, 2006 7:58 pm Post subject: net.eth0 started with no runlevel |
|
|
net.eth0 is started without being in any runlevel.
There is a suspicous message during boot: "* Devices initiated services: net.eth0" which can also be found in /sbin/rc:
Quote: | # As we're in the bootlevel, add any services that failed due
# to /dev/.rcsysinit existing to the list
if [[ -d /dev/.rcboot ]] ; then
COLDPLUG_SERVICES=
for x in $(dolisting /dev/.rcboot/) ; do
[[ -L ${x} ]] && COLDPLUG_SERVICES="${COLDPLUG_SERVICES} ${x##*/}"
done
for x in ${COLDPLUG_SERVICES} ; do
if [[ ! -e /etc/runlevels/"${BOOTLEVEL}"/"${x}" \
&& ! -e /etc/runlevels/"${DEFAULTLEVEL}"/"${x}" ]] ; then
myscripts="${myscripts} ${x}"
mark_service_coldplugged "${x}"
fi
done
einfo "Device initiated services:${HILITE}${myscripts}${NORMAL}"
rm -rf /dev/.rcboot
fi |
What is the intention of this? How do I disable this unwanted device start?
I have sys-apps/baselayout-1.12.1 installed. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lxg Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/19265729674c9fac4bb9adf.png)
Joined: 12 Nov 2005 Posts: 1019 Location: Aachen, Germany
|
Posted: Tue Jun 20, 2006 9:03 pm Post subject: |
|
|
You seem to use a service that depends on the net service. This effects in starting eth0 or a similar, "real" network device in order to satisfy this dependency. If you think that this service also works when only lo is up, you can change RC_NET_STRICT_CHECKING in /etc/conf.d/rc to "lo". This should prevent net.eth0 from starting at boot, if it's not in a runlevel. _________________ lxg.de – codebits and tech talk |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xmit Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/11939275214b896c0df17f7.jpg)
Joined: 02 Apr 2003 Posts: 158 Location: Hamburg, Germany
|
Posted: Thu Jun 22, 2006 6:06 pm Post subject: |
|
|
RC_COLDPLUG="no" did it. Thanks a lot, Uberlord! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
contextswitch n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/53998423047d9a328ba0a5.jpg)
Joined: 08 Oct 2004 Posts: 61 Location: Darwen
|
Posted: Mon Jun 26, 2006 7:32 pm Post subject: |
|
|
UberLord wrote: | When baselayout tells you to update config files or things break WE REALLY DO MEAN IT |
I have no doubt about that its just that it's not always clear what options we should choose. Remember that often the first time we see a change is when we emerge world. In this case we had to make a decision and setting RC_COLDPLUG="yes" seemed a reasonable thing to do. I've read the comment in the rc file about RC_COLDPLUG and I still don't understand it.
Anyways, thanks for the pointer .
--
Geoff |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RazielFMX l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1873801371540dc6e2119bd.jpg)
Joined: 23 Apr 2005 Posts: 835 Location: NY, USA
|
Posted: Tue Jun 27, 2006 10:02 pm Post subject: |
|
|
When I updated world, baselayout was updated, and it set RC_COLDPLUG to yes! I accepted this, thinking it looked odd, but trusting etc-update, and things broke. I will set it back to no... I need to trust my instincts more...
I will do this and hope all will work. I had to recompile some things, so I won't know for a few hours if this works...
What is odd is that net.eth0 is in my default run level... _________________ I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d2_racing Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1190120345458c61e31ec3c.jpg)
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Jun 28, 2006 11:52 am Post subject: |
|
|
Is there any bugzilla open for that problem ?
I have the same problem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Monkeh Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/158504026146c5220a4feda.png)
Joined: 06 Aug 2005 Posts: 1656 Location: England
|
Posted: Wed Jun 28, 2006 1:14 pm Post subject: |
|
|
d2_racing wrote: | Is there any bugzilla open for that problem ?
I have the same problem. |
It's not a bug, it's a feature. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
five0 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Jul 2006 Posts: 8
|
Posted: Sun Jul 09, 2006 1:37 pm Post subject: |
|
|
I've experienced the same problem.
With RC_COLDPLUG="yes", I have also had to specify RC_PLUG_SERVICES="!net.*", and I don't get the error anymore |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|