[Pkg-sysvinit-devel] Bug#679409: lightdm: Fails to start on boot, invoke-rc.d lightdm start fails

Roger Leigh rleigh at codelibre.net
Sat Aug 11 16:26:30 UTC 2012


On Wed, Jul 11, 2012 at 02:06:52PM +1000, James Tocknell wrote:
> On Mon, Jul 2, 2012 at 6:04 PM, Yves-Alexis Perez <corsac at debian.org> wrote:
> > On lun., 2012-07-02 at 10:02 +0200, Petter Reinholdtsen wrote:
> >> [Yves-Alexis Perez]
> >> > James, in any case, I think providing /etc/init.d/.depend.* might
> >> > help solving this.
> >>
> >> Actually, it is better to provide the output from
> >> /usr/share/insserv/make-testsuite, which allow the boot sequence to be
> >> reproduced using dummy init.d scripts.
> >>
> >> > Please keep me on CC: so I'm informed of the development. It might
> >> > be interesting to provide /var/log/lightdm.log and
> >> > /var/log/lightdm-gtk-greeeter.log, although the fact it works with
> >> > startx might means it won't show anything.
> >>
> >> To debug this, try to disable concurrent booting (and keep dependency
> >> based boot sequencing), and see if it work better.  Also, it would be
> >> useful to get the boot log (/var/log/boot.log) after enabling
> >> bootlogd.

lightdm uses the following dependencies:

# Should-Start:      console-screen kbd acpid dbus hal consolekit
# Required-Start:    $local_fs $remote_fs x11-common
# Required-Stop:     $local_fs $remote_fs

gdm uses:

# Should-Start:      console-screen dbus network-manager
# Required-Start:    $local_fs $remote_fs
# Required-Stop:     $local_fs $remote_fs

kdm uses:

# Required-Start:    $local_fs $remote_fs
# Required-Stop:     $local_fs $remote_fs
# Should-Start:      console-screen kbd acpid dbus hal krb5-kdc
# Should-Stop:       console-screen kbd


While sysvinit has changed quite a few things since the last
version which worked with lightdm, there's very little there to
indicate anything which would affect lightdm.  It's most likely
that there's something wrong with the lightdm dependencies above.
Please do see if there's something missing, or "should" rather
than "required".

Is the x11-common dependency needed? --why do gdm and kdm omit this?
Are there any lightdm dependencies missing?

I've installed lightdm on my system, and I do see the occasional
failure to start.  This would indicate some race in parallelisation
which would be indicative of a missing dependency.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800



More information about the Pkg-sysvinit-devel mailing list