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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2112449

Title:
  apport.service does not check for incomplete suspend/resume or
  hibernate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2112449/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to