There is a possible solution to fix hang boot, but I don't know what is
the origin. In my case, I checked ls -lai /tmp and cost about 2 min to
display the file tree. Previously, I checked ls -lai / and /tmp/. was a
huge size (about 4G).

My solution, remove totally /tmp and create new one. However, the
automatic create of /tmp at boot doesn't work, it's better create
manually:

$ sudo su -
$ rm -rf /tmp
$ mkdir /tmp
$ chmod 777 /tmp
$ chmod +t /tmp
$ reboot

Then, the next boot time with all processes active (sh, apparmor, mysql,
etc) was 17 secs löl

It's possible that some update creates a huge file in /tmp and all sh
processes from rcS.d want to clean the directory using find and xargs.
Obviously, this is a ugly solution that doesn't remove the issue.

Regards!

-- 
"Activating swapfile swap" takes a very long time during boot
https://bugs.launchpad.net/bugs/369291
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to