[Bug 1316991] Re: Shutdown hangs waiting for plymouth-shutdown

Dimitri John Ledkov launchpad at surgut.co.uk
Thu May 8 17:12:58 UTC 2014


On 8 May 2014 17:46, Steve Langasek <steve.langasek at canonical.com> wrote:
> Dimitri, please have a look at this bug.  I can't figure out what the
> current plymouth-shutdown job is supposed to do; it has a start
> condition of:
>
> start on (runlevel [016]
>          and (stopped xdm
>               or stopped uxlaunch))
>
> And I have neither xdm or uxlaunch on my system, so I don't know how
> this job ever starts at all on an Ubuntu desktop... and on a desktop
> that does have xdm, it seems that it triggers and blocks the shutdown.
>

On normal desktops plymouth-shutdown is started by rc.conf job, before
emitting runlevels 0, 1 or 6.
Which in-turn should stop lightdm (if present) and bring up plymouthd
in shutdown mode.

What is confusing however in the ps outputs attached is that in all
three process outputs:
 - plymouthd in boot mode is still running
 - /bin/plymouth quit has not completed

I'll experiment with such a minimal setup in a VM.

-- 
Regards,

Dimitri.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to plymouth in Ubuntu.
https://bugs.launchpad.net/bugs/1316991

Title:
  Shutdown hangs waiting for plymouth-shutdown

Status in “plymouth” package in Ubuntu:
  New

Bug description:
  This issue occurs with Ubuntu Trusty and xdm installed. The system
  reacts on [Ctrl]-[Alt]-[Del], which triggers

  exec shutdown -h now "Control-Alt-Delete pressed"

  without any additional checks via /etc/init/control-alt-delete.conf.
  An open SSH connection will then also report the "system is going down
  for halt NOW!" message, so shutdown initialization works as expected.
  After that, the system stays in that state forever

  Procedure:
  * Boot ubuntu-minimal with X/xdm installed
  * Terminate xdm before logging in using [Ctrl]-R
  * Send [Ctrl]-[Alt]-[Del]
  * Wait ...

  I've tried the reboot with both plymouth-disabler missing/installed,
  but result is the same.

  See the list of running processes during shutdown, It looks like some
  deadlock waiting for events.

  I failed to verify if the problem is specific to having xdm installed,
  the upstart package or some other component, so the
  bug/misconfiguration might be in some other package.

  
  $ lsb_release -rd
  Description:    Ubuntu 14.04 LTS
  Release:        14.04

  $ apt-cache policy  plymouth
  plymouth:
    Installed: 0.8.8-0ubuntu17
    Candidate: 0.8.8-0ubuntu17
    Version table:
   *** 0.8.8-0ubuntu17 0
          500 http://archive.ubuntu.com/ubuntu/ trusty/main i386 Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1316991/+subscriptions



More information about the foundations-bugs mailing list