Bug 40585 - when ppp-watch receives a sigint during sleep it calls ifup-ppp right before it exits
Summary: when ppp-watch receives a sigint during sleep it calls ifup-ppp right before ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-14 20:56 UTC by Alex Kanavin
Modified: 2014-03-17 02:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-05-14 20:58:00 UTC
Embargoed:


Attachments (Terms of Use)
patch to make ppp-watch not call ifup-ppp if it has received a sigint (402 bytes, patch)
2001-05-14 20:57 UTC, Alex Kanavin
no flags Details | Diff

Description Alex Kanavin 2001-05-14 20:56:41 UTC
Before ppp-watch calls ifup-ppp, it checks what signals have arrived during
sleep. The sigint is not in this list, though ppp-watch can receive it from
parent ppp-watch attached to the terminal, if we press ctrl-c for example.
Therefore ifup-ppp is called when it shouldn't (right before exit).

A very simple patch fixes this.

Comment 1 Alex Kanavin 2001-05-14 20:57:56 UTC
Created attachment 18330 [details]
patch to make ppp-watch not call ifup-ppp if it has received a sigint

Comment 2 Bill Nottingham 2001-05-17 19:53:38 UTC
Thanks, will be in 5.88-1.


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