Commit Graph

2415 Commits

Author SHA1 Message Date
jkh
1f37191c52 Don't nuke localtime and timezone files so aggressively now.
This is tzsetup's job (and only if you don't cancel out, which
is why having sysinstall remove them was so bogus).
1997-02-16 23:54:58 +00:00
jkh
4b4bde71b9 Ask about local or UTC here, like we used to. 1997-02-16 23:51:03 +00:00
jkh
19ad0dbdf1 1. Always write out /etc/hosts.
2. Back out my change to ask about UTC/Localtime here.  This *really* needs
   to be done in tzsetup instead since putting it here only handles about
   1/4 of the places where it needs to be.
1997-02-16 23:35:05 +00:00
jkh
7b21a52ead Replace bogus strncmp() with strcmp(). 1997-02-16 10:20:05 +00:00
jkh
7e5fec3559 Prevent potential argument buffer overflow. 1997-02-15 16:34:47 +00:00
jkh
43616d773f Make configSysconfig() less chatty.
Now that this is becoming (dare I even say it?) more useful for
post-configuration, no longer leave sysinstall.debug files around
by default.  Only do this if environment variable SYSINSTALL_DEBUG
is set.
1997-02-15 15:40:37 +00:00
jkh
12c017ea09 Read /etc/resolv.conf information as well as /etc/sysconfig info, making
this a little more robust.
1997-02-15 15:24:14 +00:00
jkh
3bb9619374 Fix a bogon with playpen size calculation for pkg of "-". It's amazing
this ever worked, actually.
1997-02-15 14:17:28 +00:00
jkh
2ba9068643 Correct bogus msg dialog.
Update to Lynx 2.7 (need to build 2.1/2.2 versions of this package).
1997-02-15 13:18:19 +00:00
jkh
d259caf3f5 Only add interface lines if they're not there already. 1997-02-15 12:24:02 +00:00
jkh
3212a0f8d0 Add a safety belt to configSysconfig() that should have been in there
from the beginning.
1997-02-15 11:20:54 +00:00
joerg
ce56561376 Plug a security hole involving $ENV forwarding over telnet. Sigh, i
thought i've long since done this.
1997-02-15 10:15:49 +00:00
jmg
c5326ece55 mdoc'ify man page 1997-02-15 03:35:55 +00:00
jkh
64312c9e34 Don't bogotify pkg_add's stderr. 1997-02-14 23:00:01 +00:00
jkh
7c7a873029 Revert some of the previous change - on second thought... 1997-02-14 21:59:26 +00:00
jkh
17a99dd753 Add better quote elimination (and fix a bug). 1997-02-14 21:17:00 +00:00
jkh
5dc52e3240 o Try to be more aggressive about reading in old configuration data
so that we're more useful in multi-user mode.  This is still not
  100%, but it pulls in a lot more than it used to.  Some of the "composite"
  variables in /etc/sysconfig are going to take more work.

o Always write /etc/resolv.conf and /etc/hosts if it makes sense to do
  so.

o Reset media properly when reselecting.  Longstanding bogon.

o Pull SIGPIPE handling out of package.c; I'm actually hoping to handle
  this differently shortly.

o Fix bug where cancel in TCP setup dialog still checked data fields.
  I think this closes a PR, but I will have to go look.
1997-02-14 20:59:07 +00:00
ache
98939b4915 Replace my EOF fix with better one from sendmail-bugs discussion
Should go into 2.2
1997-02-14 13:57:37 +00:00
jkh
06954db53d It's not an error to call configResolv() early. 1997-02-14 02:55:25 +00:00
ache
5bdbe29aef Back out clearerr fix after discussion in sendmail-bugs,
it gains nothing
1997-02-14 02:44:45 +00:00
jkh
5df56eba05 Put back @owner/@group/@mode behavior I took out way back when.
Submitted-By: pst
1997-02-14 01:52:38 +00:00
ache
715ca3161a clearerr() clears both EOF and error flags, so do it only for
error and not for EOF or loop test becomes while(1)

Should go into 2.2
Submitted by: Gregory Neil Shapiro <gshapiro@WPI.EDU>
1997-02-13 21:45:20 +00:00
mpp
872c363d88 Xref the new vn(4) man page. 1997-02-13 18:50:52 +00:00
ache
4a8888776c Under some circumstanes sendmail can loop forever collecting input.
Fix uninitialized character to prevent it.

Should go into 2.2
1997-02-13 15:48:35 +00:00
mpp
67a1a81fad crontab(5) incorrectly documented the dom/month arguments.
They have valid ranges of 1-31 and 1-12, not 0-31 and 0-12.
1997-02-13 07:16:12 +00:00
bde
a9bf409aca Actually install the new manpage. 1997-02-12 03:36:10 +00:00
se
a66e16352d Man page for the pciconf utility. There really should be some
documentation on the ioctl() interface provided by /dev/pci ...

Reviewed by:	wollman
1997-02-11 22:08:22 +00:00
jkh
6fb0e8741f Don't unilaterally decide to skip network configuration if running multi-user;
ask politely.
1997-02-11 02:33:33 +00:00
jkh
52780a13f1 -#include <ufs/ufs/ufsmount.h>
This was a temporary measure I took to deal with John's 4.4L2 changes
which should not have crept in.
1997-02-11 02:13:06 +00:00
jkh
be02c90383 Save /etc/sysconfig data at the very very end, so that it can be
used post-install time as a configuration tool as well.

Update comments about a kernel recompile being necessary for PS/2 mice.
1997-02-10 19:44:08 +00:00
jkh
d70a4d38b3 Don't stomp wall_cmos_clock file. 1997-02-10 10:23:53 +00:00
jkh
01f49a792d Allow the user to choose UTC or local time. 1997-02-10 10:21:07 +00:00
fenner
4c199a227a Another fix related to pr#bin/2585 . That'll teach me to
grep h_length *.c ...
1997-02-10 06:46:37 +00:00
fenner
c02c6e248f Fix possible gethostbyname-related overflows as pointed out in
PR#bin/2585 .
1997-02-09 22:32:04 +00:00
joerg
e3e68afe8f Fix some xrefs.
Submitted by:	John-Mark Gurney <jmg@nike.efn.org>
1997-02-09 20:39:00 +00:00
wpaul
02eec2322c Check for, warn about and reject lines with empty keys. You can't have
a database entry with a null key. These are often caused by spurious
blank lines in the map source file.
1997-02-09 19:34:53 +00:00
wpaul
8f656b769a Two small tweaks:
- servers should be the first target listed in 'all:' in order for slave
  servers to be updated correctly: yppush reads the ypservers map to figure
  out where all the slaves are, so it needs to be loaded onto the master
  ASAP.

- Fixed small bogon in publickey target which nobody has noticed since
  we're not using the publickey.byname map yet.
1997-02-09 19:19:14 +00:00
brian
ca71d718ab Connections are timed and the call duration is logged
via syslog.
Submitted by:	 Lars Fredriksen <fredriks@mcs.com>
Obtained from:	 Lars Fredriksen <fredriks@mcs.com>
1997-02-09 18:34:25 +00:00
imp
43dee6a14e Buffer overflow from OpenBSD:
Rev 1.4 deraadt: (partial from full commit, other files not done yet)
	proactive bounds checking; help from millert
Rev 1.5 millert:
	Possible buf oflow.

Plus minor style nits to keep the style police happy (I hope)
Obtained from: OpenBSD
1997-02-09 05:19:03 +00:00
imp
7f59fa4a4d Buffer overflow from OpenBSD:
Rev 1.3 millert:
	Fix potential buf oflow wrt strerror and sprintf.
Obtained from: OpenBSD
1997-02-09 05:09:05 +00:00
imp
0bd4c187ac Buffer overflow from OpenBSD:
Rev 1.7 millert:
	possible oflow
Obtained from: OpenBSD
1997-02-09 05:04:17 +00:00
imp
03062e7af3 buffer overflow from OpenBSD:
1.3 bitblit:
	Fixed potential buffer overflow
Obtained from: OpenBSD
1997-02-09 04:52:11 +00:00
davidn
1a543bf107 Yet another formatting consistency check. 1997-02-07 11:31:42 +00:00
davidn
42430059c6 Fix useage of MAXLOGNAME to include terminating NUL, by using
max(MAXLOGNAME-1,UT_NAMESIZE).
Tidy up "pretty" printing format for longer usernames.
1997-02-07 10:58:13 +00:00
jkh
963a0fcad9 It's easier to go forwards than backwards with this, and the RELENG_2_1_0
sysinstall was already broken (I think there's a PR for this somewhere).
This will require some additional changes elsewhere, like bringing in pw.
1997-02-07 04:27:24 +00:00
joerg
17d0705fc6 Update to the new open() semantics, need O_NONBLOCK now. 1997-02-06 22:24:35 +00:00
wpaul
be04db9817 Close PR# 2645: add curly braces where my fevered brain in collusion
with my frantic fingers forgot to put them.
1997-02-06 05:28:52 +00:00
wosch
33f749b773 /sbin -> ${BINDIR} 1997-02-06 01:24:43 +00:00
julian
f061fa28f5 The "-a" option for inetd specifies a specific IP address for the
server to bind to. This works until you send it a SIGHUP with a
new service defined ... the new service is bound to INADDR_ANY.

This patch fixes this bug (in both RELENG_2_2 and -current).

This is a 2.2 candidate..(i.e. pure bug fix)

Submitted by:	Archie Cobbs (archie@whistle.com)
1997-02-05 19:50:04 +00:00
tg
11f714d28c Typos. 1997-02-05 07:36:51 +00:00