Re: Processes not exiting
On Fri, Jun 22, 2001 at 02:30:45PM +0200, Russell Coker wrote:
> I have just tried to upgrade the pppd on a client's machine. It is
> running kernel 2.2.19 with the latest libc6 etc from unstable.
>
> pppd version 2.3.7 works fine, pppd 2.4.1 works fine as far as
> actually working goes, but when the connection ends it will hang and
> not fully exit. It remains in a state where it is detached from the
> terminal, but still running so init won't launch another copy. When
> the pppd is in such a state I send it a signal 1 and it then proceeds
> to exit normally.
did you end up finding out what caused this? or find a real fix?
i've had the same problem on one of my boxes since an upgrade to the
latest unstable last Tuesday. (kernel 2.4.5xfs, pppd 2.4.1-2, libc6
2.2.3-6)
i ended up working around it with the following script:
/etc/ppp/ip-down.d/99-killpppd
#! /bin/sh
#
# bugfix for hanging pppd
echo $(date) slaying pppd on $PPP_TTYNAME >>/var/log/ppp.slay
ps h -t $PPP_TTYNAME -o pid | xargs -r kill -1
craig
--
craig sanders <cas@taz.net.au>
Fabricati Diem, PVNC.
-- motto of the Ankh-Morpork City Watch
Reply to: