From owner-cvs-usrsbin Sun May 21 03:52:16 1995 Return-Path: cvs-usrsbin-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id DAA17952 for cvs-usrsbin-outgoing; Sun, 21 May 1995 03:52:16 -0700 Received: (from jkh@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id DAA17936 ; Sun, 21 May 1995 03:52:07 -0700 Date: Sun, 21 May 1995 03:52:07 -0700 From: "Jordan K. Hubbard" Message-Id: <199505211052.DAA17936@freefall.cdrom.com> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ppp ppp.8 Sender: cvs-usrsbin-owner@freebsd.org Precedence: bulk jkh 95/05/21 03:52:06 Modified: usr.sbin/ppp ppp.8 Log: Change device name from cua01 to cuaa0. I'm going to use this doc in the installation, so it was necessary. From owner-cvs-usrsbin Sun May 21 10:32:38 1995 Return-Path: cvs-usrsbin-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA23900 for cvs-usrsbin-outgoing; Sun, 21 May 1995 10:32:38 -0700 Received: (from jkh@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA23890 ; Sun, 21 May 1995 10:32:36 -0700 Date: Sun, 21 May 1995 10:32:36 -0700 From: "Jordan K. Hubbard" Message-Id: <199505211732.KAA23890@freefall.cdrom.com> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ppp ppp.8 Sender: cvs-usrsbin-owner@freebsd.org Precedence: bulk jkh 95/05/21 10:32:36 Modified: usr.sbin/ppp ppp.8 Log: Do my best to translate this into english.. :-) Some parts were so incomprehensible that I had to excise them entirely, but I did my best with the material provided. From owner-cvs-usrsbin Tue May 23 18:56:57 1995 Return-Path: cvs-usrsbin-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA24788 for cvs-usrsbin-outgoing; Tue, 23 May 1995 18:56:57 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA24778 ; Tue, 23 May 1995 18:56:53 -0700 Date: Tue, 23 May 1995 18:56:53 -0700 From: David Greenman Message-Id: <199505240156.SAA24778@freefall.cdrom.com> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pppd options.c Sender: cvs-usrsbin-owner@freebsd.org Precedence: bulk davidg 95/05/23 18:56:53 Modified: usr.sbin/pppd options.c Log: Add missing arg to fprintf() error message. Submitted by: Mike Grupenhoff From owner-cvs-usrsbin Tue May 23 22:51:34 1995 Return-Path: cvs-usrsbin-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA29865 for cvs-usrsbin-outgoing; Tue, 23 May 1995 22:51:34 -0700 Received: (from jkh@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA29855 ; Tue, 23 May 1995 22:51:31 -0700 Date: Tue, 23 May 1995 22:51:31 -0700 From: "Jordan K. Hubbard" Message-Id: <199505240551.WAA29855@freefall.cdrom.com> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ppp ppp.8 Sender: cvs-usrsbin-owner@freebsd.org Precedence: bulk jkh 95/05/23 22:51:31 Modified: usr.sbin/ppp ppp.8 Log: A few more typos fixed and some general cleanup done. From owner-cvs-usrsbin Tue May 23 23:20:16 1995 Return-Path: cvs-usrsbin-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id XAA00913 for cvs-usrsbin-outgoing; Tue, 23 May 1995 23:20:16 -0700 Received: (from jkh@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id XAA00903 ; Tue, 23 May 1995 23:20:10 -0700 Date: Tue, 23 May 1995 23:20:10 -0700 From: "Jordan K. Hubbard" Message-Id: <199505240620.XAA00903@freefall.cdrom.com> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pkg_manage pkg_main.c pkg_ui.c Sender: cvs-usrsbin-owner@freebsd.org Precedence: bulk jkh 95/05/23 23:20:09 Modified: usr.sbin/pkg_manage pkg_main.c pkg_ui.c Log: Allow pkg_manage to take a directory argument; I need this for the CDROM. From owner-cvs-usrsbin Thu May 25 22:28:13 1995 Return-Path: cvs-usrsbin-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA13582 for cvs-usrsbin-outgoing; Thu, 25 May 1995 22:28:13 -0700 Received: (from wpaul@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA13563 ; Thu, 25 May 1995 22:28:03 -0700 Date: Thu, 25 May 1995 22:28:03 -0700 From: Bill Paul Message-Id: <199505260528.WAA13563@freefall.cdrom.com> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ypbind ypbind.c Sender: cvs-usrsbin-owner@freebsd.org Precedence: bulk wpaul 95/05/25 22:28:02 Modified: usr.sbin/ypbind ypbind.c Log: Reviewed by: rgrimes, jkh and davidg (sort of) Rod, Jordan and David have more or less given me the OK on this with the understanding that it doesn't change any functionality. It doesn't: these are bug fixes only. No other part of the system should be affected. Of course, since I'm the only one working on NIS, you'll just have to take my word on it. :) Fixes for the following annoyingly subtle bugs: - ypbindproc_setdom_2 is supposed to be declared void *, not boot_t *, and it fails to correctly signal failures back to the ypset(8) command: we need to call one of the svcerr_*() functions (in this case, svcerr_noprog() seems a logical choice -- we're really cheating a bit here because nothing else quite fits) to tell ypset that the attempt to set the binding for a domain failed. If we don't do this, failed ypset attempts either appear (incorrectly) to succeed, or they time out. - The lock handling for child processes isn't quite right. The child broadcaster processes have to release all locks on the binding files and the ypbind.lock file. - The parent ypbind process will SEGV if you do the following: -- start ypbind with the -ypset or -ypsetme flag -- type 'ypwhich -d random_unserved_domain' -- type 'ypset -d random_unserved_domain anyhost' -- type 'ypwhich -d random_unserved_domain' again -- wait about 60 seconds What happens is this: the ypwhich command causes ypbind to fork a broadcaster process that searches for a server for random_unserved_domain. If you then use ypset to force a binding while this process is still alive, the state flags that tell the ypbind parent process that the child is running will be cleared. The second ypwhich command then causes a *second* child process to be forked for random_unserved_domain, which is verbotten. When the first broadcaster exits and tells the parent that it wasn't able to find a server for the domain, the parent clobbers the entry for random_unserved_domain. Then the second broadcaster exits and the same thing happens, only trying to clobber the entry twice causes a SEGV. The fix for this is a slight change in program structure: since we can't have more than one broadcaster for a given domain at a time, we save the pipe descriptors and pid for the child broadcaster in members of the _dom_binding struct for the domain. (As a side effect, we can get rid of the global child_fds variable.) So when rpc_received() finds that it's been asked to do a ypset for a domain for which a broadcaster process exists, it sends a SIGINT to the child to kill it and closes the pipe to the now-dead child. This keeps everything in sync and insures that we don't leak file descriptors. - ping() should be using YPPROC_DOMAIN rather than YPPROC_DOMAIN_NONACK when it does its clnt_call() to the server. - Removed the check for client_handle == NULL in ping() and make client_handle local to ping instead of a member of the _dom_binding struct. This fixes another potential ypset problem: using ypset to force a binding to a machine that has an NIS server but which *doesn't* support the domain we're after can result in permanently bogus bindings. - the 'server OK' message prints the wrong IP address. From owner-cvs-usrsbin Fri May 26 01:59:37 1995 Return-Path: cvs-usrsbin-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA20649 for cvs-usrsbin-outgoing; Fri, 26 May 1995 01:59:37 -0700 Received: (from jkh@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA20639 ; Fri, 26 May 1995 01:59:34 -0700 Date: Fri, 26 May 1995 01:59:34 -0700 From: "Jordan K. Hubbard" Message-Id: <199505260859.BAA20639@freefall.cdrom.com> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pkg_manage pkg_ui.c Sender: cvs-usrsbin-owner@freebsd.org Precedence: bulk jkh 95/05/26 01:59:33 Modified: usr.sbin/pkg_manage pkg_ui.c Log: Make the installation menu loop on the provided package directory (if one is provided). From owner-cvs-usrsbin Fri May 26 10:28:09 1995 Return-Path: cvs-usrsbin-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA00930 for cvs-usrsbin-outgoing; Fri, 26 May 1995 10:28:09 -0700 Received: (from jkh@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA00917 ; Fri, 26 May 1995 10:28:02 -0700 Date: Fri, 26 May 1995 10:28:02 -0700 From: "Jordan K. Hubbard" Message-Id: <199505261728.KAA00917@freefall.cdrom.com> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pkg_manage pkg_ui.c Sender: cvs-usrsbin-owner@freebsd.org Precedence: bulk jkh 95/05/26 10:28:02 Modified: usr.sbin/pkg_manage pkg_ui.c Log: Fix the braindamage I somehow inflicted on this file early this morning. From owner-cvs-usrsbin Fri May 26 10:36:00 1995 Return-Path: cvs-usrsbin-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA01141 for cvs-usrsbin-outgoing; Fri, 26 May 1995 10:36:00 -0700 Received: (from jkh@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA01128 ; Fri, 26 May 1995 10:35:56 -0700 Date: Fri, 26 May 1995 10:35:56 -0700 From: "Jordan K. Hubbard" Message-Id: <199505261735.KAA01128@freefall.cdrom.com> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ppp ppp.8 Sender: cvs-usrsbin-owner@freebsd.org Precedence: bulk jkh 95/05/26 10:35:55 Modified: usr.sbin/ppp ppp.8 Log: Some edits suggested by Atsushi. Also remove my name from the bottom; just because I edited it doesn't mean I should stick myself in the authors line, even with the qualification I used. From owner-cvs-usrsbin Sat May 27 13:05:51 1995 Return-Path: cvs-usrsbin-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA01366 for cvs-usrsbin-outgoing; Sat, 27 May 1995 13:05:51 -0700 Received: (from jkh@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA01354 ; Sat, 27 May 1995 13:05:40 -0700 Date: Sat, 27 May 1995 13:05:40 -0700 From: "Jordan K. Hubbard" Message-Id: <199505272005.NAA01354@freefall.cdrom.com> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pkg_manage Makefile pkg_del-inst.hlp pkg_view-inst.hlp Sender: cvs-usrsbin-owner@freebsd.org Precedence: bulk jkh 95/05/27 13:05:39 Modified: usr.sbin/pkg_manage Makefile Removed: usr.sbin/pkg_manage pkg_del-inst.hlp pkg_view-inst.hlp Log: Delete a couple of now-extraneous files. Noticed by: ats