[Bug 1615641] Re: initramfs waits for 5 seconds when executing /scripts/local-premount/resume
Benjamin Drung
1615641 at bugs.launchpad.net
Thu Sep 14 11:41:34 UTC 2023
Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running only once:
apport-collect 1615641
and any other logs that are relevant for this particular issue.
** Changed in: initramfs-tools (Ubuntu)
Status: Confirmed => Incomplete
--
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