Bug 179580 - [PATCH] Add a --root/-r option to chkconfig/ntsysv
Summary: [PATCH] Add a --root/-r option to chkconfig/ntsysv
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: chkconfig
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-02-01 15:36 UTC by Olivier Galibert
Modified: 2014-03-17 02:57 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-05-12 15:51:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Add --root option to chkconfig and ntsysv (20.13 KB, patch)
2006-02-01 15:38 UTC, Olivier Galibert
no flags Details | Diff
Adds --root option and test script. (8.64 KB, patch)
2006-02-09 15:02 UTC, John Fusco
no flags Details | Diff

Description Olivier Galibert 2006-02-01 15:36:53 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1

Description of problem:
chkconfig needs a --root option to manage the startup services in a system image used for in my case cluster installations.  Can be useful for nfsboot too I guess.


Version-Release number of selected component (if applicable):
chkconfig-1.3.25

How reproducible:
Always

Steps to Reproduce:
Not very adapted to sending in patches are we?

I guess "chkconfig needs an upstream" could be another bug entry...


Additional info:

Comment 1 Olivier Galibert 2006-02-01 15:38:15 UTC
Created attachment 123966 [details]
Add --root option to chkconfig and ntsysv

Damn, bugwilla does suck for sending in patches...

Comment 2 Bill Nottingham 2006-02-02 04:03:19 UTC
Why not run it with 'chroot ... chkconfig ...'?

Comment 3 Olivier Galibert 2006-02-02 17:05:31 UTC
Hmmm, it works.  I don't like chroot much because it relies on having a fully
working system in the image while not having proc, dev and all mounted there,
but in the specific case of chkconfig it works.


Comment 4 John Fusco 2006-02-09 15:02:18 UTC
Created attachment 124438 [details]
Adds --root option and test script.

Alternative implementation based on 1.3.26. Less invasive approach touches
fewer modules.

Also includes unit_test script for new --root option to chkconfig.

Needs translations and man page update.

Comment 5 Matthew Miller 2007-04-06 16:06:57 UTC
Fedora Core 5 and Fedora Core 6 are, as we're sure you've noticed, no longer
test releases. We're cleaning up the bug database and making sure important bug
reports filed against these test releases don't get lost. It would be helpful if
you could test this issue with a released version of Fedora or with the latest
development / test release. Thanks for your help and for your patience.

[This is a bulk message for all open FC5/FC6 test release bugs. I'm adding
myself to the CC list for each bug, so I'll see any comments you make after this
and do my best to make sure every issue gets proper attention.]


Comment 6 Jon Stanley 2008-05-10 06:26:02 UTC
chkconfig has yet to grow this functionality.  Bill, could you comment on
whether you think chkconfig *should* have this functionality, and either merge
the patch (which probably needs work by now), or close this bug?

Comment 7 Bill Nottingham 2008-05-12 15:51:30 UTC
My apologies for the delay. I do stand by comment #2; this is really better done
with chroot itself.


Note You need to log in before you can comment on or make changes to this bug.