Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195630 - rc-status should have option to list rc/init scripts order
Summary: rc-status should have option to list rc/init scripts order
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-12 16:28 UTC by Kevin Parent
Modified: 2007-10-15 16:18 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 Kevin Parent 2007-10-12 16:28:22 UTC
AFAIK, there is no current way to determine the ordering of rc/init scripts WITHOUT rebooting.  If there is, just tell me what it is and mark this bug invalid .

Reproducible: Always



Expected Results:  
Redhat based distros usually use numbered symlinks in the runlevel directories, so one can just look there to see the order.

An additional option to rc-status or rc-update would be nice, like "rc-update show order".

Gentoo does do this at the init level so it should be possible to provide some kind of user interface to facilitate in the modification of rc-script ordering via the "depends ()" function in the init scripts WITHOUT rebooting to see the changed order.
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-10-15 11:20:50 UTC
rc-status in our svn now displays the services in the order in which they will be started.

Will be in baselayout-2.0.0_rc6
Comment 2 Kevin Parent 2007-10-15 15:25:05 UTC
Thanks Roy.  Will it display the init order that orignally started or will the order change when changes are made to the depends() function of the init scripts?
Comment 3 Roy Marples (RETIRED) gentoo-dev 2007-10-15 16:18:32 UTC
(In reply to comment #2)
> Thanks Roy.  Will it display the init order that orignally started or will the
> order change when changes are made to the depends() function of the init
> scripts?

If rc-status is being run as root then we will attempt to update the deptree with the new info if needed, otherwise we won't
rc-status uses the info found in the deptree.