Commit Graph

2310 Commits

Author SHA1 Message Date
David Nugent
e56644ad0e Yet another formatting consistency check. 1997-02-07 11:31:42 +00:00
David Nugent
e57b5686c6 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
Jordan K. Hubbard
8055777430 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 Wunsch
5ecb59ef0b Update to the new open() semantics, need O_NONBLOCK now. 1997-02-06 22:24:35 +00:00
Bill Paul
c6c5d97511 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
Wolfram Schneider
9a42683b3a /sbin -> ${BINDIR} 1997-02-06 01:24:43 +00:00
Julian Elischer
fb42516541 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
Thomas Gellekum
767c0e7bdc Typos. 1997-02-05 07:36:51 +00:00
Thomas Gellekum
350a9f017e Typo. 1997-02-04 07:06:14 +00:00
Joerg Wunsch
47b213b1ba Fix a benign typo (benign by now, since sizeof(VarLoginScript) ==
sizeof(VarDialScript)).

Submitted by:	Arjan.deVet@adv.IAEhv.nl (Arjan de Vet) -- or actually by imp?
1997-02-02 19:13:25 +00:00
Mike Pritchard
4568d55cd5 Update some path references to reflect reality.
Submitted by:	max
1997-02-02 00:59:49 +00:00
John Hay
3e70cf1f94 At the end it was much simpler than I thought. 26 * 26 = 676 and not 576.
South Africa and a few other countries exists again. This fix pr 2595.
This should go into 2.2.
1997-02-01 17:03:10 +00:00
Jordan K. Hubbard
6bc6b19ae5 Sync with RELENG_2_2 changes. 1997-01-30 06:38:19 +00:00
Brian Somers
534fe5414f Check the timer request flag irrespective of wheter select() came back with
EINTR - it's possible that it happened at some other point in the loop.
1997-01-30 00:49:50 +00:00
Jordan K. Hubbard
89972e50e4 Allow user to delete as well as install packages from the package
installer menu.

Fix status line code so informationals show up properly again.
1997-01-29 22:35:05 +00:00
Jordan K. Hubbard
4c5f552d9a Cosmetic tweaks.
Also redirect stderr to Debug when running multiuser.
1997-01-29 21:45:30 +00:00
Jordan K. Hubbard
431285ea2b Fix broken layout help (this is what broke the TCP help screen).
Allow DITEM_NO_ECHO to be encoded in layout field types and make
user.c use it for the password item.
1997-01-29 21:16:07 +00:00
Jordan K. Hubbard
1c5237db6f Make media re-init a user choice. 1997-01-29 03:30:24 +00:00
Brian Somers
6b0b88d812 Move the call to TimerService() into main.c - just after the select()
call.  The SIGALRM just sets a flag now, preventing the possibility of
any nasty recursivness in the handler itself.
1997-01-29 01:27:58 +00:00
Jordan K. Hubbard
ad26f87d59 Do media initialization at correct time for upgrade too.
Update /stand.
1997-01-29 01:23:05 +00:00
Jordan K. Hubbard
18a4cf7400 Update Russian FTP sites according to Mikhail A. Sokolov's current
configuration.
1997-01-29 01:13:27 +00:00
Jordan K. Hubbard
b2b2fe4577 Death to another bad idea: Don't auto-mount CDROM on startup. 1997-01-29 00:14:17 +00:00
Jordan K. Hubbard
aa5b6f64ea DTRT with a release string of "none" and use the correct (updated)
mountpoint name for fixit.
Submitted-By: joerg
1997-01-27 09:51:56 +00:00
Peter Wemm
32340ccd9e Merge 8.8.4 -> 8.8.5 changes onto mainline 1997-01-27 07:43:29 +00:00
Peter Wemm
559b5e3e06 This commit was generated by cvs2svn to compensate for changes in r22028,
which included commits to RCS files with non-trunk default branches.
1997-01-27 07:37:00 +00:00
Peter Wemm
52c4d6f5d6 Import sendmail 8.8.5. See RELEASE_NOTES for changes.
Obtained from: ftp.sendmail.org:/pub/sendmail
1997-01-27 07:37:00 +00:00
Jordan K. Hubbard
6a484ce557 Add new Portugal mirror. 1997-01-27 00:16:15 +00:00
Jordan K. Hubbard
7ce6b270fd Allow both types of XFree86 setup script to be run at user choice. 1997-01-24 20:20:12 +00:00
Jordan K. Hubbard
d733b8a9fb I need to learn to read man pages more closely. readlink() does NOT null
append the return string (bleah!) so you need to do it yourself.  This
explains why Bus and PS/2 meece weren't displayed in the Mouse selection
menu.
1997-01-24 19:31:53 +00:00
Jordan K. Hubbard
5214787fd5 OK, I've got two ideas to file in the "really seemed like a good idea
at the time, but on further reflection..." bucket with these changes.

1. Checking the media before frobbing the disks was a fine idea, and
   I wish it could have worked, but that leads to a rather difficult
   situation when you need to mount the media someplace and you're about
   to:

	a) Chroot away from your present root.
	b) Newfs the root to be.

   You're basically screwed since there's no place to stick the mount
   point where it will be found following the newfs/chroot (and eliminating
   the chroot in favor of just using the "root bias" feature would work
   great for the distributions but not the pkg_add calls done by the
   package installer).

2. Automatic timeout handling.  I don't know why, but alarm() frequently
   returns no residual even when the alarm didn't go off, which defies
   the man page but hey, since when was that so unusual?  Take out timeouts
   but retain the code which temporarily replaces the SIGINT handler in
   favor of a more media-specific handler.  This way, at least, if it's hanging
   you can at least whap it.  I think the timeout code would have been losing
   over *really slow* links anyway, so it's probably best that it go.

This should fix NFS, tape & CDROM installs again (serves me right for getting
complacent and using just the FTP installs in my testing).
1997-01-24 19:24:51 +00:00
Jordan K. Hubbard
76d01c999a This is a patch that makes some of the "partitions" --> "slice" to be
more consistant in our use of the terms for differentiation between PC
partitions and traditional BSD partitions.

Submitted-By: obrien@cs.ucdavis.edu (David O'Brien)
1997-01-24 07:47:17 +00:00
Jordan K. Hubbard
63eb3ecd42 Update russian mirrors. 1997-01-24 07:03:15 +00:00
David E. O'Brien
ae462d03db Change from using chunk_n to slice_type_name().
Reviewed by:	jkh
1997-01-24 02:26:42 +00:00
Jordan K. Hubbard
7e698f84f0 *groan*. I broke tape extraction with the same optimization.
Fix that too.
1997-01-22 00:27:22 +00:00
Jordan K. Hubbard
898f607a63 Argh! Moving the media initialization to before the disk scribbling
section was a good thing, since it made it possible to detect media problems
*before* the installation started, but it also caused various things to
be mounted BEFORE the chroot() call, which definitely messes things up.

Fix this by detecting the pre-chroot() case and mounting into a subdir.
1997-01-22 00:15:51 +00:00
Stefan Eßer
b755685be8 Add PCI LKM support:New -a option checks whether a driver has been assigned to a device. 1997-01-21 23:29:15 +00:00
Jordan K. Hubbard
202b8e214b Add ckdist. 1997-01-21 12:59:34 +00:00
Jordan K. Hubbard
dcf118f17c ckdist - a handy utility for verifying the sanity of a distribution.
This will probably need to go away again someday when distributions get
folded into packages and there are no more dist files to check, but knowing
how long we've been waiting on THAT, this will be a welcome tool for the
interim.
Submitted by:	Robert Nordier <rnordier@iafrica.com>
1997-01-21 12:58:53 +00:00
Jordan K. Hubbard
c9af0102c6 Make some of the less necessary user feedback #ifdef VERBOSE.
We could also make this stuff only come out when getpid() != 1
and thus avoid the install case (where it really is just too verbose,
and people have complained), but this seems less messy and no one
complained when tzsetup didn't print the final "things went fine!"
messages (which sort of contravene the UNIX spirit of only yelling
when you need to anyway).
1997-01-21 10:53:38 +00:00
David Nugent
efc4a83cd0 Fix compile breakage: link against libutil. 1997-01-21 05:56:38 +00:00
Jordan K. Hubbard
6dfa1330e5 A couple of cosmetic tweaks to tape install method and fstab file format.
Submitted-By: Flemming Jacobsen <fj@schizo.dk.tfs.com>
1997-01-20 19:36:31 +00:00
Jordan K. Hubbard
2e59a10476 Rearrange the timeout code and also (whoops) provide for timeouts during
file opens, not just during file reads.
1997-01-20 19:26:44 +00:00
Jordan K. Hubbard
0f18f7f84e Add extra variables for the configuration of all packages, not just
the lynx browser.

Submitted-By: David O'Brien <obrien@cs.ucdavis.edu>
1997-01-20 16:13:43 +00:00
David Nugent
b25b7bc1be Make cron login class savvy.
Use setusercontext() rather than setuid()/setgid()/setlogin()/initgroups()
which is all handled. Login environment is NOT set by this call as crontab
provides its own means of doing so.
1997-01-20 15:31:33 +00:00
Søren Schmidt
20a2630b11 Modified moused to use select rather than read. This fixes using
the PS/2 mouse (psm device).
Submitted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1997-01-20 08:09:20 +00:00
Bill Paul
559605f1ec Fix bug that slipped through last big round of changes: sometimes
yp_next_record() is called without a key (from xdr_my_ypresp_all()),
in which case it returns the first key in the map. When doing this,
it also needs to update the key index in the map queue entry. Without
this, ypproc_all_2_svc() (and hence ypcat) don't work correctly.

Noticed by: Michael L. Hench <hench@watt.cae.uwm.edu>
1997-01-20 03:33:36 +00:00
Wolfram Schneider
bfd34a4a60 Sort cross references. 1997-01-20 00:03:00 +00:00
Jordan K. Hubbard
b4045b65fe Correct a real brain-o in my check for when a "fixup" should be run.
Don't recreate parent menus just for submenus - it's irritating.
1997-01-19 10:27:12 +00:00
Jordan K. Hubbard
0ebf0addab Use alarm's return status to more properly denote timeout rather than keeping
an icky global around.
1997-01-19 09:55:37 +00:00
Jordan K. Hubbard
a0e47058d0 Fix a variety of problems with my timeout handling, make it more
configurable (you can now set the timeout interval), fix a crash-bug
when no network device was attached.
1997-01-18 19:18:26 +00:00