Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34140 - sys-apps/baselayout: rc-status script addition - servicelist
Summary: sys-apps/baselayout: rc-status script addition - servicelist
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High enhancement
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2003-11-22 15:19 UTC by Eldad Zack (RETIRED)
Modified: 2004-06-26 15:48 UTC (History)
0 users

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


Attachments
rc-status --servicelist patch (rc-status-servicelist.patch,2.38 KB, patch)
2003-11-22 15:20 UTC, Eldad Zack (RETIRED)
Details | Diff
rc-status --servicelist patch mark2 (rc-status-servicelist-mark2.patch,2.33 KB, patch)
2003-11-22 15:27 UTC, Eldad Zack (RETIRED)
Details | Diff
mark3... (rc-status-servicelist-mk3.patch,6.28 KB, patch)
2003-11-23 02:28 UTC, Eldad Zack (RETIRED)
Details | Diff
mark4 (rc-status-mk4.patch,2.31 KB, patch)
2003-11-24 06:52 UTC, Eldad Zack (RETIRED)
Details | Diff
rc-status-mk5.patch (rc-status-mk5.patch,2.40 KB, patch)
2004-06-10 14:37 UTC, Eldad Zack (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eldad Zack (RETIRED) gentoo-dev 2003-11-22 15:19:32 UTC
Added a --servicelist flag to allow watching all the services on the system (regardless of their runlevels)

patch against baselayout 1.8.6.12 attached.
Comment 1 Eldad Zack (RETIRED) gentoo-dev 2003-11-22 15:20:16 UTC
Created attachment 21101 [details, diff]
rc-status --servicelist patch
Comment 2 SpanKY gentoo-dev 2003-11-22 15:24:11 UTC
neat idea ... however it currenly messes up the -a option ...
Comment 3 Eldad Zack (RETIRED) gentoo-dev 2003-11-22 15:26:36 UTC
well, that's easy.
just change

    runlevelidxs="${runlevelidxs} UNASSIGNED ALL"

back to

    runlevelidxs="${runlevelidxs} UNASSIGNED"

I'll make another patch.

Comment 4 Eldad Zack (RETIRED) gentoo-dev 2003-11-22 15:27:35 UTC
Created attachment 21104 [details, diff]
rc-status --servicelist patch mark2
Comment 5 Eldad Zack (RETIRED) gentoo-dev 2003-11-23 02:28:03 UTC
Created attachment 21130 [details, diff]
mark3...

I forgot a little debugging echo inside, corrected patch.
Comment 6 Eldad Zack (RETIRED) gentoo-dev 2003-11-24 06:52:12 UTC
Created attachment 21207 [details, diff]
mark4

brrr. I've diff'ed with the wrong rc-status version. the patch looked too
big...
I hope that's the LAST one.
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2003-12-14 10:15:41 UTC
Mike?
Comment 8 Eldad Zack (RETIRED) gentoo-dev 2004-02-21 05:40:43 UTC
Well, It still patchs cleanly against rc-status 3 months later.

I'm not sure why it's taking so long to include this...
Comment 9 Eldad Zack (RETIRED) gentoo-dev 2004-06-10 12:41:46 UTC
Can someone looks at this? I think it's pretty useful.
Comment 10 SpanKY gentoo-dev 2004-06-10 13:27:02 UTC
i'd change the whitespacing in the help output to not use tabs but otherwise
looks good
Comment 11 Eldad Zack (RETIRED) gentoo-dev 2004-06-10 14:37:41 UTC
Created attachment 33054 [details, diff]
rc-status-mk5.patch

changed tabs to white space in help
Comment 12 Aron Griffis (RETIRED) gentoo-dev 2004-06-11 08:22:49 UTC
Yep, I'll be putting this in RSN
Comment 13 Aron Griffis (RETIRED) gentoo-dev 2004-06-15 12:13:29 UTC
Ok, this is in rc-scripts cvs and will be available in the next release of baselayout
Comment 14 Eldad Zack (RETIRED) gentoo-dev 2004-06-20 08:07:53 UTC
Can you have a look at bug 44489 ? It is another patch for rc-scripts. 
Comment 15 Aron Griffis (RETIRED) gentoo-dev 2004-06-26 15:48:51 UTC
baselayout-1.10 is now in portage.  It's package.masked at the moment but will be unmasked shortly.