Commit Graph

3092 Commits

Author SHA1 Message Date
atatat da4f7330e5 Also supress speling erors. 2003-12-28 16:34:03 +00:00
martin 04d651d978 Add rtclocaltime (couldn't we mark these in the set lists somehow
instead of duplicating part of the list here?)
2003-12-27 23:00:55 +00:00
martin 91d3025816 Add rtclocaltime. 2003-12-27 00:29:21 +00:00
martin 448491ee86 Add a new /etc/rc.conf option: rtclocaltime=YES adapts the RTC offset
at boot automatically, so a machine dual booting another OS that uses
the RTC at localtime and NetBSD agree on the current time even if daylight
saving started/ended (without recompiling a kernel twice per year).
Awk code by Matt Thomas.
2003-12-27 00:23:22 +00:00
lukem 1b373d7a5e Revert part of previous; etc/rc.d/kdc must be installed even if Kerberos
isn't enabled.
This is how the rc.d system works in conjunction with our current build
and install system; all the rc.d scripts are installed even if the
subsystems they control are not.
2003-12-26 12:04:35 +00:00
lukem e2288a51a0 Add warn() to display message to stderr prefixed by the script name,
and use appropriately.
2003-12-22 22:26:32 +00:00
lukem d90e033b23 improve build of MAKEDEV from src 2003-12-22 21:38:23 +00:00
tron 80b84ce51e Set "NETBSDSRCDIR" in environment while generating "MAKEDEV" script to
make the check work if "postinstall" is not invoked from "build.sh".
2003-12-22 12:07:59 +00:00
lukem fcdfdbba5c Rework MAKEDEV:
*	Use "mknod -F netbsd -r" to create nodes, instead of
	"rm ; mknod; chmod; chown".
	This means permissions & ownership of existing nodes will
	not be changed.
	This is up to 30% faster when populating an empty /dev,
	and nearly 2x faster when re-running on an existing /dev.

    *	New options:
    	-f		force change of permission & ownership of existing
			devices
    	-m mknod	override name/path of mknod program
			(which defaults to $TOOL_MKNOD, then "mknod").
	-s		generate mtree(8) specfile instead of creating devices

    *	Remove /usr/etc from $PATH; not needed anymore.

    *	Provide functions to create devices & directories:
	    mkdev name [b|c] major minor [mode{=600} [gid{=0} [uid{=0}]]]
		create device node `name' with the appropriate permissions
	    lndev src target
		create a symlink from src to target
	    makedir dir mode
		create directory with appropriate mode

    *	UIDs and GIDs are hardcoded in at MAKEDEV generation time.
	(Unfortunately there's not a simple way of determining a GID
	a la "id -n user" for determining a UID).

This was tested by generating MAKEDEV for each MACHINE,MACHINE_ARCH
combination and comparing the results of "MAKEDEV all" from the
previous version to the new one.
(This testing actually highlighted mistakes in the previous configuration!)


Simplify distrib/common/Makefile.makedev to use "MAKEDEV -s"
2003-12-21 17:37:26 +00:00
lukem 9e396f0ea9 don't change umask without setting it back to 77; it has unwanted side effects 2003-12-21 17:18:08 +00:00
lukem f10d9367cc also rm & chmod dtyC$unit 2003-12-21 16:27:34 +00:00
lukem 6ab1279223 fix mms\* 2003-12-21 16:17:19 +00:00
lukem cb8a9610e0 be consistent in fss* 2003-12-21 15:32:59 +00:00
lukem 4ddba21b9a * Match the source code to the comments, and use $NETBSDSRCDIR
instead of -v ETCDIR.
* Parse $NETBSDSRCDIR/etc/{master.passwd,group} to build a list of
  user->uid and group->gid mappings, and replace %uid_XXX% and %gid_XXX%
  appropriately.
* Whitespace & regex tweaks.
2003-12-19 06:04:16 +00:00
christos 501d4710c0 prepare for bind 9. 2003-12-18 18:30:18 +00:00
martin ffeeb30dd3 Add JavaStation kernels to KERNEL_SETS 2003-12-15 19:36:16 +00:00
martin e5627c0207 bootjs.elf -> bootjs.net 2003-12-15 17:35:33 +00:00
lukem 7eec24689d MAKEVERBOSE-ify MAKEDEV creation 2003-12-15 09:46:51 +00:00
jdolecek 2d5a801b27 add /rescue to the PATH to find chown if /usr is not available yet
XXX chown should either be moved or we should not depend on it here

fixes PR kern/23614 by Christian Biere
2003-12-15 08:57:52 +00:00
he a085af0d99 Change "ln -sf" to "ln -fs" to placate makedev2spec.awk. 2003-12-14 19:09:34 +00:00
martin 40751dda65 Place bootjs.elf in .../installation/netboot too (boot.net can't be used
for JavaStations)
2003-12-14 12:17:44 +00:00
rtr 1a07d009ee x11 modules/{fonts,drivers,input} directories. 2003-12-14 10:14:48 +00:00
ad 39b2c33e25 Make wscons device nodes, and build the WSCONS kernel. 2003-12-13 23:11:17 +00:00
dyoung 4758291178 Fix the checkflist for builds without Kerberos 4 (MKKERBEROS4=no)
and without Kerberos 4 & 5 (MKKERBEROS=no). Previously checkflist
complained of missing files.

* move kerberos- and kerberos 4-only files into new flists,
  distrib/sets/lists/*/krb.*

* make the flist generators grok MKKERBEROS{,4} variables

* fix Makefiles which treat MKKERBEROS=no as MKKERBEROS5=no.
  9 out of 10 experts agree that it is ludicrous to build w/
  KERBEROS4 and w/o KERBEROS5.

* fix header files, also, which treat MKKERBEROS=no as MKKERBEROS5=no.

* omit some Kerberos-only subdirectories from the build as
  MKKERBEROS{,4} indicate

(I acknowledge the sentiment that flists are the wrong way to go,
and that the makefiles should produce the metalog directly.  That
sounds to me like the right way to go, but I am not prepared to do
revamp all the makefiles.  While my approach is expedient, it fits
painlessly within the current build architecture until we are
delivered from flist purgatory, and it does not postpone our
delivery. Fair enough?)
2003-12-11 09:46:26 +00:00
tsutsui 2dc2c15166 - Turn off console login.
- Remove nonexistent tty00 and tty01.
- Add and enable ttyE0 and scif0.
2003-12-10 18:04:28 +00:00
hannken fbae381aaa The file system snapshot pseudo driver.
Uses a hook in spec_strategy() to save data written from a mounted
file system to its block device and a hook in dounmount().

Not enabled by default in any kernel config.

Approved by: Frank van der Linden <fvdl@netbsd.org>
2003-12-10 11:40:11 +00:00
lukem 8d18845ac2 add null & fdesc to the list of file system types to skip in check_disks 2003-12-10 09:25:36 +00:00
tacha 7b0cb03434 remove target before executing mknod (in std_sparc). 2003-12-09 11:25:04 +00:00
dmcmahill 5d0ac15aa1 Improve the portability of this script by escaping some {'s and }'s used
in a regex.  Works with Solaris awk as well as gawk now.
2003-12-08 23:49:25 +00:00
lukem 6a7c1e3169 improve comment 2003-12-08 08:12:01 +00:00
perry 16a3b1f9cc Add back nfs partition display if show_remote_fs is on.
As requested by Grant.
2003-12-08 01:17:37 +00:00
perry 08f64583cc add show_remote_fs
Triggers showing nfs mounted file systems in the nightly report.
2003-12-08 01:14:08 +00:00
perry 43a0fc6fac Change the default behavior of the netstat run during check_network to
print a summary rather than the full (and not usually desired) output
of netstat -inv. The old behavior can be returned by simply setting
full_netstat to YES in daily.conf.

Original idea by me, cleaner and more correct execution via small awk
script from Greg Woods.
2003-12-07 22:22:15 +00:00
perry f9f0805e4c add full_netstat=NO 2003-12-07 22:17:54 +00:00
perry 760b3486e4 suppress disk reports about nfs mounts, kernfs and procfs. 2003-12-07 16:55:04 +00:00
perry eda014eade Don't print "Last dump" report if /etc/dumpdates is zero length or absent.
Don't print OTP/skey report if /etc/skeyskeys is zero length or absent.
2003-12-07 16:35:04 +00:00
perry d9adb3cb0f use -h ("human readable") instead of -k on nightly df 2003-12-07 16:20:18 +00:00
fredb 0eb4e5c6ee Add a synopsis, disclaimer, and a hypertext link to the "real" documentation. 2003-12-07 16:11:58 +00:00
fredb fe1351034e Whitespace and punctuation cleanup. Try to fill lines up to 72 columns. 2003-12-07 16:02:35 +00:00
fredb 44d9f578ac Expand the "pool.ntp.org" section. Drop "maxpoll", call for volunteers,
add some example country codes, and use disjoint CNAMES by default, as
discussed in PR misc/23283 (by Adrian 'Dagurashibanipal' von Bidder),
the pool.ntp.org mastermind and maintainer).
2003-12-07 16:01:00 +00:00
fredb 54d0d4cd23 Add a "tos" directive. 2003-12-07 15:56:30 +00:00
drochner 505ed045c0 ntpdate to a multicastclient address doesn't work 2003-12-04 18:28:54 +00:00
drochner e3925ac984 no html pages for ntp anymore 2003-12-04 18:25:49 +00:00
isaki eb554304bd Correct typo in comment (s/x86k/x68k/) 2003-11-24 06:31:44 +00:00
simonb 33896379fe Add the entries in misc/18016 (from Patrick Welche). 2003-11-23 23:28:03 +00:00
simonb 55a7e482d0 Add some more services that have been showing up in my ipfilter logs. 2003-11-23 06:06:24 +00:00
tsutsui 74a31d9ed9 Update device description for hp300 MI com(4) changes. 2003-11-22 17:26:45 +00:00
tsutsui 4c8374cf19 Update MD entries for DCA, DCM and APCI serial ports to migrate MI com(4):
- use ttyC[0123] for DCA and APCI with MI com(4)
- use ttyM[0-f] for DCM instead of tty0[0-f] to avoid confusion with MI com(4)
- create the foloowing symlnks to compatibility:
 tty0  -> ttyC0 (for DCA)
 ttya0 -> ttyC1 (for APCI)
 ttya1 -> ttyC2 (for APCI)
 ttya2 -> ttyC3 (for APCI)
 tty0? -> ttyM? (for DCM)
- note the above symlinks should be removed after the next release

As per discussion on recent port-hp300 (ok'ed by thorpej).
2003-11-22 17:20:08 +00:00
abs c3751e8404 Increase size and number for authlog, cron, lpd-errs, and messages 2003-11-21 18:07:09 +00:00
jhawk 6a6c54a1d0 Provide a workaround for PR bin/12900.
When /dev is an fdesc, and /dev/tty is stat()ed without a controlling tty,
a "Device not configured" error is returned.

Filter mtree's stderr to ignore this error.

If fdesc is fixed to not behave in this fashion, this workaround can
be removed; bin/12900 should remain open until that time.
2003-11-19 20:28:19 +00:00