Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net.lo do i need to remove it from rc-config
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
Amon2501
Tux's lil' helper
Tux's lil' helper


Joined: 12 Dec 2018
Posts: 131

PostPosted: Wed May 20, 2020 7:01 pm    Post subject: net.lo do i need to remove it from rc-config Reply with quote

Hello. I`m okay with just dhcpd without networkmanager installed, so i`ve disabled it globally. After that i decided to review my dhcpd configuration. And i found that i actually have net.lo in my rc-config

Code:
$ rc-config list | grep 'wpa_supplicant\|dhcpcd\|net\.'
  dhcpcd                    default
  net.lo


Should i remove it from the default runlevel (as it written here about something wireless i think) or it`s okay to leave that interface as is?
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4123
Location: Bavaria

PostPosted: Wed May 20, 2020 7:43 pm    Post subject: Re: net.lo do i need to remove it from rc-config Reply with quote

Amon2501 wrote:
And i found that i actually have net.lo in my rc-config [...] Should i remove it from the default runlevel [...] or it`s okay to leave that interface as is?

I think you can remove it with "rc-update del net.lo default". (If you dont have a net-config-file in /etc/conf.d/net.xxx for letting the script do something (creating a static adreess or loading dhcpd), the script will just do nothing.)
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Wed May 20, 2020 10:19 pm    Post subject: Re: net.lo do i need to remove it from rc-config Reply with quote

Amon2501 wrote:
Should i remove it from the default runlevel (as it written here about something wireless i think) or it`s okay to leave that interface as is?

Your listing shows net.lo not assigned to any runlevel.

What is your output of qfile /etc/init.d/net.lo?
I am almost sure it would go away on recompilation of openrc[-netifrc] and unmerging net-misc/netifrc.
Back to top
View user's profile Send private message
Amon2501
Tux's lil' helper
Tux's lil' helper


Joined: 12 Dec 2018
Posts: 131

PostPosted: Thu May 21, 2020 7:31 pm    Post subject: Re: net.lo do i need to remove it from rc-config Reply with quote

charles17 wrote:
Amon2501 wrote:
Should i remove it from the default runlevel (as it written here about something wireless i think) or it`s okay to leave that interface as is?

Your listing shows net.lo not assigned to any runlevel.

What is your output of qfile /etc/init.d/net.lo?
I am almost sure it would go away on recompilation of openrc[-netifrc] and unmerging net-misc/netifrc.



You were right

Code:
 $ qfile /etc/init.d/net.lo
net-misc/netifrc: /etc/init.d/net.lo


but i didnt set that +neifrc flag manually, should i really need to disable it now? It seems that it`s enabled by default in portage.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Fri May 22, 2020 2:38 am    Post subject: Re: net.lo do i need to remove it from rc-config Reply with quote

Amon2501 wrote:
It seems that it`s enabled by default in portage. ...

... for no good reason. The USE flag in openrc provides absolutely no functionality except pulling in what I don't want.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3266
Location: Canada

PostPosted: Fri May 22, 2020 5:54 am    Post subject: Re: net.lo do i need to remove it from rc-config Reply with quote

charles17 wrote:
Amon2501 wrote:
It seems that it`s enabled by default in portage. ...

... for no good reason. The USE flag in openrc provides absolutely no functionality except pulling in what I don't want.


well, openrc pulls in what is a default network setup scripts in Gentoo. If you want to go non-default way, it is up to you to disable it.
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