[Pkg-systemd-maintainers] Bug#734809: Bug#734809: systemd: systemctl disable/enable => Failed to issue method call: No such file or directory

Michael Stapelberg stapelberg at debian.org
Sun Jan 12 21:52:27 GMT 2014


Hi Christoph,

Christoph Anton Mitterer <calestyo at scientia.net> writes:
> # systemctl enable ssh
> Synchronizing state for ssh with sysvinit using update-rc.d...
> Executing /usr/sbin/update-rc.d ssh defaults
> insserv: warning: current start runlevel(s) (empty) of script `ssh' overrides LSB defaults (2 3 4 5).
> insserv: warning: current stop runlevel(s) (2 3 4 5) of script `ssh' overrides LSB defaults (empty).
> Executing /usr/sbin/update-rc.d ssh enable
> Failed to issue method call: No such file or directory
>
> # systemctl disable ssh
> Synchronizing state for ssh with sysvinit using update-rc.d...
> Executing /usr/sbin/update-rc.d ssh defaults
> Executing /usr/sbin/update-rc.d ssh disable
> insserv: warning: current start runlevel(s) (empty) of script `ssh' overrides LSB defaults (2 3 4 5).
> insserv: warning: current stop runlevel(s) (2 3 4 5) of script `ssh' overrides LSB defaults (empty).
> Failed to issue method call: No such file or directory
>
>
> There is always that "Failed to issue method call: No such file or directory" error.
Not on my machine:

root at midna ~ $ systemctl enable ssh
Synchronizing state for ssh with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d ssh enable
root at midna ~ $ systemctl disable ssh
Synchronizing state for ssh with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d ssh disable
insserv: warning: current start runlevel(s) (empty) of script `ssh' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (2 3 4 5) of script `ssh' overrides LSB defaults (empty).
root at midna ~ $ systemctl enable ssh 
Synchronizing state for ssh with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d ssh enable

Can you run strace -f -o /tmp/strace.log -s 2048 systemctl enable ssh
and provide /tmp/strace.log? Also, please run strace -f -o
/tmp/strace-systemd.log -s 2048 -p 1 before that and provide that file
as well.

Thanks.

-- 
Best regards,
Michael




More information about the Pkg-systemd-maintainers mailing list