[Bug 1829726] Re: resume after hibernation fails because resume script is never executed

Benjamin Drung 1829726 at bugs.launchpad.net
Fri Oct 4 11:14:40 UTC 2024


Thank you for taking the time to report this bug and helping to make
Ubuntu better. The Ubuntu version this bug was reported against reached
end-of-life. We appreciate that this bug may be old and you might not be
interested in discussing it anymore. But if you are then please upgrade
to the latest Ubuntu version and re-test. If you then find the bug is
still present in the newer Ubuntu version, please add a comment here
telling us which new version it is in.

** Changed in: initramfs-tools (Ubuntu)
       Status: New => 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/1829726

Title:
  resume after hibernation fails because resume script is never executed

Status in initramfs-tools package in Ubuntu:
  Incomplete

Bug description:
  In recent versions of initramfs-tools-core, the hibernation resume
  script (/usr/share/initramfs-tools/scripts/local-premount/resume) is
  no longer +x, so it's silently skipped during boot, causing resume
  after hibernation to fail.

  I'm not sure when this change was introduced.  All I can see is that
  it worked fine on 18.04, but that it's broken in current 19.10-dev.

  ╰─▶ ls -la /usr/share/initramfs-tools/scripts/local-premount/resume
  -rw-r--r-- 1 root root 1,5K apr 29 09:24 /usr/share/initramfs-tools/scripts/local-premount/resume

  Unpacking the initramfs confirms this:

  ╰─▶ unmkinitramfs /boot/initrd.img-5.0.0-13-generic initramfs

  ╰─▶ ls -la initramfs/main/scripts/local-premount/
  total 32K
  drwxr-xr-x  2 bas bas 4,0K mei 20 10:49 ./
  drwxr-xr-x 10 bas bas 4,0K mei 20 10:49 ../
  -rw-r--r--  1 bas bas  246 mei 20 10:29 ORDER
  -rwxr-xr-x  1 bas bas  270 mrt 12 04:53 btrfs*
  -rwxr-xr-x  1 bas bas 4,1K apr 29 09:24 fixrtc*
  -rwxr-xr-x  1 bas bas  226 mei  3 07:49 ntfs_3g*
  -rw-r--r--  1 bas bas 1,5K apr 29 09:24 resume

  ╰─▶ cat initramfs/main/scripts/local-premount/ORDER    
  /scripts/local-premount/btrfs "$@"
  [ -e /conf/param.conf ] && . /conf/param.conf
  /scripts/local-premount/fixrtc "$@"
  [ -e /conf/param.conf ] && . /conf/param.conf
  /scripts/local-premount/ntfs_3g "$@"
  [ -e /conf/param.conf ] && . /conf/param.conf

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




More information about the foundations-bugs mailing list