From owner-freebsd-bugs Tue Nov 14 15:19:11 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA24394 for bugs-outgoing; Tue, 14 Nov 1995 15:19:11 -0800 Received: from gate.ti.com (news.ti.com [192.94.94.33]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA24365 for ; Tue, 14 Nov 1995 15:18:48 -0800 Received: from tilde.csc.ti.com ([128.247.160.56]) by gate.ti.com (8.6.12/) with ESMTP id RAA28192 for ; Tue, 14 Nov 1995 17:18:13 -0600 Received: from Islington-Terrace (islington-terrace.hc.ti.com [192.94.82.15]) by tilde.csc.ti.com (8.7.1/8.7.1) with SMTP id RAA05615 for ; Tue, 14 Nov 1995 17:17:42 -0600 (CST) Message-Id: <3025379862-11020495@Islington-Terrace> Date: Tue, 14 Nov 95 17:17:42 CST Moon: Full From: Paul Fuqua To: bugs@freebsd.org Subject: Can (!) Install 2.1.0-951026-SNAP on T4600 Sender: owner-bugs@freebsd.org Precedence: bulk This is mostly a success report, with a couple of minor glitches. I successfully installed the 951026-SNAP on my Toshiba T4600 laptop, using a single / partition (ie, no /usr), and NFS over PPP. Wow, that was smooth. Answer some configuration questions, get the PPP connection up, go away for a few hours (38400 bps connection), and return to a fully installed system. Very nice, notably easier than the 950210-SNAP I installed last time. Two minor glitches: although I went through the network configuration dialog and entered my laptop's name and address, they were not communicated to iijppp or /etc/hosts. PPP still thought the local address was 0.0.0.0, so the remote host had to specify both addresses when making the connection, and /etc/hosts ended up with no entries but localhost. One actual bug: the following patch showed up on comp.protocols.ppp a while back but apparently never found its way to the FreeBSD newsgroups. The particular bug causes, for example, ntpdate to hang if run from /etc/ppp/ip-up (when using kernel PPP and pppd). The bug is still present in 951026-SNAP, and the source is unpatched in 951104-SNAP. If I apply the patch to the 951104-SNAP source and run it on my 951026-SNAP installation, ntpdate from /etc/ppp/ip-up works. Date: Sun, 30 Oct 1994 21:01:34 +0000 From: Bill Hay Subject: sleep hangs The patch below fixes a bug in pppd which prevented a sleep command in the ip-up script from ever waking up. Hopefully it doesn't introduce too many new bugs in the process :-) diff -r -u --new-file ppp-2.1.2b/pppd/main.c ppp-2.1.2b.fixed/pppd/main.c --- ppp-2.1.2b/pppd/main.c Wed Oct 12 04:14:26 1994 +++ ppp-2.1.2b.fixed/pppd/main.c Sun Oct 30 20:10:02 1994 @@ -1255,6 +1255,7 @@ char **args; int must_exist; { + sigset_t alarm; int pid; pid = fork(); @@ -1263,6 +1264,9 @@ return -1; } if (pid == 0) { + sigemptyset(&alarm); + sigaddset(&alarm,SIGALRM); + sigprocmask(SIG_UNBLOCK,&alarm, NULL); execv(prog, args); if (must_exist || errno != ENOENT) syslog(LOG_WARNING, "can't execute %s: %m", prog);