View previous topic :: View next topic |
Author |
Message |
RazielFMX l33t
Joined: 23 Apr 2005 Posts: 835 Location: NY, USA
|
Posted: Fri Jul 25, 2014 8:53 pm Post subject: [SOLVED] OpenRC warnings in Portage |
|
|
Good afternoon,
I recently (as in today) rebuilt my entire system to pick up some CFLAG changes (I downgraded from -O3 to -O2) and noticed the following warning from portage with regards to openrc:
Code: |
WARN: postinst
Please add the network service to your boot runlevel
as soon as possible. Not doing so could leave you with a system
without networking.
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.
You should also file a bug against the service asking that
need net be dropped from the dependencies.
The bug you file should block the following tracker:
https://bugs.gentoo.org/show_bug.cgi?id=439092
This version of OpenRC doesn't enable nfs mounts automatically any
longer. In order to mount nfs file systems, you must use the
nfsmount service from the nfs-utils package.
See bug https://bugs.gentoo.org/show_bug.cgi?id=427996 for
more information on this.
LOG: postinst
You should now update all files in /etc, using etc-update
or equivalent before restarting any services or this host.
|
I have a net provider in my default runlevel (dhcpcd) and all my network interfaces seem to work.
Should I be moving the dhcpcd script to boot instead of default? Will enabling network break my dhcpcd script?
Thanks!
Last edited by RazielFMX on Mon Jul 28, 2014 3:56 pm; edited 1 time in total |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Fri Jul 25, 2014 10:48 pm Post subject: Re: OpenRC warnings in Portage |
|
|
RazielFMX wrote: | Should I be moving the dhcpcd script to boot instead of default? Will enabling network break my dhcpcd script? |
RazielFMX ... well, dhcpcd 'provide[s] net' so the above warning can essencially be ignored. To me that whole paragraph seems badly worded, *if* whoever this is addressed to requires "the network service" then you would imagine that its already in the default runlevel.
Code: | # grep provide /etc/init.d/dhcpcd
provide net |
best ... khay |
|
Back to top |
|
|
RazielFMX l33t
Joined: 23 Apr 2005 Posts: 835 Location: NY, USA
|
Posted: Mon Jul 28, 2014 3:56 pm Post subject: |
|
|
That is what I thought as well, thank you for confirming! |
|
Back to top |
|
|
|
|
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
|
|