Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openrc dynamic dhcpcd start while disabled
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
g0rbe
n00b
n00b


Joined: 17 Sep 2019
Posts: 13

PostPosted: Fri Oct 11, 2019 7:12 pm    Post subject: openrc dynamic dhcpcd start while disabled Reply with quote

Hi!

The net.eno2 (set to use dhcpcd) and dhcpcd is disabled in openrc, but dhcpcd start on boot. The ethernet cable is plugged in.

Code:

Dynamic Runlevel: needed/wanted
 dhcpcd                 


I did not find any info about this needed/wanted runlevel.
How to disable it?

Thanks,
g0rbe
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1734
Location: South America

PostPosted: Fri Oct 11, 2019 11:09 pm    Post subject: Re: openrc dynamic dhcpcd start while disabled Reply with quote

g0rbe wrote:
Code:

Dynamic Runlevel: needed/wanted
 dhcpcd                 


I did not find any info about this needed/wanted runlevel.
How to disable it?

It is not a 'real' runlevel, this section of rc-status' output lists services that are not in a runlevel, but are started anyway because they are a 'need' or a 'want' dependency of another service that has been started. That is, they are named in a need or want command inside some other service script's depend() function.

I your case, there is probably a service in some runlevel that has a dependency of this kind on the net service (which dhcpcd provides).

There is a (rather short) description of dependency types here.
Back to top
View user's profile Send private message
g0rbe
n00b
n00b


Joined: 17 Sep 2019
Posts: 13

PostPosted: Tue Oct 15, 2019 8:15 pm    Post subject: Reply with quote

Sorry for the late response.

The problem was the netmount.
Thanks :)
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