Cannot disable systemctl services (Bug #47)
I have the stock version 01/10/2014 running on eMMC.
Issuing 'sudo systemctl [start|stop|status] lightdm.service' works fine, but
'sudo systemctl disable lightdm.service' fails with:
"Failed to issue method call: No such file or directory"
apache2.service fails the same way. Have not tested others.
Just adding a quick note, with "wheezy" systemd is not the default, so things are very early, and not everything is completely setup to be controlled by it..
- Assignee set to Robert Nelson
- Status changed from New to In Progress
Bill Traynor wrote:
Is this still a valid bug?
As of 2014-05-30 on system installed from BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img the bug is still valid:
root@beaglebone:~# systemctl disable 'lightdm' Failed to issue method call: Invalid argument root@beaglebone:~# systemctl disable 'lightdm.service' Failed to issue method call: No such file or directory root@beaglebone:~# systemctl status lightdm.service lightdm.service - LSB: Light Display Manager Loaded: loaded (/etc/init.d/lightdm) Active: active (running) since Sat, 01 Jan 2000 00:00:08 +0000; 14 years and 4 months ago Process: 590 ExecStart=/etc/init.d/lightdm start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/lightdm.service ? 688 /usr/sbin/lightdm ? 841 /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch ? 955 lightdm --session-child 12 15
lightdm & apache in Debian Wheezy are not native systemd services, thus these will fail. (they are started in /etc/init.d/xyz)
lightdm: fixed: lightdm (1.10.0-3) unstable; urgency=medium (Therefor Jessie)
* debian/lightdm.service: - add systemd service file, thanks Martin Pitt for the work.closes: #733220 http://metadata.ftp-master.debian.org/changelogs/main/l/lightdm/unstable_changelog
Whereas apache is still only a systemv script in Debian.
- Status changed from Feedback to Closed