Commit Graph

13808 Commits

Author SHA1 Message Date
jkh
11cf91d4af Fix more display weirdnesses that only show up during a real installation. 1996-04-29 21:15:44 +00:00
jkh
0236ef4976 Remove a bogus dialog_clear(); 1996-04-29 21:07:44 +00:00
phk
4c9fab8cf7 Support for "-u" which sets the timestamp from the delta on the file.
Intended for sup mirrors etc.  Not well tested yet.

Reviewed by:	phk
Submitted by:	Giles Lean <giles@nemeton.com.au>
Submitted by:	John Hay <jhay@mikom.csir.co.za>
1996-04-29 21:02:42 +00:00
jkh
5c83d66490 Face the truth and bump the 2.2-960428-SNAP to 2.2-960430; that's the
last bump, I promise!
1996-04-29 20:29:29 +00:00
julian
6c04f7821c slight re-ordering to allow the qcam to compile with devfs enabled. 1996-04-29 20:05:52 +00:00
jkh
457e99728a Add ATAPI_STATIC so that the ATAPI cdroms work correctly again
under -current.
Submitted-By: Serge Vakulenko <vak@cronyx.ru>
1996-04-29 20:03:41 +00:00
jkh
4f4132f247 Add an extra line to the floppies target which will make it refresh
the distribution area's floppy images.
1996-04-29 19:38:36 +00:00
jkh
700702925d Reshuffle the installation routines a little for greater clarify. 1996-04-29 19:34:25 +00:00
jkh
00aca5d789 Yikes - bogon crept into the NFS setup menu. 1996-04-29 18:06:08 +00:00
jkh
21b88d9549 Fix a small display bogon with the progress indicators. 1996-04-29 17:59:07 +00:00
smpatel
cc39b8d5e5 Fixed two typos in the comment.
Pointed out by:	davidg
1996-04-29 15:07:59 +00:00
wpaul
eb2fc8df69 Very minor tweak:
In __initdb(), a failure to open the local password database is supposed
to result in a warning message being syslog()ed. This warning is only
supposed to be generated as long as the 'warned' flag hasn't been yet;
once the warning is generated, the flag should be set so that the message
is only syslog()ed once. However, while the state of the flag is checked
properly, the flag's state is never changed, so you always get multiple
warnings instead of just one.

Pointed out by: Peter Wemm
1996-04-29 14:48:47 +00:00
jkh
1a4cbf6251 Add some more debugging statements. 1996-04-29 06:47:10 +00:00
jkh
ac4be47489 Fix mis-declared static arrays that made sysinstall SEGV in
Set_Boot_Blocks().  Boy, this one had me tearing my hair out!
I hate how the loader distinguishes between `extern char *foo' and
`extern char foo[]' sometimes! :-)
1996-04-29 06:45:33 +00:00
wpaul
934e692b00 Fix embarassing mind-o: transient RPC program numbers run from
0x40000000 to 0x5FFFFFFF, not 0x4000000 to 0x5FFFFFF. *sigh*
1996-04-29 05:24:26 +00:00
jkh
ed088366ea Fix some display bogons in the label editor. 1996-04-29 05:09:23 +00:00
jkh
b431239bb3 Move some warn()'s into DEBUG space since I don't need them coming
out in my curses interfaces and spamming my screen.
1996-04-29 05:03:02 +00:00
jkh
9059910165 Don't stop /etc/sysconfig if we're `faking'.
More asthetic adjustments to menus.
Improve both the display efficiency and usability of the label
screen - it's now possible to label quite a few disks in the label editor.
1996-04-28 22:54:21 +00:00
jkh
590017a61c Add a new -fake argument to make sysinstall not actually change things while
I'm testing it.
1996-04-28 20:54:11 +00:00
gibbs
c17cc2e1be Bring back the AHC_TAGENABLE compile option and document it. You must
use this option to get tagged queuing.  Just like the old days.
1996-04-28 19:43:10 +00:00
gibbs
a18fa55c6a Fix the abort code in the BUS DEVICE RESET case. Needed to set cmdlen to 0.
Ensure that queued commands are not touched by the abort code by setting
the SCB status to indicate what queue it is in.

Fix deadlocks when using SCB paging by using SCBs from the assigned_scbs
queue or an SCB that completed during the same interrupt if needed.

Don't ever use insl to pull SCBs from any of the controllers.  You can
only do 8bit PIO reads.  This only affected SCB paging.

With this checkin, SCB paging works quite a bit better, but I still have
some problems with it that may be caused by a firmware problem in my
PD1800s.  It seems that using a tag number higher than the maximum number
of tags allowed by the device, confuses it.  For example, if I queue
two commands, tagged 3 and 36, it never reconnects for tag 36.
1996-04-28 19:21:20 +00:00
joerg
abe7b46431 Add an entry for xterm with colors. The standard xterm now handles
ANSI colors.
1996-04-28 18:21:01 +00:00
joerg
8c5c90668a Fix a bogon that prevented easy-import from inserting the new module
name in alphabetical order (broken by my previous commit).

Pointed out by: asami
1996-04-28 12:32:43 +00:00
phk
dabc13d18f Fix some bugs I introduced and some old ones as well.
Add BDE_DEBUGGER back.
Improve quality of comments.
Thanks Bruce!

Reviewed by:	phk
Submitted by:	bde
1996-04-28 07:14:05 +00:00
jkh
a4b8c8b412 Update to new SNAP revision information. 1996-04-28 06:08:41 +00:00
wpaul
0f95e4e226 Performance enhancements (I hope) and new stuff:
yp_dblookup.c:

- Implement database handle caching. What this means is that instead
  of opening and closing map databases for each request, we open a
  database and save the handle (and, if requested, the key index)
  in an array. This saves a bit of overhead on things like repeated
  YPPROC_NEXT calls, such as you'd get from getpwent(). Normally,
  each YPPROC_NEXT would require open()ing the database, seeking
  to the location supplied by the caller (which is time consuming with
  hash databases as the R_CURSOR flag doesn't work), reading the
  data, close()ing the database and then shipping the data off to
  the caller. The system call overhead is prohibitive, especially
  with very large maps. By caching the handle to an open database,
  we elimitate at least the open()/close() system calls, as well
  as the associated DB setup and tear-down operations, for a large
  percentage of the time. This improves performance substantially at
  the cost of consuming a little more memory than before.

  Note that all the caching support is surrounded by #ifdef DB_CACHE
  so that this same source module can still be used by other programs
  that don't need it.

- Make yp_open_db() call yp_validdomain(). Doing it here saves cycles
  when caching is enabled since a hit on the map cache list by
  definition means that the domain being referenced is valid.

- Also make yp_open_db() check for exhaustion of file descriptors,
  just in case.

yp_server.c:

- Reorganize things a little to take advantage of the database
  handle caching. Add a call to yp_flush_all() in ypproc_clear_2_svc().

- Remove calls to yp_validdomain() from some of the service procedures.
  yp_validdomain() is called inside yp_open_db() now, so procedures that
  call into the database package don't need to use yp_validdomain()
  themselves.

- Fix a bogosity in ypproc_maplist_2_svc(): don't summarily initiallize
  the result.maps pointer to NULL. This causes yp_maplist_free()
  to fail and leaks memory.

- Make ypproc_master_2_svc() copy the string it gets from the database
  package into a private static buffer before trying to NUL terminate it.
  This is necessary with the DB handle caching: stuffing a NUL into the
  data returned by DB package will goof it up internally.

yp_main.c:

- Stuff for DB handle caching: call yp_init_dbs() to clear the
  handle array and add call to yp_flush_all() to the SIGHUP
  signal handler.

Makefile.yp:

- Reorganize to deal with database caching. yp_mkdb(8) can now be used
  to send a YPPROC_CLEAR signal to ypserv(8). Call it after each map
  is created to refresh ypserv's cache.

- Add support for mail.alias map.
  Contributed by Mike Murphy (mrm@sceard.com).

- Make default location for the netgroups source file be /var/yp/netgroup
  instead of /etc/netgroup.

mkaliases:

- New file: script to generate mail.alias map.
  Contributed by Mike Murphy (mrm@sceard.com).

Makefile:

- Install Makefile.yp as /var/yp/Makefile.dist and link it to
  /var/yp/Makefile only if /var/yp/Makefile doesn't already exist.
  Suggested by Peter Wemm.

- Install new mkaliases script in /usr/libexec along with mknetid.

- Use somewhat saner approach to generating rpcgen-dependent files
  as suggested by Garrett Wollman.
1996-04-28 04:38:52 +00:00
wpaul
7431f827c2 This commit was generated by cvs2svn to compensate for changes in r15423,
which included commits to RCS files with non-trunk default branches.
1996-04-28 04:16:06 +00:00
wpaul
95c4b574d2 Import the new yp_mkdb. This one does what the old one does, but is
hopefully less grotty. Differences include:

- An extra flag, -c, for sending a YPPROC_CLEAR to ypserv(8) (which
  will become useful once I merge in the DB handle caching mods I've
  been working on).
- Checks for and signals duplicate keys.
- Handles line continuations.

As of now, there is no more GNU YP code in the tree.
1996-04-28 04:16:06 +00:00
wpaul
5c33bf2a9e Toss the GNU yp_mkdb into the attic. 1996-04-28 04:08:22 +00:00
wpaul
0f35f42efa Remove yp_mkdb; it's going away.
Uhm, guys? This Makefile doesn't build anything anymore. The isdn
stuff under here isn't compiled. Is this normal?
1996-04-28 04:06:06 +00:00
wpaul
836c9571cc Small tweak to yp_put_record(): call the DB put routine with the
R_NOOVERWRITE flag and process return codes so that we can tell the
difference between a failure due to a duplicate database entry and
failure due to some other error.
1996-04-28 03:59:56 +00:00
jkh
bef4595dff Fix an ancient index list bug.
Make FTP re-initializion work.
Fix fix fix.
1996-04-28 03:27:26 +00:00
jkh
87634a8e4d Fix the OK/Cancel accellerator bogon I introduced a few days back. 1996-04-28 02:13:07 +00:00
jkh
757f0d4140 Move some of functions around in order to make this stuff easier
to work on.
1996-04-28 01:07:27 +00:00
jkh
7a8e35fbab Bump snapshot release date - looks like I was off by a couple
of days!

More display fixes to sysinstall and assorted tweaking.
1996-04-28 00:37:38 +00:00
jkh
277b92f12a Fix a minor grammatical error (reselled -> resold) I just noticed. 1996-04-27 18:36:02 +00:00
ache
8a5de28c05 inet_ntoa buffer was evaluated twice in log_in_vain, fix it.
Thanx to: jdp
1996-04-27 18:19:12 +00:00
joerg
9c10d8e8d1 Make install' depend on kernel'. Some idiot tried to install a
non-built kernel and complained in Usenet... :-)
1996-04-27 07:30:49 +00:00
jkh
a73f46116d Add a missing helpfile for fixit. 1996-04-27 07:18:59 +00:00
jkh
c223a865ba Fix what I just broke with DITEM_LEAVE_MENU 1996-04-27 07:09:41 +00:00
jkh
b36a827725 More misc menu hackery. 1996-04-27 07:04:12 +00:00
jkh
07edfe387a Fix a minor typo. 1996-04-27 04:57:43 +00:00
jkh
96b3d4b605 Fix a bogon with ok/cancel callback usage. 1996-04-27 01:52:15 +00:00
jkh
ae6fe2880b Update more docs to match -current reality. 1996-04-27 01:34:47 +00:00
jkh
19629e274e Make default /etc/motd (which I will include in the installation) a little
more helpful and explanatory to new users.  Experienced users always blow
away their default motd's on the first day anyway. :-)
1996-04-27 00:44:22 +00:00
bde
42379df49e Fixed a bug introoduced in the previous change. ISA device memory was
mapped to semi-random place(s) depending on the content(s) of physical
address 0xA0000.  This was fatal at least on my system with a some
memory-mapped devices.  Console syscons somehow wasn't affected.  It
bogusly hardcodes the address.  Sigh.
1996-04-26 22:26:45 +00:00
joerg
651af4a301 Implement keyinfo(1) as a setuid Perl script, so /etc/skeykeys can
be made mode 0600.

Pointed out by: kieber@sax.de (Ulf Kieber)
Reviewed by:	pst
1996-04-26 21:35:11 +00:00
joerg
2d430f5746 /etc/skeykeys was basically suffering from the same vulnerability
as any non-shadowed /etc/passwd.  Ironically, all programs using S/Key
have already been setuid root except keyinfo(1).

This modification creates /etc/skeykeys with mode 0600 to prevent it
from being examined by ordinary users.
1996-04-26 21:33:18 +00:00
mpp
6f11b21010 Remove the comments that suggest people not turn
on accounting and quotas because they don't work.
They seem to work just fine, and the comments generate
too many questions.
1996-04-26 20:18:58 +00:00
jkh
9ba7f10d63 Remove libdisk from the old location. 1996-04-26 19:27:47 +00:00