Bug 53682

Summary: ntsysv --level 2345: effects runlevel settings for unselected services
Product: [Retired] Red Hat Linux Reporter: Ben Levenson <benl>
Component: chkconfigAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: low    
Version: 7.3CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: ia64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-09-14 22:14:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
diff of chkconfig before and after changing settings w/ ntsysv none

Description Ben Levenson 2001-09-14 22:13:49 UTC
Description of Problem:
running "ntsysv --level 2345" changed settings for services that weren't
supposed to be altered.  The only service I toggled was anacron, but
several other services were enabled for runlevel 2.
Attached is a diff of "chkconfig --list" before and after changing
the anacron settings for levels 2, 3, 4, and 5.

Version-Release number of selected component (if applicable):
ntsysv-1.2.24-1

Steps to Reproduce:
1. chkconfig --list > current.txt
2. ntsysv --level 2345
3. unselect the anacron service
4. chkconfig --list > new.txt
5. diff current.txt new.txt

Comment 1 Ben Levenson 2001-09-14 22:14:55 UTC
Created attachment 31800 [details]
diff of chkconfig before and after changing settings w/ ntsysv

Comment 2 Bill Nottingham 2001-09-17 18:53:38 UTC
It's operating as expected. By passing --level 2345, it's set to edit all those
levels; therefore, any service selected in the interface as 'enabled' will be
enabled on all those levels.