Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openrc elog instructions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2894
Location: Edge of marsh USA

PostPosted: Fri Dec 07, 2012 5:54 pm    Post subject: openrc elog instructions Reply with quote

A little clarification is requested. What does this openrc elog message mean?

Quote:

In this version of OpenRC, the loopback interface no longer
satisfies the net virtual.
If you have services now which do not start because of this,
They can be fixed by adding rc_need="!net"
to the /etc/conf.d/<servicename> file


What file is <servicename>?

What would the <servicename> file look like after adding the specified
Quote:
rc_need="!net"


I did suffer from network interfaces that did not come up and solved the problem by explicitly adding them, i.e. net.eth0, to default using rc-update. I don't believe I have services that do not start, but the elog is so cryptic I can't be certain what it may be referring to.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/17.1/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri Dec 07, 2012 7:36 pm    Post subject: Reply with quote

the loopback interface -> 127.0.0.1, net.lo, localhost
doesn't provide anymore "net" services.

So if you have any services that need "net" to be running, previously, just setting the loopback interface on provide "net" to them.
Now this will fail.

And if you don't know what is servicename, it's just because you have no service that are stuck by this new feature.

Per example, you can guess easy that nfs service depend on "net" service.
Previously running without ethernet/wifi... but with a loopback, it was enough to start nfs.
Now as loopback doesn't gave "net", nfs will not start if no other service provide "net".
It mean until you have (still per example) /etc/init.d/net.eth0 start, /etc/init.d/nfs cannot start because no one gave it "net", and this even if you have /etc/init.d/net.lo started

Clearer ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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