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

Colin Ian King 1615641 at bugs.launchpad.net
Thu Sep 14 11:57:41 UTC 2023


We may as well close this issue, I don't have that laptop any more, I
don't work for Canonical any more and the boot speed regressions seem to
have fallen off the CTO's "must do priority radar" otherwise this kind
of regression would have had more engineering time devoted to it.

-- 
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:
  Incomplete

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