Bug 88742 - resume bugs in apmcontinue script
Summary: resume bugs in apmcontinue script
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: apmd
Version: 9
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Jay Turner
Depends On:
TreeView+ depends on / blocked
Reported: 2003-04-12 21:27 UTC by rmhristev
Modified: 2015-01-08 00:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-02-02 22:51:31 UTC

Attachments (Terms of Use)

Description rmhristev 2003-04-12 21:27:36 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Description of problem:
There are 2 longstanding bugs in the apmcontinue script:
1. ${RESUMEPID}: it should chech that the process actually _do_ exist
   and is not a leftover.
2. I think that /var/lock/subsys/resume should be really overwritten
    appended to. (normally there should be no several resume processes
    running in parallel)

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
If the previous suspend/resume cycle did not completed correctly
then it may happen.

Actual Results:  The resume process hangs in a "waiting" state for a process
which no longer exists, filling /var/log/messages with useless messages every
10s (sleep)

Expected Results:  The resume process should finish properly.

Additional info:

I have a very simple patch for anybody interested.

Comment 1 Bill Nottingham 2003-05-19 20:15:53 UTC
Sure, send it along.

Comment 2 Bill Nottingham 2005-02-02 22:51:31 UTC
Closing out bugs on older unsupported releases. Apologies for any lack
of response. Please reopen if it persists on current releases such as
Fedora Core 3.

(Patch was not attached.)

Note You need to log in before you can comment on or make changes to this bug.