[Pkg-xfce-devel] Bug#649454: lightdm: /etc/init/lightdm.conf breaks 'service' command

Bob Proulx bob at proulx.com
Mon Nov 21 00:59:00 UTC 2011


Package: lightdm
Version: 1.0.6-2
Severity: normal

Installing lightdm on a system using sysvinit instead of upstart
breaks use of 'service lightdm restart' and similar use of 'service'
to manage the lightdm daemon.  This is due to the presense of the file
/etc/init/lightdm.conf even though upstart is not present.

  # service lightdm stop
  /usr/sbin/service: 124: exec: stop: not found

  # service lightdm start
  /usr/sbin/service: 124: exec: start: not found

Of course running the script directly works.

  # /etc/init.d/lightdm restart
  Stopping Light Display Manager: lightdm.
  Starting Light Display Manager: lightdm.

I notice that none of the other graphical login display managers such
as xdm, gdm, gdm3, kdm include such a /etc/init/$PACKAGE.conf file.

Bob

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lightdm depends on:
ii  adduser                3.113    
ii  consolekit             0.4.5-1  
ii  dbus                   1.4.16-1 
ii  debconf [debconf-2.0]  1.5.41   
ii  libc6                  2.13-21  
ii  libglib2.0-0           2.30.2-4 
ii  libpam0g               1.1.3-6  
ii  libxcb1                1.7-4    
ii  libxdmcp6              1:1.1.0-4
ii  lightdm-gtk-greeter    1.0.6-2  

Versions of packages lightdm recommends:
ii  xserver-xorg  1:7.6+9

Versions of packages lightdm suggests:
ii  accountsservice  0.6.15-1

-- debconf information:
  lightdm/daemon_name: /usr/sbin/lightdm
* shared/default-x-display-manager: lightdm





More information about the Pkg-xfce-devel mailing list