Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695968 - sys-apps/openrc-0.41.2: rc-status incorrect manual runlevel
Summary: sys-apps/openrc-0.41.2: rc-status incorrect manual runlevel
Status: UNCONFIRMED
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: 2019-10-01 09:46 UTC by marco
Modified: 2019-10-01 09:46 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 marco 2019-10-01 09:46:10 UTC
Manual execution of a service not started by any runlevel or by any services 
is not displayed correctly by "rc-status".

Reproducible: Always

Steps to Reproduce:
examples for cupsd.
cupsd in not started by any runlevel:
#rc-config list  | grep -i cupsd
  cupsd

and it is not started:
#/etc/init.d/cupsd status 
 * status: stopped

i start it:
#/etc/init.d/cupsd start 
 * Starting cupsd ...

#rc-status | grep -C1 cupsd
Dynamic Runlevel: needed/wanted
 cupsd                                                             [  started  ]
Dynamic Runlevel: manual

but the "cupsd" daemon in not required:
#grep -i cupsd /etc/init.d/*
/etc/init.d/cups-browsed:       need cupsd
/etc/init.d/cupsd:command="/usr/sbin/cupsd"
/etc/init.d/cupsd:command_args="-f -c /etc/cups/cupsd.conf -s /etc/cups/cups-files.conf"
/etc/init.d/cupsd:pidfile="/var/run/cupsd.pid"
/etc/init.d/nut.powerfail:      elif [ -f /etc/apcupsd/powerfail ]; then
/etc/init.d/nut.powerfail:              UPS_CTL=/sbin/apcupsd
/etc/init.d/samba:      use cupsd



Expected Results:  
I expect to see the service under the "Dynamic Runlevel: manual" and not the "Dynamic Runlevel: needed/wanted".