[systemd-devel] systemctl enable/disable of sysvinit services is busted v206
Colin Guthrie
gmane at colin.guthr.ie
Sun Sep 8 03:23:33 PDT 2013
Hi,
I noticed from a user bug report that systemctl enable/disable on
sysvinit services (i.e. redirection to chkconfig) is broken.
I can't see anything in master that would fix this, so just wondering if
it's a know issue before I poke at it further...
Example Observation:
[root at jimmy ~]# systemctl status mumble-server.service
mumble-server.service - LSB: Mumble VoIP Server
Loaded: loaded (/etc/rc.d/init.d/mumble-server)
Active: inactive (dead)
[root at jimmy ~]# chkconfig --list 2>/dev/null | grep mumble-server
mumble-server 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off
[root at jimmy ~]# systemctl enable mumble-server
Failed to issue method call: No such file or directory
[root at jimmy ~]# systemctl enable mumble-server.service
Failed to issue method call: No such file or directory
[root at jimmy ~]# chkconfig --list 2>/dev/null | grep mumble-server
mumble-server 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off
[root at jimmy ~]# chkconfig --level 345 mumble-server on
[root at jimmy ~]# chkconfig --list 2>/dev/null | grep mumble-server
mumble-server 0:off 1:off 2:off 3:on 4:on 5:on 6:off 7:off
[root at jimmy ~]# systemctl enable mumble-server
Failed to issue method call: No such file or directory
[root at jimmy ~]# systemctl disable mumble-server
[root at jimmy ~]# chkconfig --list 2>/dev/null | grep mumble-server
mumble-server 0:off 1:off 2:off 3:on 4:on 5:on 6:off 7:off
[root at jimmy ~]# chkconfig --del mumble-server
[root at jimmy ~]# chkconfig --list 2>/dev/null | grep mumble-server
mumble-server 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited http://www.tribalogic.net/
Open Source:
Mageia Contributor http://www.mageia.org/
PulseAudio Hacker http://www.pulseaudio.org/
Trac Hacker http://trac.edgewall.org/
More information about the systemd-devel
mailing list