Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585906 - rc-status doesn't show 'manual' runlevel properly
Summary: rc-status doesn't show 'manual' runlevel properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-14 08:59 UTC by Patrick Lauer
Modified: 2016-07-18 19:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.