[Bug 1615641] Re: initramfs waits for 5 seconds when executing /scripts/local-premount/resume

Launchpad Bug Tracker 1615641 at bugs.launchpad.net
Wed Dec 7 07:40:26 UTC 2016


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: initramfs-tools (Ubuntu)
       Status: New => Confirmed

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

Title:
  initramfs waits for 5 seconds when executing /scripts/local-
  premount/resume

Status in initramfs-tools package in Ubuntu:
  Confirmed

Bug description:
  I've noticed that boots on Ubuntu Yakkety have slowed down recently.
  I added some debug into my kernel to see where delays are occurring
  and I can observe 5 seconds being consumed in  /scripts/local-
  premount/resume :

  Aug 22 14:34:36 lenovo kernel: [    6.823263] _do_fork: 1 (init)
  Aug 22 14:34:36 lenovo kernel: [    6.823333] do_exec: 824 (init) /scripts/local-premount/ntfs_3g
  Aug 22 14:34:36 lenovo kernel: [    6.823766] _do_fork: 1 (init)
  Aug 22 14:34:36 lenovo kernel: [    6.823845] do_exec: 825 (init) /scripts/local-premount/resume
  Aug 22 14:34:36 lenovo kernel: [    6.824214] _do_fork: 825 (resume)
  Aug 22 14:34:36 lenovo kernel: [    6.824322] do_exec: 826 (resume) /sbin/wait-for-root
  Aug 22 14:34:36 lenovo kernel: [   11.825642] _do_fork: 1 (init)
  Aug 22 14:34:36 lenovo kernel: [   11.825800] do_exec: 827 (init) /sbin/wait-for-root
  Aug 22 14:34:36 lenovo kernel: [   11.826691] _do_fork: 1 (init)

  It seems that /scripts/local-premount/resume is being called and wait-
  for-root times out after 5 seconds. The resume script does set a 5
  second timeout, so I must be hitting that for some reason.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1615641/+subscriptions



More information about the foundations-bugs mailing list