Debian bug report logs - #1783
pppd puts wrong PID in LCK..ttySxx file

Package: ppp; Reported by: Kenny Wickstrom <kenny@kennet.com>.

Message received at debian-bugs:


From wwa.com!kennet.com!kenny Mon Oct 30 22:26:37 1995
Return-Path: <kennet.com!kenny@wwa.com>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0tAA9d-0005NmC; Mon, 30 Oct 95 22:26 PST
Received: from sashimi.wwa.com by pixar.com with SMTP id AA21920
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 30 Oct 1995 22:26:05 -0800
Received: by sashimi.wwa.com (Smail3.1.29.1 #6)
	id m0tAA9M-001VyVC; Tue, 31 Oct 95 00:26 CST
Received: by silverado.kennet.com
	id <m0tAA0q-0007X4C@kennet.com>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Tue, 31 Oct 95 00:17 CST
Date: Tue, 31 Oct 1995 00:17:32 -0600 (CST)
From: Kenny Wickstrom <kenny@kennet.com>
To: debian-bugs@pixar.com
Subject: pppd puts wrong PID in LCK..ttySxx file
Message-Id: <Pine.LNX.3.91.951031001001.25832A-100000@silverado.kennet.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


Package: ppp
Version: 2.2
Revision: 1

It appears like when I start ppp to my ISP, that the PID placed in 
/var/lock/LCK..ttyS20 (on my system) is not the same as the PID in 
/var/run/ppp0.pid.

The result of this is that if another program, like UUCP, would like to 
use this port, it appears like the lock file is stale since the PID 
listed within the file no longer exists.

Below are examples of what I am talking about taken during 1 ppp session.

silverado 81# ps ax | grep pppd
25852 s20 S     0:00 /usr/sbin/pppd /dev/ttyS20 38400 connect 
/usr/etc/chat -v "
25865 pp1 S     0:00 grep pppd

silverado 82# more /var/run/ppp0.pid 
25852

silverado 83# more /var/lock/LCK..ttyS20
     25867

If I need to provide any more info, please let me know.

-----------------------------------------------------------------------
Kenny Wickstrom           | gnu - a new generation in s/w devel/support
kenny@kennet.com          | Linux - a much improved Un*x clone
(708)740-4008             | Debian - a Linux distribution setting the
#include <std-disclaimer> |    standard for future distributions


Acknowledgement sent to Kenny Wickstrom <kenny@kennet.com>:
New bug report received and forwarded. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#1783; Package ppp. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov