Commit Graph

1336 Commits

Author SHA1 Message Date
abs
bb69dd0964 bind comes with a very helpful sample named.conf, so install it in
/usr/share/examples/named. I'm not overwhelmed about moving the file
into src/share/examples but there is prior art (amd).
1999-07-19 02:30:43 +00:00
itojun
47b0e5ff1d IPv6 support. 1999-07-12 20:17:09 +00:00
tron
735b324857 Add "audio" target to create links "audio", "audioctl", "mixer" and
"sound" pointing to the first unit's device nodes.
1999-07-12 09:33:59 +00:00
drochner
db20439533 repair diskless startup: "netstart" needs "sysctl" and "awk" now, thus
"/usr" must be mounted. mount_critical_filesystems() didn't mount it,
even if listed in "critical_filesystems", if it is nfs.
Solution: introduce another rc.conf variable
"critical_filesystems_beforenet" which contains filesystems to be mounted
before "netstart".
Perhaps "netstart" should be split up, but this would make things even
more complex...
1999-07-07 21:24:56 +00:00
fvdl
ec3e468086 sparc and i386 do not have ld.so.conf anymore now that they're switched
(or about to switch) to ELF.
1999-07-04 22:11:06 +00:00
abs
5dd420a030 Add ipl and raid to 'MAKEDEV all' 1999-07-04 16:01:55 +00:00
abs
64532f71cf Add 'ipl' to 'MAKEDEV all' 1999-07-04 16:01:04 +00:00
itojun
a7e88d2896 hide sysctl error messages to stderr (on checking IPv6 config values) 1999-07-04 12:51:30 +00:00
itojun
1f8a1d54df remove echo statement (was mostly for debugging). 1999-07-04 05:20:52 +00:00
hubertf
5c3edd7b4b RCS Id police 1999-07-03 20:50:39 +00:00
itojun
3c322b415a comment out sample entry. document it a bit.
From: Hubert Feyrer
1999-07-03 18:09:47 +00:00
itojun
7dcdb97971 remove unnecessary sleep (for DAD wait) in IPv6 configuration. 1999-07-03 03:40:52 +00:00
itojun
94e64335b4 add IPv6 configuration (ip6forwarding, rtsol, route6d and rtadvd).
Right now netsetart does not bother you even if you do not have
"options INET6" in the kernel.
1999-07-03 03:29:29 +00:00
itojun
134b5f49f2 rtadvd: advertise IPv6 prefix info via router advertisement.
(to be run on routers)
1999-07-02 09:28:16 +00:00
itojun
90db061921 add telnet on tcp6. 1999-07-02 06:32:32 +00:00
itojun
5202885909 provide sample lines for IPv6 services (at this moment ftpd and fingerd) 1999-07-02 06:05:21 +00:00
ross
59c991a23e Document BUILD_KERNELS. 1999-06-30 18:42:03 +00:00
ross
6e3b6566ce * Define INSTALLATION_DIRS and BUILD_KERNELS.
* Build in src/distrib
* Call the new release targets in src/distrib/{alpha,notes}

Note: The notes installation command is MI and should eventually move
      to somewhere in ../Makefile
1999-06-30 18:39:37 +00:00
augustss
aed7c5dbd9 usbd is dead. 1999-06-30 06:48:05 +00:00
abs
87d31b1197 Move 'random*' before 'ra*'. Now 'MAKEDEV all' works. 1999-06-27 20:06:48 +00:00
abs
4ab98c0660 Move 'raid*' before 'ra*' in case statement to avoid false match of ra*
against 'raid{0,1,2}'.
1999-06-27 20:01:49 +00:00
cgd
36f7421c84 the memory disk ('md') driver is just the standard machine-independent
driver.  Therefore, create and name its device nodes in the normal way.
1999-06-27 00:17:31 +00:00
cgd
3a7a276df9 sysinst won't work without ptys on the ramdisk image. (*sigh* How
well was sysinst tested for 1.4...)
1999-06-26 22:58:06 +00:00
cgd
fe0ddd929f oops: also need to update the geometry 1999-06-26 07:33:23 +00:00
cgd
ddb7bb9480 since all of the arm32 kernels provide 3400 blocks of ramdisk space, we
ought to use it (and not just 3200 blocks).
1999-06-26 06:50:20 +00:00
minoura
c3d7eff366 Change permission of grf, mouse, kbd to disallow access by no-root users. 1999-06-25 15:11:02 +00:00
frueauf
d14a108b4c we have no group root by default, set gname=wheel for include. 1999-06-23 17:12:15 +00:00
simonb
55d7fbaef8 Change /etc/mtree/special and /etc/sendmail.cf to mode 444, and
/usr/include to owner:group root:wheel, to match how these files
are shipped in a distribution.

From PR misc/6736 from Soren Jorvang.
1999-06-18 05:06:45 +00:00
cgd
ce030a27e0 ptys should not be marked secure. 1999-06-18 04:57:01 +00:00
abs
f85ff94580 Don't don't don't assume /usr/bin/id is always present. Loses in single user. 1999-06-15 05:44:22 +00:00
christos
412733582c typo 1999-06-09 01:45:49 +00:00
christos
efffa3db54 Make sure fd is a directory before we df it. 1999-06-09 01:39:29 +00:00
leo
ff1d4cab4a Add FALCON to EXTRA_KERNELS. 1999-06-07 14:44:46 +00:00
is
7658a91815 Create *wd[23]? device nodes, so that machines with more than two IDE
drives can be installed.
XXX The 1.4 single-floppy install has only 24 free inodes, but 32 are needed
by this. Some more work is needed (e.g., change newfs parameters for the
ram disk, or switch back to a 2-floppy install).
1999-05-31 11:14:07 +00:00
christos
364d5a1432 Correct the dhclient startup to follow the standard indentation style 1999-05-28 21:01:42 +00:00
christos
a3f17d2959 Don't barf when we have fdesc mounted. Just skip the devices fdesc provides 1999-05-28 21:00:50 +00:00
gwr
93720b922f Define our own snap_kern target that builds all the kernels, but
does not install the un-patched ramdisk kernels.  The snap_md_post
target builds the installation ramdisk image, patches that into the
ramdisk kernels, and installs them.  Also the miniroot.
Automated snapshot build works now.
1999-05-21 04:02:02 +00:00
gwr
551aad7b51 The snap_kern target is not sufficiently flexible.
Allow Makefile.in to provide its own.
1999-05-21 03:45:50 +00:00
lukem
1e4c25754e * document `shells' default (suggested by cgd)
* for each database, list supported sources (it's useful to know)
1999-05-19 02:25:14 +00:00
jwise
2fe3ffc188 Modify (commented out, pre-existing) identd line to start identd `nowait'
for those who want to use tcpwrappers appropriately.

Resist temptation to add -L"something appropriate"
1999-05-18 22:20:07 +00:00
gwr
a9233886c4 Increase ramdisk size 1999-05-18 07:51:34 +00:00
jwise
05bdcfc198 Minor wording change in a comment (also formerly known as -> formerly known as) 1999-05-18 03:30:02 +00:00
gwr
f2a23c575b updates for the 1.4 release 1999-05-17 03:35:55 +00:00
drochner
6e4e1ddc27 connect a keyboard to the display 1999-05-15 14:28:14 +00:00
ross
55adfd0a58 Support a second tape and cd drive on installation ramdisks. 1999-05-13 22:08:48 +00:00
is
c889455b1c Add 4 lpt nodes 1999-05-11 20:45:38 +00:00
hubertf
e845da9348 fix spelling 1999-05-08 01:09:09 +00:00
perry
7c5c9764b5 turn off ttyE[123] by default -- default installs don't configure them. 1999-05-01 00:23:27 +00:00
tv
56d7789c45 New systems should NOT ship with /usr/pkg/lib or /usr/X11R6/lib in
ld.so.conf.  (Frankly, new systems shouldn't ship with a ld.so.conf.) We
use rpath for that purpose now.  Unfortunately, 1.4 won't have this
change, so it will be in 1.4.1.
1999-05-01 00:06:20 +00:00
leo
7552438f3f Add the tty device-nodes on the install floppy. You'll need them for
slip connections.
1999-04-30 19:05:47 +00:00
perry
9c072e268f make -s flags for syslogd and lpd the default 1999-04-29 18:26:43 +00:00
ross
bc05796ee2 Set console and ttyE? term types to vt100. 1999-04-29 01:26:15 +00:00
nathanw
5e40cf296d Move the knowledge that /usr and /var should be mounted early from
rc.subr to the default rc.conf.
While this is no longer necessary to supress noise,
it increases the clarity of the situation and removes
one more bit of what should be adjustable configuration
from scripts that site admins shouldn't have to edit.

Addresses PRs misc/7406 and (partially) bin/7491.
1999-04-28 23:32:29 +00:00
simonb
bdd6ce47a7 Greatly simplify by doing the moral equivalent of
cd ../distrib/pmax && make install
1999-04-27 12:32:08 +00:00
simonb
31aebad029 + Build (but don't install) INSTALL and RAMDISK kernels.
+ Make installation/diskimage installation/netboot in ${RELEASEDIR}

+ snap_md_post depends on the diskimage, the diskimage tar file and
  the install kernel, and installs these into the right places in
  ${RELEASEDIR}.
1999-04-27 04:36:25 +00:00
simonb
ae25beb28c + Put directories to create in ${RELEASEDIR} into a variable that
port-specific Makefiles can add to.
+ Separate snap_md into snap_md_pre and snap_md_post that are depended
  on before and after snap_kern.
+ Build all kernels listing in ${BUILD_KERNELS}, but don't put them in
  ${RELEASEDIR}.
1999-04-27 03:08:02 +00:00
ad
eebf5c0180 Add code for creating pxN. px{0-2} are created as part of std. 1999-04-26 04:46:46 +00:00
abs
adb6375b6b Add a 'ramdisk' target, and create ptys on both ramdisk and floppy
(Needed for sysinst).
1999-04-26 04:20:04 +00:00
dbj
51a0d74d06 fixed syntax for using an nfs mounted mfs partition 1999-04-24 19:57:11 +00:00
dbj
9e14da1db9 change default console terminal type to "unknown" instead of "dumb" 1999-04-24 19:20:46 +00:00
dbj
018f256ee3 Added example mfs /tmp in fstab
Added wscons entries in ttys, but leave default "console" enabled
since some hardware still uses the serial port console
1999-04-24 19:19:48 +00:00
ross
1c98ea4e2a +ttyEcfg 1999-04-23 18:45:50 +00:00
ross
5a6330ac23 typo 1999-04-23 18:14:29 +00:00
kleink
357a0baaf8 Get rid of old-style chown operands. 1999-04-23 08:20:28 +00:00
jwise
11f13fe80d Remove comment about critfs_requires_network, which has gone away 1999-04-21 21:58:29 +00:00
tron
3cc8bf22d2 Configure wscons much earlier so that a virtual console can e.g. be
used for "syslogd" output.
1999-04-13 07:40:53 +00:00
mrg
ff5615a44f build ipfilter devices by default. 1999-04-13 06:45:36 +00:00
cjs
1a3bfc2c1b When checking local status, jJust ignore not-found filesystems, rather
than printing an error, just as we do when we try to mount it.
1999-04-13 02:15:49 +00:00
fair
31f06c6bd1 OK, adjust the kernel finder one more time to handle the case of a config
file that just does "include" GENERIC, and therefore has no "config" line.
It's simplest to assume that "netbsd" will be the result in that case.
Rather than duplicate config(8)'s parser in awk (or something), we should
adjust config to parse the config file and spit out the kernel names, and
then use that to replace this awk script thing.
1999-04-10 04:41:52 +00:00
fair
193be65e25 under "minimal" correct a tyop: wsbkd0 -> wskbd0 1999-04-09 22:22:17 +00:00
fair
0a40032913 Turn on building of A7000 CATS EBSA285 RISCPC SHARK kernels for releases. 1999-04-09 21:29:21 +00:00
mellon
e6bc2dc3c6 Add a note about critfs_requires_network on dhclient line. 1999-04-09 15:18:51 +00:00
drochner
6b39fd9da6 add a comment explaining how "pcvt" fonts can be used 1999-04-08 10:58:36 +00:00
fair
d023c654fd Slight tweak to the EXTRA_KERNELS build commands to work around a shell
parsing wierdness.
1999-04-08 08:24:44 +00:00
dante
a6a272d18a Add "_crunch" section required by catman to crunch compressed cat pages. 1999-04-04 11:02:09 +00:00
mycroft
0d59551634 Avoid using id(1), as this loses when /usr isn't mounted. 1999-04-04 09:58:57 +00:00
fair
5048fc1b17 NetBSD's very clever kernel build system can make more than one
kernel per config file and the resulting kernel need not be named
"netbsd"; therefore paw through the config file after the kernel
builds are done, find them all, and put them where they belong per
release(7). This all done with some clever awk/sh scripting, from
PR 7180 by David Forbes.
1999-04-04 09:57:11 +00:00
fair
2f7a39463f Create /var/log/aculog with appropriate permissions, per PR 6675 1999-04-03 09:40:38 +00:00
fair
252a967372 Change to make ownership of /var/msgs "daemon" per PR 6672 1999-04-03 09:36:04 +00:00
cjs
668efbbcec Change mount_critical_filesystems() so that if given an argument
of "local" it will not mount filesystem types it identifies as
network file systems (currently just nfs). Call the function twice,
before networking starts with arg "local", after networking starts
with arg "network". Remove critfs_require_network as is now redundant.
1999-04-01 03:58:44 +00:00
hubertf
b779dad4d4 Add hup, ll and x shell functions similar to the aliases in dot.cshrc
plus set the prompt. Tested with /bin/sh and /bin/ksh.
1999-03-30 02:36:05 +00:00
perry
7824e2333c NO_POSTFIX should have been BUILD_POSTFIX with reversed sense. 1999-03-29 16:40:44 +00:00
simonb
e8d9f12b08 Add a NO_POSTFIX check to allow \'make distribution\' to work. 1999-03-28 21:31:11 +00:00
mrg
3018f8d67b postfix support. 1999-03-27 05:17:08 +00:00
mrg
b4bf620b49 add postfix 1999-03-27 05:13:55 +00:00
abs
4fc0cc79b3 If we have an 'operator' user, it should at least be gid operator. 1999-03-27 03:51:41 +00:00
perry
e75fc73f95 add postfix uid/gid, maildrop gid 1999-03-27 01:44:37 +00:00
drochner
4603b8460d start xdm after wscons configuration - the X server might want an own
virtual screen
1999-03-26 13:45:47 +00:00
sommerfe
5a90dbf495 Add dhcrelay startup (allow only if dhcpd isn't started) 1999-03-26 13:10:17 +00:00
ender
3423145ca4 Add md0 to the raminst target. 1999-03-26 08:45:25 +00:00
mrg
202cdd3fa1 build audio[0123] links. 1999-03-26 04:37:29 +00:00
oster
9fe0d93bdb Nuke the line 'raidctl -r raid$dev'. a) The '-r' option is now '-i', and
b) with component labels and clean-bits working, this shouldn't be
required at all on each boot!  Thanks to Andrew Gillham for pointing this out.
1999-03-26 01:11:45 +00:00
lukem
29fbd4fd08 change user nobody's group from 9999 (non-existant) to 39 (group nobody').
from Soren S. Jorvang <soren@t.dk> in [misc/6806]
1999-03-25 07:00:43 +00:00
dbj
cb9aa929b6 add ttyEcfg 1999-03-24 23:46:37 +00:00
drochner
d8f89f1b7b install wscons.conf 1999-03-24 20:12:21 +00:00
mellon
61b6b3bfec - Support dhclient and dhclient_flags rc.conf variables.
- Start dhcp client if dhclient==YES.
1999-03-24 19:03:10 +00:00
mellon
8572695519 - Move critical filesystem mounting code into a shell function and put
that in rc.subr.
- Support critfs_require_network rc.conf variable.
1999-03-24 18:59:47 +00:00
mellon
fce1081120 Add critfs_require_network, dhclient and dhclient_flags variables. 1999-03-24 18:50:07 +00:00
tsubai
18e25765c1 Add ttyEcfg. 1999-03-22 14:05:34 +00:00
mark
6ba6fa5b90 Add ttyE? lines for wscons. 1999-03-22 10:25:52 +00:00
mycroft
8e621ce2ee Add MIDI and sequencer devices. They seem to work, even. 1999-03-22 07:52:56 +00:00
mark
0d8649853c Add the ttyEcfg devices and create the wscons devices as standard. 1999-03-20 03:00:20 +00:00
perry
835e4d99ed change to new syslog socket. make symlink from old to new location, too. 1999-03-19 00:35:44 +00:00
wrstuden
ee6f8c2579 Add a commented-out duplicate id checker which doesn't exclude toor, and
add a comment saying how to switch it on.
1999-03-17 19:11:05 +00:00
drochner
1cc109aa7d rc.wscons can take arguments, so we shouldn't simply source it but exec in
a subshell. Being here, add a prototype wscons_flags variable.
1999-03-17 15:49:47 +00:00
wrstuden
56fe49bc20 toor is back, disabled by default as before. 1999-03-17 03:01:54 +00:00
wrstuden
d32be9a273 Modify duplicate user id check to exclude "toor". Any other uid 0
accounts will generate a message with that (those) account names, root, and
toor present in the list.
1999-03-17 02:58:11 +00:00
jonathan
9380518844 Revert to status quo ante (root's shell is csh, per BSD tradition),
pending the proper procedures for making such a change.
1999-03-16 23:24:02 +00:00
mark
5d88663f76 Add the dty (dialout) device nodes for the serial driver. 1999-03-16 11:00:46 +00:00
fair
7153b55a87 Fix PR 5068 - scanning ~user/.rhosts files on NFS mounted home
directories with -maproot=nobody on the server. The argument to be
made is that if NetBSD's root can't read these files, it shouldn't
try to check them.
1999-03-16 06:18:17 +00:00
drochner
294d60fff0 Make wscons configuration nicer: split database and configuration script.
From Matthew Green.
1999-03-15 22:02:24 +00:00
hubertf
3f7861830b This was not intended to be committed - back out. 1999-03-15 16:42:46 +00:00
hubertf
8613009f6a Give root a Bourne shell. 1999-03-15 16:36:38 +00:00
abs
eb710b1b56 It was just Plain Wrong to ship a password file that triggers /etc/security.
Remove toor - if people want another root account, we'll assume they can
copy and modify the root line.
1999-03-14 20:11:06 +00:00
drochner
0fc97689ec introduce a "wscons" rc.conf flag and run /etc/rc.wscons from /etc/rc
if it is set
1999-03-14 14:04:40 +00:00
drochner
b0d64df6ba first cut on a wscons configuration script
(to be included in / sourced from rc.local)
1999-03-13 14:54:22 +00:00
scottr
a443f8c15c Make the includes and install targets consistent, and shove the
ugly hack into the etc/Makefile distribution target instead of
the top-level build target.  Problem noted by Mycroft.
1999-03-10 19:10:14 +00:00
he
1fad0940a8 Need pseudo-ttys on INSTALL disk now (due to sysinst). 1999-03-09 19:31:00 +00:00
cjs
34d3f1c35f Add comment that release is a synonym for snapshot, and make release
present everywhere snapshot is.
1999-03-08 02:37:56 +00:00
mycroft
73230d62d0 Only install ld.so.conf on machines where we install ld.aout_so. 1999-03-05 07:21:44 +00:00
abs
93466b768a /var/spool/ftp/pub (if present) is better 0775 thane 0777.
From Paul Goyette <paul@whooppee.com>
1999-03-05 05:54:23 +00:00
abs
33403acaba If ppp_peers is set, ensure /usr is mounted since pppd is in /usr.
(Modeled on rc.lkm setup)
1999-03-02 23:10:17 +00:00
scw
f4db3c5d7a Add target for raid devices. 1999-02-27 17:57:31 +00:00
tsubai
cc2777e5d4 Add pty0 to "floppy". 1999-02-26 12:01:36 +00:00
scottr
37c5e1f843 Some machines actually do have two floppy drives. 1999-02-23 14:56:26 +00:00
scw
c326e60e4c Fix the ttyC*and ttyZ* entries to correctly parse the unit number. 1999-02-21 18:09:24 +00:00
ender
332dbe4b37 Fix a typo noticed by Frederick Bruckman (fb@enteract.com) in PR#7023. 1999-02-21 00:34:43 +00:00
scw
2a3b5c65d2 It's about time we had an /etc/fstab example with SCSI disks. 1999-02-20 00:22:43 +00:00
scw
b50caeda28 Update MAKEDEV to create cd2401 tty devices. Add getty entries in
"/etc/ttys" for same.
1999-02-20 00:21:28 +00:00
itohy
72e04f8dd5 Make "make release" work without US domestic source
and with more than one extra kernels.
1999-02-19 05:58:40 +00:00
fair
108440dc7b The "secr" set is not made by default by maketars; add stuff to
make it unless EXPORTABLE_SYSTEM is set.
1999-02-18 19:42:51 +00:00
fair
36fe2839e4 Remove "tar" command from EXTRA_KERNELS section; those files are
expected to be ".gz" not ".tgz"
1999-02-18 19:03:44 +00:00
abs
dade5b2993 Handle + in master.passwd (From PR#4802).
Also, handle + in group and allow max_loginlen to be configurable.
1999-02-18 18:53:32 +00:00
scottr
150ff2fe29 Add fd*, and create fd0 in the default set of devices. 1999-02-18 07:36:57 +00:00
lukem
6ccd18ba1f remove duplicate aliases 1999-02-14 00:43:38 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
cjs
205851f433 Use slightly cleaner syntax for release/snapshot target. 1999-02-11 22:48:11 +00:00
cjs
f0ddf07eb2 Add a release' target, which is a synonym for snapshot.' 1999-02-11 18:19:21 +00:00
tv
7ad02c1392 Add some more directories under /usr/share/locale. 1999-02-11 17:10:13 +00:00
tv
1a71527c29 Add /usr/share/info, and /usr/share/locale/{de,fr}/LC_MESSAGES. 1999-02-11 14:39:35 +00:00
cjs
c95ddabf17 Change a BUILD to an UPDATE that I missed in the last commit. 1999-02-09 19:55:58 +00:00
tv
caacb26e31 Make a /usr/share/ldscripts directory. 1999-02-09 17:41:13 +00:00
tv
fb1e232640 Remove /usr/include/bfd. 1999-02-09 17:35:27 +00:00
frueauf
6f443e73b3 No need to involve awk in the securelevel part, since sysctl has the -n switch.
Pointed out by NAKAJIMA Yoshihiro.
1999-02-07 14:56:01 +00:00
cjs
c8a68d41ad .ifndef BUILD should be .ifndef UPDATE (to avoid `make clean'). 1999-02-07 06:51:41 +00:00
bad
cad34284f4 Use peers too when setting the time via ntpdate. 1999-02-07 00:47:08 +00:00
frueauf
1b01f4840e Add missing '' for awk in the securelevel part. 1999-02-06 23:22:31 +00:00
perry
3c931ccd09 add postfix config and spool directories 1999-02-05 18:51:47 +00:00
perry
3f8da8212c Sendmail will be in libexec/sendmail/sendmail 1999-02-05 18:11:23 +00:00
perry
d93b2ea892 Add libexec/postfix and libexec/sendmail 1999-02-05 18:06:41 +00:00