Red Hat Bugzilla – Bug 53682
ntsysv --level 2345: effects runlevel settings for unselected services
Last modified: 2014-03-16 22:23:29 EDT
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):
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
Created attachment 31800 [details]
diff of chkconfig before and after changing settings w/ ntsysv
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.