Commit Graph

2293 Commits

Author SHA1 Message Date
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
Jordan K. Hubbard 740e9a8981 Implement compiled-in config file handling a little better - now
that there's no filesystem on the boot.flp image we need to prompt
for the configuration floppy.
1997-01-18 16:37:15 +00:00
Poul-Henning Kamp 5f2d7aa755 Add the trickery to power the "Conrad" DCF77 receiver. 1997-01-18 08:43:21 +00:00
Jordan K. Hubbard c7bdc98ef3 Be more aggressive about timeouts. 1997-01-17 19:00:38 +00:00
Jordan K. Hubbard 135c95a582 Add timeout support to sysinstall's general media handling,
allow SIGINT to stand for "time out now!" in certain cases.
1997-01-17 15:58:58 +00:00
Jordan K. Hubbard f8ea17db2b Add device entries and documentation for Intel EtherExpress Pro/10 driver. 1997-01-17 14:18:10 +00:00
Jordan K. Hubbard 79e6e0e3a2 Whoops! Fix an infinite loop I lovingly introduced into this code
with a previous commit.
1997-01-17 14:05:37 +00:00
Jordan K. Hubbard 45680321c0 Pass LOAD_CONFIG_FILE variable through, if set (makes Paul Traina's life
easier).  Only run install.cfg if running as init.  It's something of
a security hole otherwise. :)
1997-01-17 10:57:26 +00:00
Jordan K. Hubbard 3b9b7e6177 Now that I know which parts of the installation really need it (since
there's no menu display bug to work around now), be far more selective
in my use of DITEM_RECREATE (which is slow and involves much screen I/O).
1997-01-17 08:47:13 +00:00
Alexander Langer 8abdc2eb40 Sweep through the tree fixing mmap() usage:
- Use MAP_FAILED instead of the constant -1 to indicate
    failure (required by POSIX).
  - Removed flag arguments of '0' (required by POSIX).
  - Fixed code which expected an error return of 0.
  - Fixed code which thought any address with the high bit set
    was an error.
  - Check for failure where no checks were present.

Discussed with:	bde
1997-01-16 21:58:40 +00:00
Jordan K. Hubbard 306e292622 Fix mishandling of extraction return status in commit. 1997-01-16 15:00:25 +00:00
Jordan K. Hubbard 2974f2c077 Cope with Open_Disk() failure much more gracefully. 1997-01-16 14:42:21 +00:00
Jordan K. Hubbard 78147d1db8 Modification to sliplogin prints desitination's IP address before
going into SLIP mode, useful for scripts that can automatically
	grok IP addresses ala Trumpet Winsock.

Closes PR#2293

Submitted-By: andrew@fortress.org
1997-01-16 11:47:44 +00:00
Jordan K. Hubbard b449e9a83e Damn! Forgot to update lynx also. 1997-01-16 10:51:53 +00:00
Jordan K. Hubbard 2bd4114e2a Minor cleanup, adjust for latest version of apache web server. 1997-01-16 10:48:00 +00:00
Jordan K. Hubbard 37c16c5340 Clean up a long-standing bug in the scripting code. You could set variables,
but you couldn't call functions!  Now you can do both.
Guard against whitespace pollution in variable names.
1997-01-16 10:24:09 +00:00
Jordan K. Hubbard 69bab6f567 Use a better dialog for flagging field validation errors.
Pointed-Out-By: msmith
1997-01-16 09:45:35 +00:00
Jordan K. Hubbard d42e16a0d6 Keep our serial ports distinct so that first device is not found for
all (closes PR#2296).
Print better FTP failure diagnostics
Do better media failure checking in install.
1997-01-15 16:21:10 +00:00