[Pkg-xfce-devel] Bug#636054: Bug#636054: The lightdm service can't be handled by the "service" utility

Yves-Alexis Perez corsac at debian.org
Mon Aug 1 08:51:16 UTC 2011

On sam., 2011-07-30 at 12:14 -0300, Fernando Tarlá Cardoso Lemos wrote:
> I think the problem is that the lightdm package installs an upstart
> init
> script. /usr/sbin/service thinks upstart is available and fails to
> start
> lightdm:
> fernando at munchkin:~$ sudo service openntpd restart
> Restarting openntpd: ntpd.
> fernando at munchkin:~$ sudo service lightdm restart
> exec: 129: restart: not found
> fernando at munchkin:~$ 
> I guess this bug could also have been filed against sysvinit-utils,
> but
> on the other hand, I'm not sure we're supposed to be shipping upstart
> init files yet. The "service" utility has no problem whatsoever with
> packages that ship systemd init files (and it works with systemd), but
> seems to choke on upstart init files. 

I've taken the time to look a bit more at this and I'm wondering. Why do
you think this has anything to do with /etc/init/lightdm?

'service' seems to try to execute 'restart' instead of calling the right
script with argument, but that looks completely unrelated to upstart

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20110801/89874a48/attachment.pgp>

More information about the Pkg-xfce-devel mailing list