| Summary: | Can't disable certain services with systemd | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Daniel Qarras <dqarras> |
| Component: | chkconfig | Assignee: | Lennart Poettering <lpoetter> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | johannbg, lpoetter, metherid, mschmidt, notting, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-04-28 07:44:19 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
See the message; the chkconfig output does not report the systemd status. Is the service actually disabled? After booting up I get: root@localhost:~# systemctl --all | grep abrtd abrtd.target error inactive dead abrtd.target Or was there something else you would like to know? Thanks! That does imply that the disabling worked, I believe. What's "systemctl status abrtd.service" say? The "error" column indicates that the service could not be loaded, i.e. no systemd unit file or sysv init script are installed for it. > What's "systemctl status abrtd.service" say?
root@localhost:~# systemctl status abrtd.service
abrtd.service - ABRT Automated Bug Reporting Tool
Loaded: loaded (/lib/systemd/system/abrtd.service)
Active: inactive (dead)
CGroup: name=systemd:/system/abrtd.service
zsh: exit 3 systemctl status abrtd.service
root@localhost:~# rpm -V abrt
missing /var/run/abrt
zsh: exit 1 rpm -V abrt
root@localhost:~# rpm -ql abrt | grep system
/etc/dbus-1/system.d/dbus-abrt.conf
/lib/systemd/system/abrtd.service
/usr/share/dbus-1/system-services/com.redhat.abrt.service
root@localhost:~#
Please let me know if you need more info!
Thanks.
Sorry, what's the problem here now precisely? The service is properly disabled. Sure, the chkconfig --list output doesn't show that, but it does tell you in big letters that the output is incomplete. Note that chkconfig will be fixed shortly so it won't display --list information for things overridden by systemd, to help alleviate confusion. > Sorry, what's the problem here now precisely? Incorrect chkconfig output as shown in comment 0. > Note that chkconfig will be fixed shortly so it won't display --list > information for things overridden by systemd, to help alleviate confusion. Cool, sounds just the right fix for this. Thanks! *** This bug has been marked as a duplicate of bug 693504 *** |
Description of problem: root@localhost:~# chkconfig abrtd off Note: Forwarding request to 'systemctl disable abrtd.service'. root@localhost:~# systemctl disable abrtd.service root@localhost:~# chkconfig --list | grep abrtd Note: This output shows SysV services only and does not include native systemd services. SysV configuration data might be overriden by native systemd configuration. abrtd 0:off 1:off 2:off 3:on 4:off 5:on 6:off root@localhost:~# The same goes for avahi-daemon, too. I haven't done anything else except installed Fedora 15 Beta, updated it, then tried to disable services.