[Bug 983805] Re: Resume boot script fix makes /bin/resume unnecessary (kernel's internal swsusp)

Benjamin Drung 983805 at bugs.launchpad.net
Fri Jul 12 10:17:11 UTC 2024


Thank you for taking the time to report this bug and helping to make
Ubuntu better. There has been done some work related to resume (see bug
#1769297). The current resume script writes to /sys/power/resume and
does not use /bin/resume. So I assume that your changes are included in
some way or another. Feel free to continue to report any other bugs you
may find.

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

-- 
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/983805

Title:
  Resume boot script fix makes /bin/resume unnecessary (kernel's
  internal swsusp)

Status in initramfs-tools package in Ubuntu:
  Fix Released

Bug description:
  This patch to scripts/local-premount/resume makes the C program
  /bin/resume unnecessary (from klibc-utils, source resumelib.c).

  The source shows that C program /bin/resume is simply echoing
  major:minor[:offset] onto /sys/power/resume, which is exactly
  what is done in this patch, but using shell commands.

  This patch is against initramfs-tools_0.99ubuntu12, but
  the file scripts/local-premount/resume has stayed the
  same for quite a while (at least since maverick).

  I will also post the full script file.
  .

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




More information about the foundations-bugs mailing list