Commit Graph

1134 Commits

Author SHA1 Message Date
Jordan K. Hubbard
1babea36ca Lots-o-cleanup(tm):
1. Fix the bogon I introduced that made some root filesystems fail to be
   made with `unable to make filesystem on sd1s1a' or some such error
   message.

2. Latest installment in the never-ending chapter on making FTP do the right
   thing on a cruel internet.

3. Make `express install' a truly express install and split off what it used
   to do into a `novice install' that's even more geared to the novice
   by asking questions in order, rather than forcing them through the menu
   interface.

4. Make anonymous FTP setup truly DTRT.

5. Build lndir directly into sysinstall and make the novice install offer
   to set up the ports tree.  Also make the ports setup truly explanatory
   about what it's doing, and always link the ports destination to /usr/ports
   if necessary so that bsd.port.mk doesn't need to be tweaked.
1995-11-03 12:02:45 +00:00
Peter Wemm
84c60f0d3f Workaround for the setlogin()-in-same-session-as-inetd bug.
This causes:
1: inetd to clear it's getlogin() name at startup (in case the sysadmin
	logged in and su'ed to root and restarted inetd)
2: inetd to start each spawned process in it's own session.
3: inetd to call setlogin() on non-root processes (eg: uucp for uucico)
4: log failures more extensively

This means that root spawned processes from inetd remain responsible for
setting their login name if they change their uid. (eg: rshd, login, etc).

If they do not do so, it is safer for them to have no "login name" than a
wrong one (like "root") because the getlogin() system call is documented
as "secure" on 4.4BSD.  inetd when started from /etc/rc would have no login
name anyway, so this isn't really a change - it's making it consistant with
the bootup state...

The setsid() change *may* cause something to break that is doing a setsid()
itself and checking the result - it will fail now because it's already been
done.  The consensis seems to be that this is unlikely. David G. thinks
this is acceptable as it is cleaner from an architectural point of view.
1995-11-03 09:30:13 +00:00
Peter Wemm
5d889ad3e1 Merge pppstats from ppp-2.2 onto mainline..
This version uses specific interface ioctl()'s rather than groveling
around in /dev/kmem
1995-10-31 21:41:59 +00:00
Peter Wemm
25c2c2fd8b Whoops.. ppp-comp.h -> ppp_comp.h... 1995-10-31 21:29:25 +00:00
Peter Wemm
60f531a365 Bring pppd from ppp-2.2 onto the mainline..
(more work needs to be done here, I'm trying to beat the supscan)
1995-10-31 21:21:51 +00:00
Peter Wemm
8c430818c6 Initial revision 1995-10-31 21:10:14 +00:00
Jordan K. Hubbard
58a00a4f4c Fix the `pkg_add relative to .' bug. Thank you, Ville!
Submitted by:	Ville Eerola <ville@vlsi.fi>
1995-10-31 20:30:18 +00:00
Joerg Wunsch
4c81de0a11 Support the configuration of "od" devices.
Submitted by:	akiyama@kme.mei.co.jp (Shunsuke Akiyama)
1995-10-31 17:31:35 +00:00
Poul-Henning Kamp
7226d4fb3b <sys/user.h> -> <sys/time.h>
Spotted by: bde
1995-10-30 15:45:21 +00:00
Adam David
32b505b222 Implement simple quoting for command args.
Previously "abc xyz" became 2 args split at the space.
1995-10-30 14:03:00 +00:00
David Greenman
4ceefc48d5 Added support for a %SFILES token to auto-generate a SFILES= file list in
the same way that is done for CFILES. Files ending in .s or .S that match
the option criteria will be included in this list.
1995-10-29 11:07:17 +00:00
Poul-Henning Kamp
3aab05cf23 #include <sys/user.h>
I belive make world will work again now.
1995-10-29 09:57:50 +00:00
Poul-Henning Kamp
52a28d7027 #include <sys/user.h> 1995-10-29 09:56:53 +00:00
Bruce Evans
507accebbd Add rndcontrol. 1995-10-29 09:03:13 +00:00
Mark Murray
54b50b1dc8 Control utility for the /dev/random device. This allows root to select
which interrupts are to be used in randomess gathering. Man page for
the random device is included.
1995-10-28 17:04:25 +00:00
Adam David
fb870d2889 Correct ip protocol in error message, when binding the tcp port. 1995-10-27 11:44:07 +00:00
Julian Elischer
09fa32d305 Submitted by: john hay
patches to merge the two IPX packages to work with each other and to
not break make-world :)

IPXrouted should be working now, (or at least compiling) :)
1995-10-27 10:48:31 +00:00
Jordan K. Hubbard
8260a8caf0 Be more aggressive about writing out configuration files. 1995-10-27 03:59:38 +00:00
Jordan K. Hubbard
bc32adf3b0 Last minute nits. 1995-10-27 03:07:14 +00:00
Jordan K. Hubbard
fa31ce4fab Clean up some last bogons with the WEB server setup (now that I'm far
enough along to worry about such things!).
1995-10-27 02:12:58 +00:00
Jordan K. Hubbard
2f41233295 Fix the bug I introduced with /etc/sysconfig not being updated
properly.
Make some cosmetic doc changes here and there in response to user
feedback.
1995-10-27 01:22:58 +00:00
Andrey A. Chernov
3e37ec674d Add setlocale LC_TIME 1995-10-26 23:15:14 +00:00
Andrey A. Chernov
5877948cd3 Add setlocale LC_TIME 1995-10-26 23:10:10 +00:00
Julian Elischer
486f715f83 Reviewed by: julian and Mike Mitchel
Submitted by:	john Hay (John.Hay@csir.co.za)

John's IPXrouted..
this has not yet been seen to run correctly with Mike's IPX/SPX
code  (he has his own)
bringing them both in is the first step in merging the two packages
for 2.2
1995-10-26 21:28:30 +00:00
Jordan K. Hubbard
05bbe72676 Sync up for this snapshot. 1995-10-26 08:56:18 +00:00
Jordan K. Hubbard
4ea85d4592 o Fix installUpgrade to start the holographic shell as well.
o  Lots of documentation fixes.
o  Rename FTP active to "FTP" and explain passive mode better.
o  Make tcpip screen a bit more friendly.
o  Literally dozens of nits.
1995-10-26 08:11:24 +00:00
Nate Williams
0191e259eb Minor cleanup of English once more. 1995-10-26 05:12:59 +00:00
Nate Williams
488adc1639 Re-write new stuff in English. 1995-10-25 18:58:40 +00:00
Jordan K. Hubbard
36b7319742 Bring forward my changes from 2.1 1995-10-25 15:38:37 +00:00
Torsten Blum
e464a43558 change cross reference from binmail(1) to mail.local(8)
Obtained from: the NetBSD bugs mailinglist
1995-10-25 02:15:40 +00:00
Jordan K. Hubbard
6094230b54 Make upgrades actually work (thanks, Julian).
Many other bug fixes.
1995-10-24 02:18:23 +00:00
Andrey A. Chernov
4aa17bf7c8 Reset LC_TIME only and add missing export 1995-10-23 20:33:13 +00:00
Jordan K. Hubbard
f064a971a1 Reshuffle the network config code a little so that it's actually
usable.  Also fix the package extraction code.
1995-10-23 13:19:51 +00:00
Peter Wemm
28f4b7853c merge beta26 import conflicts 1995-10-23 12:59:29 +00:00
Peter Wemm
820a9e2403 Fold in conflict related changes after beta26 merge.
Also, update the man pages - they were very old and out of date.
1995-10-23 11:11:58 +00:00
David Greenman
b497f11592 Don't pre-processor define 'ident'. This has subtle consequences for people
who don't carefully consider their choice for the machine name. The same
functionality can still be had with an "option", so nothing is lost.
1995-10-23 10:29:11 +00:00
Jordan K. Hubbard
9e08ad4bbe Don't use tar to add packages, use cpio in tar mode. Works better.
Make the apache setup try to load the package first..
1995-10-22 23:20:45 +00:00
Jordan K. Hubbard
0b518254c0 1. Add Coranth Gryphon's Apache WWW server setup screen.
2. Fix an infinite recursion bug in FTP retry.  Tricky, this FTP install!
3. Add messaging routines for scripts.
4. Fix yet more bogons.  I think I'm fixing them faster than they're growing,
   but it's hard to say.  I'm really glad we're throwing this code away for
   2.2!
1995-10-22 20:15:07 +00:00
Poul-Henning Kamp
c98f3a0efa Fix various bogosities. 1995-10-22 19:45:28 +00:00
Jordan K. Hubbard
61029f8291 Second round of screen update changes. Now handle the yes/no dialogs
as well as the confirmation dialogs.
1995-10-22 17:39:29 +00:00
Jordan K. Hubbard
b462d27c89 Style changes. Clear the screen before a lot of error dialogs so that they
don't bogusly restore the screen to the message that was the cause of the
abort.  That resulted in lots of weird flickering dialog boxes that appeared
to be displayed out of sequence.
1995-10-22 17:18:36 +00:00
Jordan K. Hubbard
cfe7e224b8 Clean up some of the english here.. 1995-10-22 11:44:16 +00:00
Jordan K. Hubbard
c731441db2 Fix a bug in dist extraction when a dist was missing.
Allow instrumentation for adding packages from scripts.
1995-10-22 11:32:58 +00:00
Jordan K. Hubbard
2c4c63e4c9 Style police throughout.
Fix the ppp startup code.
Make the disklabel and fdisk screens "automatable"
1995-10-22 01:33:02 +00:00
Jordan K. Hubbard
a2df9ce22c Error message reform. Make an unnecessarily fatal error a warning. 1995-10-21 20:03:07 +00:00
Jordan K. Hubbard
2de56abd58 Fix a couple of things I broke while fixing them. 1995-10-21 16:44:24 +00:00
Jordan K. Hubbard
7dace4c581 1. Of course, the day after you roll the snapshots is the day you realize
that the FTP install doesn't deal with timeouts and hasn't since it was
   written.  Fixed.

2. Totally eliminate the OptionFlags.  I only had to work harder to
   sync them with configuration variables, so why not simply always use
   configuration variables?  This has actually greatly simplified areas
   of the code.
1995-10-21 14:07:02 +00:00
Jordan K. Hubbard
263f40b52b Change the pkg_info check back - it was correct before! 1995-10-20 22:36:06 +00:00
Andrey A. Chernov
3b98e6afc6 Oops. Change LC_CTYPE to LC_TIME... 1995-10-20 20:32:26 +00:00
Jordan K. Hubbard
e266bc3386 Slip some fixes under the wire. Mostly cosmetic cleanup and
an attempt to make the package installer a little more robust (it's
still a little shakey, but will improve between now and the release)..
1995-10-20 20:10:49 +00:00