Bug 59447 - APM resume brings up ppp0
Summary: APM resume brings up ppp0
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: apmd
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-02-08 03:18 UTC by rudi
Modified: 2007-04-18 16:40 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-02-26 17:00:34 UTC
Embargoed:


Attachments (Terms of Use)

Description rudi 2002-02-08 03:18:10 UTC
Description of Problem:
apmscript tries to bring up ppp0 after a APM suspend/resume even if the
interface was not active before the suspend. In my case ppp0 initialisation
fails as I am not using a modem, but pppd still gets fictious IPs and, worse of
all, messes with the default route. I'd expect something similar to happen with
other configured but inactive interfaces.

Version-Release number of selected component (if applicable):
Verified with 3.0.2-5

How Reproducible:
Always

Steps to Reproduce:
1. Suspend the computer with ppp0 down
2. Resume
3. 

Actual Results:
ppp0 gets started

Expected Results:
ppp0 remains down

Additional Information:
This appears to be due to apmscript inspecting the output of 'service network
status'. It looks for the names in the line after the string "Configured
devices:", while I guess it should be looking for the names after "Currently
active devices:" instead.

I hope this helps.

Comment 1 Bernhard Rosenkraenzer 2002-02-26 17:00:29 UTC
Is ONBOOT=yes for your ppp0?

Comment 2 Bernhard Rosenkraenzer 2002-02-26 17:03:43 UTC
Found the problem - "service network status" output has changed since we started using it. 
Fixed in 3.0.2-7


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