Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 585906

Summary: rc-status doesn't show 'manual' runlevel properly
Product: Gentoo Hosted Projects Reporter: Patrick Lauer <patrick>
Component: OpenRCAssignee: OpenRC Team <openrc>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Patrick Lauer gentoo-dev 2016-06-14 08:59:03 UTC
If I run rc-status without parameters I get a list of runlevels and services:

$ rc-status
Runlevel: default
 local                                                             [  started  ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
 xdm-setup                                                         [  started  ]
Dynamic Runlevel: manual
 openconnect                                                       [  crashed  ]


I can also print the following runlevels by themselves:

sysinit
default
nonetwork
shutdown
boot

But the 'manual' runlevel as shown in rc-status output is absent.
This makes it a bit tricky to find all manually started services ... it would be nice to have the 'manual' runlevel be visible like all others.
Comment 1 William Hubbs gentoo-dev 2016-07-14 16:55:35 UTC
How do you feel about a switch to add to rc-status that will show you
only the dynamically started services, meaning the ones you started
manually and the ones that are needed/wanted but not in any runlevel?

I'm thinking something like:

rc-status -d
Comment 2 William Hubbs gentoo-dev 2016-07-18 19:13:53 UTC
https://github.com/openrc/openrc/commit/695be59

Instead of -d I used -m/--manual for this option.

This will be in OpenRC-0.22.