Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net.eth0 started with no runlevel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
xmit
Apprentice
Apprentice


Joined: 02 Apr 2003
Posts: 158
Location: Hamburg, Germany

PostPosted: Tue Jun 20, 2006 7:58 pm    Post subject: net.eth0 started with no runlevel Reply with quote

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
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Tue Jun 20, 2006 9:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Wed Jun 21, 2006 10:21 am    Post subject: Reply with quote

set RC_COLDPLUG="no" in /etc/conf.d/rc
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
xmit
Apprentice
Apprentice


Joined: 02 Apr 2003
Posts: 158
Location: Hamburg, Germany

PostPosted: Thu Jun 22, 2006 6:06 pm    Post subject: Reply with quote

RC_COLDPLUG="no" did it. Thanks a lot, Uberlord!
Back to top
View user's profile Send private message
contextswitch
n00b
n00b


Joined: 08 Oct 2004
Posts: 61
Location: Darwen

PostPosted: Mon Jun 26, 2006 7:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Tue Jun 27, 2006 10:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed Jun 28, 2006 11:52 am    Post subject: Reply with quote

Is there any bugzilla open for that problem ?

I have the same problem.
Back to top
View user's profile Send private message
Monkeh
Veteran
Veteran


Joined: 06 Aug 2005
Posts: 1656
Location: England

PostPosted: Wed Jun 28, 2006 1:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
five0
n00b
n00b


Joined: 04 Jul 2006
Posts: 8

PostPosted: Sun Jul 09, 2006 1:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum