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

James Tocknell aragilar at gmail.com
Sun Aug 12 05:37:52 UTC 2012


Roger

I've tested the patch, and it doesn't fix the issue I'm having. I'm
using Upstart
as my init daemon, and lightdm still fails, with no useful output in
/var/log/boot. However, lightdm does start when I use sysvinit as the init
daemon, with the patch. Could this be a Upstart issue? I know lightdm has
some association with Ubuntu, and Upstart is Ubuntu's default init daemon,
could the issue be with the very different versions of Upstart in Ubuntu and
Debian? The problem could lie in the fix for the bug #660824, which was a
change between the version of sysvinit-utils that works for me and don't work
for me, as it's Upstart related.

James

On Sun, Aug 12, 2012 at 7:23 AM, Roger Leigh <rleigh at codelibre.net> wrote:
> On Sat, Aug 11, 2012 at 05:26:29PM +0100, Roger Leigh wrote:
>> 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.
>>
>> 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.
>
> Please could you try sysvinit with the patch attached here?  This special
> cases lightdm in startpar, since gdm/kdm/xdm are already special cased
> here.
>
> http://anonscm.debian.org/gitweb/?p=collab-maint/sysvinit;a=commitdiff;h=34ee13ba8d509183b568c70511289f7f7579502b
>
> If you're unable to build yourself, let me know and I'll prepare some
> packages.
>
>
> Thanks,
> 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



-- 
Don't send me files in proprietary formats (.doc(x), .xls, .ppt etc.).
It isn't good enough for Tim Berners-Lee, and it isn't good enough for
me either. For more information visit
http://www.gnu.org/philosophy/no-word-attachments.html.

Truly great madness cannot be achieved without significant intelligence.
 - Henrik Tikkanen

If you're not messing with your sanity, you're not having fun.
 - James Tocknell

In theory, there is no difference between theory and practice; In
practice, there is.



More information about the Pkg-sysvinit-devel mailing list