Comment 4 for bug 1019347

Revision history for this message
tuhu (tuhubage) wrote :

Hi, I was browsing on the net and found this link: http://ubuntuforums.org/showthread.php?t=2008576 . I think my problem is related to the "freezing plymouthd" that does not get killed on rebooting or shutting down.

As instructed in the link, I put a bash script which content was:

 #! /bin/sh

ps -Af >> process.log

in /etc/rc6.d before the "S60umountroot" script file. I opened the "process.log" file in root directory and find this:

root 2842 2 0 18:27 ? 00:00:00 [kworker/0:3]
root 2854 1 1 18:27 ? 00:00:00 /sbin/plymouthd --mode=shutdown
root 2890 2 0 18:27 ? 00:00:00 [kworker/u:0]

I did the first solution on the link. What I did was:
1. I renamed the file of "S60umountroot" that is in /etc/rc6.d and /etc/rc0.d to "S61umountroot".
2. Created a file named "S60perso-script" and set it to be executable in /etc/rc6.d and /etc/rc0.d .

The content of the "S60perso-script" was as follows:

#! /bin/sh
### BEGIN INIT INFO
# Provides:
# Required-Start:
# Required-Stop:
# Should-Stop:
# Default-Start:
# Default-Stop: 0 6
# Short-Description: Kill freezing plymouthd
### END INIT INFO

PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

case "$1" in
  start)

    killall -9 plymouthd

    ;;
  restart|reload|force-reload)

    ;;
  stop)

    killall -9 plymouthd

    ;;
  *)

    ;;
esac

:

{Source: http://ubuntuforums.org/showthread.php?t=2008576 }

That's it! And, the "mount:/ busy message" does not appear again on shutting down or rebooting. And I think the problem was not in upstart.