Bug 699388 - Can't disable certain services with systemd
Summary: Can't disable certain services with systemd
Keywords:
Status: CLOSED DUPLICATE of bug 693504
Alias: None
Product: Fedora
Classification: Fedora
Component: chkconfig
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-25 14:09 UTC by Daniel Qarras
Modified: 2011-04-28 07:44 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-04-28 07:44:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daniel Qarras 2011-04-25 14:09:51 UTC
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.

Comment 1 Bill Nottingham 2011-04-25 18:53:07 UTC
See the message; the chkconfig output does not report the systemd status. Is the service actually disabled?

Comment 2 Daniel Qarras 2011-04-26 17:41:22 UTC
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!

Comment 3 Bill Nottingham 2011-04-26 19:22:37 UTC
That does imply that the disabling worked, I believe. What's "systemctl status abrtd.service" say?

Comment 4 Lennart Poettering 2011-04-27 00:27:26 UTC
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.

Comment 5 Daniel Qarras 2011-04-27 07:15:06 UTC
> 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.

Comment 6 Lennart Poettering 2011-04-27 14:57:50 UTC
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.

Comment 7 Bill Nottingham 2011-04-27 17:12:58 UTC
Note that chkconfig will be fixed shortly so it won't display --list information for things overridden by systemd, to help alleviate confusion.

Comment 8 Daniel Qarras 2011-04-28 07:29:32 UTC
> 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!

Comment 9 Michal Schmidt 2011-04-28 07:44:19 UTC

*** This bug has been marked as a duplicate of bug 693504 ***


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