[Bug 2112449] [NEW] apport.service does not check for incomplete suspend/resume or hibernate
Benjamin Drung
2112449 at bugs.launchpad.net
Wed Jun 4 09:24:46 UTC 2025
Public bug reported:
/etc/init.d/apport has more code than the equivalent apport.service
system service. For example:
```
# check for incomplete suspend/resume or hibernate
if [ -e /var/lib/pm-utils/status ]; then
/usr/share/apport/apportcheckresume || true
rm -f /var/lib/pm-utils/status
rm -f /var/lib/pm-utils/resume-hang.log
fi
```
```
# Check for a hung resume. If we find one try and grab everything
# we can to aid in its discovery.
if [ -e /var/lib/pm-utils/status ]; then
ps -wwef >/var/lib/pm-utils/resume-hang.log
fi
```
This code needs to be ported.
** Affects: apport (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2112449
Title:
apport.service does not check for incomplete suspend/resume or
hibernate
Status in apport package in Ubuntu:
New
Bug description:
/etc/init.d/apport has more code than the equivalent apport.service
system service. For example:
```
# check for incomplete suspend/resume or hibernate
if [ -e /var/lib/pm-utils/status ]; then
/usr/share/apport/apportcheckresume || true
rm -f /var/lib/pm-utils/status
rm -f /var/lib/pm-utils/resume-hang.log
fi
```
```
# Check for a hung resume. If we find one try and grab everything
# we can to aid in its discovery.
if [ -e /var/lib/pm-utils/status ]; then
ps -wwef >/var/lib/pm-utils/resume-hang.log
fi
```
This code needs to be ported.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2112449/+subscriptions
More information about the foundations-bugs
mailing list