From owner-freebsd-current Sat May 30 13:31:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA28800 for freebsd-current-outgoing; Sat, 30 May 1998 13:31:10 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from alushta.NL.net (alushta.NL.net [193.78.240.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA28794 for ; Sat, 30 May 1998 13:31:08 -0700 (PDT) (envelope-from benst@terminus.stuyts.nl) Received: from stuyts by alushta.NL.net with UUCP id <6690-8368>; Sat, 30 May 1998 22:30:49 +0200 Received: from daneel.stuyts.nl (daneel.stuyts.nl [193.78.231.7]) by terminus.stuyts.nl (8.8.8/8.8.8) with ESMTP id WAA01418; Sat, 30 May 1998 22:27:06 +0200 (MET DST) (envelope-from benst) Received: (from benst@localhost) by daneel.stuyts.nl (8.8.5/8.8.5) id WAA09104; Sat, 30 May 1998 22:27:01 +0200 (MET DST) Message-Id: <199805302027.WAA09104@daneel.stuyts.nl> Content-Type: text/plain MIME-Version: 1.0 (NeXT Mail 3.3 v118.2) X-Nextstep-Mailer: Mail 3.3 (Enhance 1.2) Received: by NeXT.Mailer (1.118.2) From: Ben Stuyts Date: Sat, 30 May 98 22:26:59 +0200 To: current@FreeBSD.ORG, brian@awfulhak.org Subject: ppp -background sets wrong pid in /var/run/tun0.pid Reply-To: ben@stuyts.nl Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have just done a make world of -current, and I noticed the following problem with the new ppp: [terminus.stuyts.nl var/run]16: ppp -background nlnet Working in background mode Using interface: tun0 PPP enabled. [terminus.stuyts.nl var/run]17: ps -aguxww | grep ppp benst 1389 0.0 1.5 1276 956 ?? Ss 10:24PM 0:00.05 ppp -background nlnet [terminus.stuyts.nl var/run]18: cat /var/run/tun0.pid 1388 It seems the value in tun0.pid is one off. This is quite a problem in scripts such as: /usr/sbin/ppp -background nlnet > /dev/console 2>&1 ... /bin/kill -TERM `cat /var/run/tun0.pid` > /dev/console Any ideas? Best regards, Ben To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message