** Description changed: Binary package hint: pm-utils pm-utils does not detect the presence of uswsusp (it looks for s2disk in /usr/sbin instead of /sbin), resulting in Suspend and Hibernate using pm-utils's default method. For some users (those whose systems cannot suspend/hibernate without uswsusp), this means that Suspend/Hibernate is completely broken for them. For other users, uswsusp just isn't used, which leads to a longer hibernate/resume time. In the development branch, pm-utils had been upgraded to 1.1.2.4-1ubuntu1, i.e. new release. The relevant patches that had errors with them, i.e. 10-uswsusp-support.patch and 30-comment-defaults- file.patch were obsoleted in 1.1.0-1. A debdiff fixing the patches mentioned above, and the corresponding build log has been attached, see comments 2 and 4. TEST CASE: Install uswsusp, then hibernate the system. Upon resuming, run the command "dmesg | grep swsusp". That should tell whether or not uswsusp was used when hibernating, i.e. no output means uswsusp wasn't used. - Regression potential: none apparent, unless the s2disk binary gets - relocated. + Regression potential: since the pm-utils bug prevented uswsusp from + receiving widespread testing, it's possible that bugs in uswsusp will + cause suspend failures now for users who have it installed where no such + failures occurred before. Current workaround: Modify /usr/lib/pm-utils/defaults in the pm-utils package to add the proper path where Ubuntu installs uswsusp's utilities: # where is the s2disk binary located? Defaults to "/usr/sbin/s2disk" # (do not change unless you kow what you are doing) # # Set the path so the script autodetects s2disk in the location # Ubuntu's uswsusp package installs it. S2DISK_BIN="/sbin/s2disk" -Until the repositories fix this, the workaround is to copy /usr/lib/pm- utils/defaults to /etc/pm/config.d/config and make the change above in /etc/pm/config.d/config
-- pm-utils doesn't detect uswsusp in hardy https://bugs.launchpad.net/bugs/246053 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs