GDM init script has weird line (breaks it for me)

Bug #23828 reported by Jerome Haltom
10
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

stop)
        log_begin_msg "Stopping GNOME Display Manager..."
        start-stop-daemon --stop --quiet --pidfile $PIDFILE --name gdm $SSD_ARG
--retry 30 >/dev/null 2>&1 || \
                log_success_msg "GNOME Display Manager not running"
        log_end_msg 0

Notice that $SSD_ARG is being used there. It actually seems to break my GDM from
being able to stop on one of my systems. Not sure why but it does. Don't think
it's neccassary anyway.

Revision history for this message
Matt Zimmerman (mdz) wrote :

(In reply to comment #0)
> stop)
> log_begin_msg "Stopping GNOME Display Manager..."
> start-stop-daemon --stop --quiet --pidfile $PIDFILE --name gdm $SSD_ARG
> --retry 30 >/dev/null 2>&1 || \
> log_success_msg "GNOME Display Manager not running"
> log_end_msg 0
>
>
> Notice that $SSD_ARG is being used there. It actually seems to break my GDM from
> being able to stop on one of my systems. Not sure why but it does. Don't think
> it's neccassary anyway.

Can you explain what the problem is? The presence of $SSD_ARG on that line is
intentional and not a bug.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Your bug lacks information we would need to investigate further. We
are now going to close the bug - please reopen if you have more
information at hand.

Changed in gdm:
assignee: seb128 → desktop-bugs
status: Needs Info → Rejected
Revision history for this message
Paul Smith (psmith-gnu) wrote :

I can reproduce this, but ONLY during installation from the LiveCD. Also, my testing was with Ubuntu 6.06.1 LTS ISO image.

What happened: I write the above ISO to CD and tried to boot with it. The detected video driver ("ati") does not work on my system for whatever reason, so X failed to start and I eventually got a console prompt. I used "ps" and determined that GDM was still running. I ran sudo /etc/init.d/gdm stop, then used ps again and determined GDM was STILL running. No matter how many times I ran it, GDM was never stopped. If I used kill on it, it stopped immediately.

I ran sudo /bin/sh -x /etc/init.d/gdm stop and discovered that start-stop-daemon was being invoked with the --exec flag (that is, SSD_ARG was set to "--exec /usr/sbin/gdm"). This did not seem to work. If I ran start-stop-daemon by hand, using the same command line but leaving out the --exec, it worked fine and GDM was stopped.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.