Bug 709254
Summary: | "ntsysv" only disables service for current runlevel which is not enough for systemd | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Hong Xu <hong> |
Component: | chkconfig | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 15 | CC: | bugs.michael, nerijus, notting, rvokal |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-07-15 21:07:03 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: |
Description
Hong Xu
2011-05-31 07:56:50 UTC
Cannot reproduce. Is rebooting strictly required? If you run the following as root user runlevel chkconfig --list sshd ntsysv # <-- here disable sshd chkconfig --list sshd does the ntsysv tool fail to disable sshd for you? (Or does it get re-enabled after a reboot only?) Actually, if a service is still "on" for any runlevel, systemd will happily start it because of its different runlevel concept. "systemctl disable sshd" also runs a full "chkconfig sshd off" instead of giving it just the current runlevel. ntsysv would need to do the same for compatibility. Hm, that would be a rather abrupt behavior change, but I can see how that would make sense. (In reply to comment #1) > Cannot reproduce. Is rebooting strictly required? > > If you run the following as root user > > runlevel > chkconfig --list sshd > ntsysv # <-- here disable sshd > chkconfig --list sshd > > does the ntsysv tool fail to disable sshd for you? (Or does it get re-enabled > after a reboot only?) The ntsysv only disabled sshd on runlevel 5. http://git.fedorahosted.org/git/?p=chkconfig.git;a=commitdiff;h=5c0e515fdd19c89ab45f6b5d0e5587c3ca21804e This will be in Fedora 16; it will not be backported to Fedora 15. |