Commit Graph

1907 Commits

Author SHA1 Message Date
lukem 09251753f6 migrate rc.wscons to (already existing) rc.d/wscons 2000-08-21 23:01:36 +00:00
lukem cbba2db233 migrate default installation config files from /etc to /etc/default 2000-08-21 23:00:26 +00:00
lukem aeebc796f0 add etc/default 2000-08-21 22:57:24 +00:00
lukem 54049fb460 remove rc.wscons 2000-08-21 22:57:11 +00:00
abs 31a6224745 Move options into ntp_flags, to make it possible to add '-u' without
modifying rc.d/ntpdate
2000-08-21 14:48:39 +00:00
mrg 4c835d91f6 add ramdisk support 2000-08-20 14:48:32 +00:00
lukem a96d29c7e3 support ${name}_nice even when using ${name}_chroot. per discussion with mrg... 2000-08-19 08:47:43 +00:00
bjh21 31bec2bf20 Add lpt and com 2000-08-17 14:13:41 +00:00
lukem 0847f3e3f5 add support for ${name}_chroot, which chroot(8)s before running the command.
allow changing the user credentials to ${name}_user, ${name}_group,
and ${name}_groups as part of this. if ${name}_chroot is used, the following
variables won't work: ${name}_chdir and ${name}_nice.
[requested by mrg; whipped up in a few minutes on his terminal :-]
2000-08-17 11:07:10 +00:00
itojun b1253dc369 synchronize with /etc/mail content.
NetBSD PR 10836 from koji@jp.above.net.
2000-08-15 14:48:23 +00:00
itojun 7342dfee1d reorder "localhost" entry, to prefer ::1 than 127.0.0.1. 2000-08-15 09:33:05 +00:00
mrg d2e1f953ef make that "audio*" not "audio". 2000-08-13 15:37:09 +00:00
mason ee4a3af175 This should be the final part of moving to 64 PTYs by default. Added
entries for tty{r,s}{0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f} to /etc/ttys.

Thanks to Matthew Green for pointing out the need.
2000-08-12 13:43:40 +00:00
phil 8ecc16e026 Add the coda services. 2000-08-11 23:25:34 +00:00
matt 01c441e0c2 Fix device creation for SCSI tapes. 2000-08-11 19:19:03 +00:00
toddpw e36c17d6c2 Have port-i386 use installation/floppy, for conformance with release(7). 2000-08-11 09:20:38 +00:00
lukem 5007ab036b - sshd has a pid file, so take advantage of it
- support `reload' arg (using default of SIGHUP)
2000-08-10 22:49:43 +00:00
thorpej 690a071d43 Need bsd.own.mk 2000-08-10 22:02:07 +00:00
lukem 0b1677de5f - provide sshd not ssh
- don't start until after LOGIN (after NETWORK is way too early)
- KNF (as such :)
2000-08-10 01:41:09 +00:00
mrg 64fe1807a8 remove xy & xd support. 2000-08-09 10:54:20 +00:00
thorpej 26aeddad0c Add `swat' (Samba Web Administration Tool) services at 901/tcp. 2000-08-08 03:10:50 +00:00
thorpej 81958d9213 Add kdc/kdc_flags variables. 2000-08-06 21:34:17 +00:00
thorpej f0c5d26a40 Startup script glue for the Heimdal KDC. 2000-08-06 21:32:56 +00:00
thorpej 6636b19ffd Add (commented out) hprop service, along with a short explanation
of when to enable it and why.
2000-08-06 20:35:13 +00:00
thorpej eb8931bc84 Add `hprop' service (754/tcp). 2000-08-06 20:12:19 +00:00
fvdl 4ed8b47725 Do not create the binary/security directory, there is no seperate
security set anymore.
2000-08-06 18:10:48 +00:00
thorpej 4bfab7fc50 /var/krb5kdc -> /var/heimdal 2000-08-06 17:15:47 +00:00
nonaka 7a41932873 for make snapshot 2000-08-06 16:11:32 +00:00
thorpej ac1bd4275a Remove the (not supported) krbupdate service, and add (commented out)
kerberos-adm.
2000-08-05 00:48:15 +00:00
thorpej 75713daa92 Add ISAKMP. 2000-08-03 22:58:37 +00:00
kleink a8c7e91153 As discussed with Hubert Feyrer in private mail, install UTC as the default
time zone; while amounting to the same offset, the time zone 'name' of
Factory violates the prinicple of least surprise.
2000-08-03 13:00:02 +00:00
hubertf 343777f0d3 Change default timezone from US/Pacific to Factory:
Before:
    Wed Aug  2 06:53:04 PDT 2000

After:
    Wed Aug  2 13:52:52 Local time zone must be set--see zic manual page 2000
2000-08-02 14:40:45 +00:00
itojun e9b5e5d87c fix comment on DAD wait 2000-08-02 13:59:11 +00:00
hubertf dcefdf7722 Adjust comment to what's actually being done 2000-08-02 11:07:51 +00:00
itojun 8451f00774 we need to sleep for IPv6 DAD period, before and after rtsol.
(they are for stability in boot-time configuration)
comment from perry.
2000-08-01 20:49:11 +00:00
jwise d6662ec62f Change name of precmd from start_precmd to sshd_precmd. While it worked
fine as was, the result was the line `start_precmd=start_precmd' which
looked odd.  Pointed out by Bernd Ernesti.

While here, add NetBSD RCS Id.

BTW, to clarify, as people have asked:  this script does not support
pkgsrc/security/sshd -- that package comes with a perfectly fine rc script
which in addition to supporting /etc/rc.d can also be used with 1.4.X.

This script will not trivially work with the ssh package as it a.) calls
the ssh commands at the pathnames they will be installed at by usr.bin/ssh,
and b.) generates a DSA key as well as an RSA key.
2000-08-01 14:28:32 +00:00
jlam f3983ea4df Correct apparent past-o: RSA -> DSA 2000-07-31 21:43:52 +00:00
jwise 5da8f604df Add $sshd and $sshd_flags for use by both usr.bin/sshd and pkgsrc/security/{open,}ssh
As a precedent, note the presence of $gated, even though we do not distribute
gated outside of pkgsrc.
2000-07-31 20:47:41 +00:00
jwise 5cfec6f11d An sshd startup script for use with usr.bin/sshd. Installation is conditional
on ${SSHDIST}, as with usr.bin/ssh itself.

This script includes a `keygen' target for regenerating RSA and DSA host keys,
and invokes this if these keys are not present when sshd is started up.
2000-07-31 20:39:41 +00:00
chuck fcf381833d actually make use of new features introduced in man.c (rev 1.23):
allow to specify relative paths for sections in man.conf - they are used
          similarily to _subdir, but only when appropriate
2000-07-31 00:26:48 +00:00
chuck c438e69177 if update_motd is set, do not gratuitously force it to have an empty line
in it.  also be a bit smarter about deleting stuff from motd during
update.  it is now possible to have a one line motd just like in SunOS.
2000-07-31 00:17:05 +00:00
veego ea8a88f609 syslog requires databases from sysdb which creates /var/run/utmp. 2000-07-29 21:50:20 +00:00
soren d13496d33e md0c -> md0d. 2000-07-29 10:56:19 +00:00
christos 023a7f381f add back check to .rhosts cat -f avoids the security hole. 2000-07-28 21:38:43 +00:00
mason 2ff2883ec7 pty{0,1} created more than once for "floppy" target. Corrected. 2000-07-27 19:16:09 +00:00
veego 3e53e60091 Really, we don't need a 2nd pty0 in the floppy target. 2000-07-27 19:09:57 +00:00
mason 12fa1acae3 As before, make 64 PTYs default. Forgot to move updated version back after
moving it aside to commit fix to previous version, prior to larger commit.
2000-07-27 18:46:15 +00:00
mason db8e04e0f8 Move to a default of 64 PTYs in "all" targets. Normalize "floppy" and
"minimal" targets to use 16 PTYs.
2000-07-27 18:43:14 +00:00
mason d123ebaad1 Correct typo - missing $0. 2000-07-27 18:41:34 +00:00
lukem 392130e304 move recreating /var/run/utmp from mountcritlocal (where /var/run is
purged but /usr/bin/install is not available) to sysdb.
problem noted by Matthias Drochner.
2000-07-27 13:58:49 +00:00
itojun 0e416c083c add usr.bin/{hoststat,purgestat}, which are new argv[0] hack
for sendmail 8.10.x and beyond.  sorry that i forgot to add this one.

From: Andrew Brown <atatat@atatdot.net>
2000-07-26 16:35:33 +00:00
lukem 48b9eee5e1 * add new dummy dependancy `NETWORK' to be REQUIREd by services which need
networking to be operational before starting, and use as appropriate.
  NETWORK depends upon network and dhclient.
* move the guts of systemfs into mountcritlocal
* replace the dependancy on systemfs with mountcritremote, and remove the
  former.
* SERVERS now also depends upon ppp

Notes:
* dhclient (and others) needs /var to be a $critical_filesystem_beforenet
* dhclient now starts before syslogd (because the latter needs /usr, and
  /usr might need dhclient to be mounted)

Should fix PRs:
    [install/9853] [bin/10002] [misc/10349] [port-i386/10633] [misc/10641]
2000-07-26 00:11:48 +00:00
thorpej fe54e81eb3 Also do ../usr.bin/ssh for the `distribution' target. 2000-07-25 19:07:39 +00:00
jdolecek 1bf05ae3b1 the format without netmask is supported for compatibility only and not
specifying it is discouradged, actually
also add comments about this fact to etc/rc.d/network, for people who
don't read manpages :)
2000-07-25 18:47:28 +00:00
drochner 6c44b52470 add usr/share/wscons/{fonts,keymaps} 2000-07-25 17:20:13 +00:00
drochner 8ba3198bec the pcvt fonts are in /usr/share/wscons/fonts now 2000-07-25 17:14:58 +00:00
itojun 674467bac8 add "start" argument to sshd.sh.
- sshd.sh comes with pkgsrc/security/openssh requires "start" argument
- sshd.sh comes with pkgsrc/security/{ssh,ssh6} does not care about argument
- it seems to me, from license twists, openssh installation will get
  more popular
2000-07-24 10:10:05 +00:00
briggs a2c0644e20 Add a Makefile.inc with snap_md_post to build and install release notes
for a make release or make snapshot.
2000-07-22 02:33:53 +00:00
briggs 5d1a00b125 Add a snap_md_post to build release notes and boot floppies on a make
release or make snapshot.
2000-07-22 02:33:06 +00:00
lukem 1a54e63fe1 match reality WRT rc.d... 2000-07-22 01:50:30 +00:00
lukem e15f7a2a6f clarify the difference between $critical_filesystems_beforenet and
$critical_filesystems, and why `/var' should be in the former (or
implied as part of `/' which is already mounted).
2000-07-22 01:09:44 +00:00
joda d3f42e569d add some kerberos related ports 2000-07-22 00:26:42 +00:00
lukem 1a29746222 - fix typo; the first ipsec_start() should be ipsec_prestart()
- if ipsec.conf isn't readable and the system is booting directly to multiuser,
  send SIGTERM to the parent (/etc/rc) so that init(8) aborts the boot.
2000-07-21 01:16:07 +00:00
lukem 262e4b1975 if ipf.conf isn't readable and the system is booting directly to multiuser,
send SIGTERM to the parent (/etc/rc) so that init(8) aborts the boot.
2000-07-21 01:14:23 +00:00
lukem 9c7a535df6 - be consistent in formatting sentences
- note that xdm might need wscons for local X servers (c.f. [install/9967])
2000-07-21 00:25:31 +00:00
lukem 31e7834913 reword description 2000-07-20 23:36:56 +00:00
lukem acae4fe558 in err() and warn() put a : between the ERROR/WARNING label and the message 2000-07-20 23:12:44 +00:00
thorpej f5e99478c8 Build a list of cloning network interfaces to configure, as well
as normal interfaces.
2000-07-20 19:43:10 +00:00
bjh21 00a398bd22 New kernel for small systems 2000-07-19 16:49:08 +00:00
lukem 47a3878257 reenable stop_cmd now that network doesn't get run at shutdown 2000-07-17 15:25:42 +00:00
lukem db024b3733 add '# KEYWORD: shutdown' so that these scripts get run at shutdown time.
now, only scripts with the keyword `shutdown' will be run by /etc/rc.shutdown,
which speeds up shutdown and makes it more robust.
2000-07-17 15:24:48 +00:00
lukem d046f31b64 run rcorder with `-k shutdown', so that only the scripts with a
`shutdown' keyword get run at shutdown time.
2000-07-17 15:23:28 +00:00
lukem 97d13d02c3 * remove bogus comment about aborting the boot if ipsec.conf doesn't exist;
this hasn't really worked and is probably too messy to resolve...
2000-07-17 13:10:54 +00:00
lukem a8b1b91ded * add support for `status'
* remove bogus comment about aborting the boot if ipf fails; this hasn't
  been supported since the rc.d migration and is too messy to resolve...
2000-07-17 12:58:14 +00:00
lukem d92b803c29 use "load_rc_config swap" for swap1 and swap2 2000-07-17 12:27:04 +00:00
lukem 8086bde7eb share the same load_rc_config between the lkm* scripts 2000-07-15 02:30:18 +00:00
lukem bafa86ff31 add usr/share/examples/syslogd 2000-07-13 14:24:13 +00:00
ad 1bc309ff6c - Replace `[ZBN-]' with `flags'.
- kerberos.log isn't generated by syslogd(8). Add `N' flag.
2000-07-11 12:41:06 +00:00
eeh 1feaf31d56 If MACHINE_ARCH is 64-bit then only build 64-bit kernels. 2000-07-07 23:06:09 +00:00
ad 05ca1d3393 Add /etc/{hesiod,passwd}.conf. 2000-07-06 11:11:16 +00:00
itojun 0bfeec5234 sync sendmail default configuration file with GENERIC kernel setting.
was: sendmail-IPv6.cf(v4/v6) + sendmail.cf(v4)
now: sendmail-IPv4only.cf(v4) + sendmail.cf(v4/v6)

do we need etc/obsolete.mi?
2000-07-04 12:21:02 +00:00
enami e0c644c119 Apply same changes done in rev. 1.5 for the entry `hp' which is
added in rev. 1.6
2000-07-03 06:11:23 +00:00
sommerfeld 9928e1fe95 Fix pr9320: improve umask checking for root's dotfiles.
Now even notices bogus umasks like 044
2000-07-02 22:27:47 +00:00
tsarna 202af8ae4a Fix typo (enable -> enabled) 2000-07-02 18:18:20 +00:00
wrstuden becc493865 And let's make some audio devices too. Stolen from port-alpha. 2000-07-01 21:41:41 +00:00
hubertf 3c57129f75 Clarify comment that inetd only starts up IP-based services *that are
enabled in /etc/inetd.conf* (someone asked me last week why NetBSD doesn't
come with a telnet server...)
2000-07-01 20:03:44 +00:00
mrg c76b8a26a9 add "wd" support 2000-07-01 16:27:47 +00:00
minoura ae45dff5fc GENERIC should run on any environment.
It required 6MB of memory;  disable some options/devices so that
it can run on 4MB machines.
2000-06-28 15:27:19 +00:00
thorpej 81a51455cd Fix brain'o in last, pointed out by Johan Danielsson. 2000-06-25 16:25:33 +00:00
thorpej 685a0649a8 lm* -> sysmon 2000-06-24 00:43:26 +00:00
fvdl 1840f1fa18 Allow a higher count of started services for broadcast RPC services. Since
rpcbind version 3 and 4 clients will try broadcasts using both the old
and new protocol for IPv4, the double amount of packets may come in,
causing bogus "service looping" events in inetd.
2000-06-22 11:35:13 +00:00
itojun c60ddc2403 remove ip6defaultif configuration. because:
- ndp is in /usr/sbin, chokes on NFS-mounted /usr installation
- the option is just for IPv6 specification geek, not for normal users
2000-06-20 16:48:14 +00:00
ad bd9588d282 Add /etc/netconfig and /etc/security.local. 2000-06-20 15:01:19 +00:00
enami 295358cfe1 Don't warn that $hostname isn't set if the hostname is already set. 2000-06-20 08:34:33 +00:00
thorpej e7d6b96938 Merge a bunch of things from crypto-us and crypto-intl into basesrc,
adding support for Heimdal/KTH Kerberos where easy to do so.  Eliminate
bsd.crypto.mk.

There is still a bunch more work to do, but crypto is now more-or-less
fully merged into the base NetBSD distribution.
2000-06-20 06:00:24 +00:00
soren fdcd620b35 Less use for kernfs/procfs now. 2000-06-19 18:32:08 +00:00
mrg 8c791f7aee add radius & radacct. 2000-06-18 04:09:54 +00:00
shin 80873ae6f8 make kernels for TX3912 TX3922. 2000-06-17 10:59:27 +00:00
soren d880cab464 MD etc bits. MAKEDEV incomplete. 2000-06-14 05:28:59 +00:00
itojun c45b4229e4 typo 2000-06-14 03:24:16 +00:00
itojun 60cd90f104 TODO; should check /etc/ipsec.conf owner/permission,
while we don't have find(1).
2000-06-13 18:17:13 +00:00
itojun 00ded2c64e add rc.d/ipsec for ipsec configuration. when enabled, it will inject
/etc/ipsec.conf into "setkey -f".  PR 9609.
2000-06-13 16:29:53 +00:00
itojun 246f43dbbb use ${start_precmd} to check duplicate sendmail.cf.
do not use "err" on failure, it is not that fatal (it's okay if we
don't start sendmail)
2000-06-13 15:53:03 +00:00
matt 01c627b9ed Add a wd version of fstab since most macppc now are ide based 2000-06-12 23:06:59 +00:00
matt 2ecddab632 Build GENERIC_MD too. 2000-06-12 23:04:36 +00:00
tsutsui c21cf29460 MD Makefile.inc to make release for news68k.
XXX distrib/notes/news68k is not yet.
2000-06-12 15:09:39 +00:00
shin de480e09b1 Do machine dependent part of 'make release'. 2000-06-12 12:41:40 +00:00
fredb 21fcee54a9 Loosen sendmail's permission checks for building the aliases.db file
even further. Particularly, allow ${DESTDIR} to be within a world writable
directory, such as /var/tmp.
2000-06-12 06:23:21 +00:00
tsutsui af2ad1c7a1 Split /dev/fd/* from std entry. Install floppy does not require them. 2000-06-11 17:30:00 +00:00
mycroft e8c2265aae Make /var/games/sail here. 2000-06-11 15:36:26 +00:00
fredb 9f387ca272 Pass ${MAKEFLAGS} to all recursive invocations of ${MAKE}. 2000-06-11 13:01:29 +00:00
veego a32605d17c pcvt is gone and therefore ttyv[1-7] as well. 2000-06-11 09:13:51 +00:00
wrstuden 63698a2c60 Revert to decemal numbering. From talking w/ Jason, we really should
support more than 256 ports. That would mean 3 digits in hex, and I
don't want to write the script for that..
2000-06-09 17:58:29 +00:00
wrstuden 00ee1c57fc Cyclades-Z tty's are now ttyCZ??, not ttyCZ????. Add support for them
to macppc's MAKEDEV.
2000-06-09 16:59:03 +00:00
fvdl 5b8623bec6 Add and rc.conf.d directory. If a config file for command X exists
(/etc/rc.conf.d/X), then it is sourced in addition of /etc/rc.conf

This means that the base system will still use rc.conf, but that
3rd party scripts can use rc.conf.d
2000-06-09 14:27:57 +00:00
fvdl 75748efda9 Use load_rc_config 2000-06-09 14:14:44 +00:00
tsutsui 2f3b6e9a65 Fix blocksize to match ns/nt/nc. 2000-06-09 12:58:57 +00:00
fvdl 0ced5dd715 Enable -6 flag to nfsd. 2000-06-09 00:08:02 +00:00
matt 8e734e6188 Make the release notes, etc. 2000-06-07 20:29:00 +00:00
sommerfeld b88d86b1b6 Comment out telnet, ftp since they use cleartext passwords (discussed
recently on tech-net, no objection raised except that it doesn't go
far enough..)

Fix misc/10219 as suggested in PR: add -L to rlogind and -l to tftpd
command lines to enable logging.
2000-06-06 12:04:02 +00:00
mycroft 95c4357e1b Add kpop. 2000-06-05 18:12:57 +00:00
tron 0377727ee6 Fix typo in last commit. 2000-06-04 09:34:58 +00:00
tron 306acd3e78 Handle "bktr" related devices like audio devices:
- Create device nodes with numbered names (e.g. "tuner0").
- Create softlinks with unnumbered names (e.g. "tuner") pointing to device
  nodes of unit 0.
2000-06-04 09:34:06 +00:00
itojun 2ece7fc42f use netstat -inv for all address familires. PR 10249. 2000-06-04 08:35:10 +00:00
itojun 609377a40f run sendmail under the following conditions:
- /etc/mail/sendmail.cf exists, no /etc/sendmail.cf
- /etc/mail/sendmail.cf exists, /etc/sendmail.cf same content as
  /etc/mail/sendmail.cf
die in other cases.  PR 10243.
2000-06-04 08:33:58 +00:00
perry e3fc70bd16 Add a ttyaction file for port-i386 that properly sets the ownership
on the console device when you log in using wscons on the console.

Why haven't we had defaults for this all this time?
2000-06-04 00:04:59 +00:00
perry 4d477e62b7 install ttyaction if it exists 2000-06-03 23:53:17 +00:00
veego 5b78d0c312 Rename a remaing comment about portmap to rpcbind. 2000-06-03 17:23:59 +00:00
fvdl a5f38c029b rpcbind uses a pidfile. 2000-06-03 00:17:17 +00:00
fvdl 580b06b52e s/portmap/rpcbind/ 2000-06-02 23:23:27 +00:00
fvdl 02cd59a751 * Portmap is now called rpcbind.
* Add IPv6 RPC entries to inetd.conf (commented out by default, as the others)
* Add netconfig file, needed for TI-RPC code.
2000-06-02 22:54:08 +00:00
matt ce0c35cb45 Make the two installation directories mentioned in INSTALL.* 2000-05-31 21:09:48 +00:00
matt 934311a24b Update instfs to current ramdisk size. 2000-05-31 17:39:55 +00:00
itojun a7c4c34f96 refer PR 10100 for /etc/sendmail.cf check 2000-05-31 16:00:36 +00:00
fredb 1a725dd534 Build and install the release notes. 2000-05-31 15:45:55 +00:00
he d32a31d48c Build boot media and release notes under "snap_md_post", to complete
the "make release".  Largely copied from the i386 port, and adapted.
2000-05-31 14:33:11 +00:00
bouyer f5e3c48aad Depends on quota; when quotached runs while NFS clients are writing,
bad things happens.
2000-05-29 07:10:41 +00:00
tron e63bc36c7f Call "load_rc_config()" earlier so that configuration variables are read
before command arguments are defined. Fixes PR bin/10220 by Ron Roskens.
2000-05-29 06:53:03 +00:00
thorpej bb3e285167 Add Cyclades-Z nodes. 2000-05-28 23:12:15 +00:00
thorpej adbdfe4a4e Fix this so that release notes are build properly upon `make release'. 2000-05-28 17:31:27 +00:00
hubertf cdc1e0be32 /etc/dhclient.conf is *not* required for dhclient to run. 2000-05-26 20:44:17 +00:00
tron e4983783f7 Enhance "rc.lkm" so that it works properly with "/etc/rc.d/lkm[123]". 2000-05-26 17:46:16 +00:00
ad fb3a33ff99 We may as well allow local additions to /etc/security, since it gets done
for the other periodic checks.
2000-05-26 17:08:21 +00:00
thorpej 75db01943c Add `ses' devices. 2000-05-22 17:01:30 +00:00
itojun 60270df72a remove /etc/sendmail and other old items.
PR 10171 from Andrew Brown.
2000-05-22 04:14:30 +00:00
sommerfeld 76b8870254 Add declarations to silence boot-time warnings from named 2000-05-19 13:07:37 +00:00
matt 66b5e3cb8a make miniroot play with distrib/miniroot 2000-05-18 02:03:36 +00:00
matt 61632e05bb Software bloat. we need more space for the ramdisk. 2000-05-17 21:44:15 +00:00
matt 18cbc264e3 build INSTALL for ramdisk. cleanup pcs750.bin rules to not leave droppings
behind.
2000-05-17 21:40:45 +00:00
thorpej 41b9e77eff MAKEDEV goo for Cyclades-Z multi-port serial. 2000-05-17 18:14:10 +00:00
oster 4c318b5d41 At boot, initiate parity/mirror reconstruction as required.
This operation is backgrounded, and sequentially ordered.
2000-05-16 16:54:33 +00:00
tron d683136c9f Don't complain about existence of "/etc/sendmail.cf" if "sendmail" is
not set to "YES" in "/etc/rc.conf".
2000-05-15 06:16:04 +00:00
simonb 598c993af2 Add RCSid. 2000-05-14 23:13:54 +00:00
mycroft e3d7832343 Minor change:
Don't use a backquote expression to get the host name; use a pattern
substitution on lop-nor.ihack.net instead.
2000-05-14 18:20:55 +00:00
tron 24ad7fd36c Add "wscons" to requirement list so that a tty used for syslog output
will be created before starting the syslog daemon.
2000-05-14 13:12:11 +00:00
lukem 5c1b0ec207 Use load_rc_config() (from rc.subr) instead of sourcing /etc/rc.conf.
This allows us or a user to change the configuration file method in
one place - rc.subr - without having to edit all of the rc.d/* files.
2000-05-13 08:45:06 +00:00
lukem 2c25ae21eb Implement load_rc_config(), which takes the config name as an argument.
Currently this just loads /etc/rc.conf, but this will make it easier
for us and users to modify the config mechanism without modifying all
of /etc/rc.d/*.
2000-05-13 08:23:45 +00:00
lukem 78abee064b remove netstart 2000-05-13 08:07:01 +00:00
lukem 92612bb41e this should have been removed as part of the rc.d commit 2000-05-13 08:02:35 +00:00
lukem ff0601b77a remove commented-out entry for mountd, since whilst support for inetd
was added to mountd in mountd.c::1.6, it was removed as part of the
4.4-lite merge in mountd.c::1.12. if the entry was uncommented your
machine might clag up after a showmount as inetd spawned lots of
mountd processes...
2000-05-13 07:28:09 +00:00
lukem d934c3b536 only support reload as an extra command; there's too much special case
code that needs to be implemented to make this script totally replicate
what /usr/sbin/ndc does.
2000-05-13 03:46:42 +00:00
lukem eabbaa2f0c implement three new variables for run_rc_command:
- ${name}_chdir	directory to cd to before running ${command}
    - ${name}_nice	nice level to run ${command} at
    - ${name}_user	user to run ${command} as

based on [misc/9954] by Dave Sainty <dave@dtsp.co.nz>, except that it works :)
2000-05-13 03:07:17 +00:00
wiz 6df6f56909 remove obsolete /usr/X11 entries 2000-05-13 00:57:17 +00:00
thorpej a6ff236176 Pasto in last. 2000-05-12 18:12:55 +00:00
thorpej fe42f7fbab Add all of the arm26 dirs. 2000-05-12 18:11:50 +00:00
groo 51ab46d939 No, *REALLY* add man4/arm26. 2000-05-10 16:53:53 +00:00
groo e37973802e Add {cat,man}4/arm26 2000-05-10 16:46:41 +00:00
bjh21 6c97e2bd78 Initial commit of arm26 port 2000-05-09 21:55:44 +00:00
itojun 4bc21c2fb4 do not let 127.0.0.0/8 leave the node. based on RFC1122. 2000-05-09 10:49:26 +00:00
itojun 10e25f6012 make default sendmail.cf IPv4-only again.
roll sendmail-IPv6.cf, which does IPv4/v6.
2000-05-08 00:37:53 +00:00
veego ce6e7b1e81 Add tun2 and tun3 to the all target and create the ugen0 devices in the
usbs target.
2000-05-07 19:15:21 +00:00
tsarna fff5c01493 This was doubly borken... 2000-05-07 19:03:25 +00:00
tsarna fe4377f98c Only warn on non-default old nfsiod args. 2000-05-07 02:04:20 +00:00
wiz d690122a5e add devices for bktr; also add them to all target 2000-05-07 01:39:27 +00:00
frueauf 83072a01c7 Since src/gnu/usr.sbin is populated add it to the cdpath. 2000-05-06 13:17:33 +00:00
sjg 4157176c27 Added an obj target to ensure that KERNOBJDIR exists - in case
we are using MAKEOBJDIRPREFIX.
Fixed the comment about why we grab ../Makefile.inc
2000-05-06 07:52:19 +00:00
mycroft 5c2de4c3fa Build INSTALL_SMALL. 2000-05-06 05:31:58 +00:00
itojun 13c8f7a2df check /etc/mail/aliases on check_aliases.
/etc/aliases will be checked as well, if exists (for backward compatibility).
2000-05-05 18:28:53 +00:00
itojun 6901565540 sync with sendmail 8.10.1 migration. /etc -> etc/mail
From: Andrew Brown <atatat@atatdot.net>
2000-05-04 01:07:40 +00:00
itojun 78565052f1 do not cope with pre-8.10 configuration file. do not start sendmail.
From: hubert
2000-05-03 17:03:10 +00:00
joda dc09e9637e xntpd -> ntpd 2000-05-03 14:40:39 +00:00
itojun 14e9ff0043 correct typo (sendmail upgrade) 2000-05-03 11:37:16 +00:00
itojun 366bbade5a sync with sendmail upgrade.
- sendmail configuration files are in /etc/mail, not /etc.
- src/etc/aliases will be installed into /etc/mail/aliases (confusing)
- rc.d/sendmail warns if /etc/sendmail.cf exists.
2000-05-03 10:55:19 +00:00
itojun 94dc65714b add /etc/mail, which will be used with sendmail 8.10.x. 2000-05-03 09:24:23 +00:00
itojun 17424fe1fe sync with rc.d/network, about IPv6 prefix filters
(since we still ship it, we need to make it up-to-date)
2000-05-03 07:04:22 +00:00
sjg 45fb67b360 remove/change missleading comments 2000-05-03 00:10:33 +00:00
augustss b09bd0e884 s/xntpd/ntpd/ 2000-05-02 16:31:11 +00:00
simonb e5150c9868 Out with the old, in with the new. 2000-05-02 12:19:20 +00:00
simonb dd4d1cfbc2 Change xntpd to ntpd. 2000-05-02 12:17:28 +00:00
simonb dfbbad05df Use "ntpd.pid" for pid file, change other xntp references to ntp. 2000-05-02 12:16:07 +00:00
augustss 0f7d1d56ff Add a comment about urio. 2000-05-02 12:01:13 +00:00
augustss 7eb7e0a9cd Make urio(4) device node. 2000-05-02 11:59:40 +00:00
simonb f5e35141a6 Remove the never populated /usr/share/doc/xntp, and add /usr/share/doc/html
and the ntp4 subdirectories under that.
2000-05-02 11:49:16 +00:00
augustss 40ca86f953 Make audio devices. 2000-05-02 08:17:51 +00:00
kleink 2e87728bd8 Restructure a bit as to create wscons device nodes using the 'wscons'
argument, rather than enumerating all the terminal devices.  (Convenient
side-effect: ttyEcfg ist actually created.)
2000-05-02 08:03:38 +00:00
sjg 734bcf16ec Use bsd.kernobj.mk
Also if KERNELS_DONE is defined skip building kernels.  Handy if re-spinning
due to errors in distrib later on.
2000-05-02 06:41:44 +00:00
thorpej 0a43d29758 Install the localhost namedb file. 2000-05-01 05:29:34 +00:00
perry 31d7194c3f Add "make distribution" for Postfix. 2000-04-30 21:45:55 +00:00
perry 816886ef7a move /usr/share/postfix to /usr/share/examples/postfix. It makes sense
to have a /usr/share/sendmail because that directory contains the m4
source file for the .cf file in /etc, but for postfix, it really is
just an example.
2000-04-30 18:10:28 +00:00
lukem 0a610ebbd3 use extra_commands= instead of using 2nd argument to run_rc_command 2000-04-30 13:23:04 +00:00
lukem c8ddd6124a - prefix some more local variables with `_' (when you have a convention,
stick to it :-)
- simplify run_rc_script (no need to support fast* or force* here...)
- clarify some comments
2000-04-30 13:16:47 +00:00
lukem 3b853f3018 remove /var/run/dmesg.boot before attempting to write to it 2000-04-30 12:39:56 +00:00
lukem 32c9a44095 - use checkyesno in $start_precmd and change start_cmd to `postfix start'
- use $extra_commands instead of passing "reload" to run_rc_command
2000-04-30 12:21:00 +00:00
lukem 0c2e1a2b7e change run_rc_command() to take the list of extra commands supported
from a variable ($extra_commands) as opposed to from $2-* on the
argument list. it's cleaner; and allows for the possibility of
multiple command arguments being passed to run_rc_command() in the
future.
2000-04-30 12:19:07 +00:00
perry fc2c9714f0 add default alias for postfix pointing to root. 2000-04-30 05:49:10 +00:00
kleink cc7e7b3d7a Fix raw partition number for cd(4) nodes. 2000-04-29 09:47:01 +00:00
veego 63f94fabf2 Fix the last change so it doesn't fail due too a missing '; then'. 2000-04-29 06:01:08 +00:00
abs 9e96565f2e pcmcia modems end up at com3 with a GENERIC kernel, so create a tty03 in std 2000-04-29 00:10:37 +00:00
abs e335e1cd4d useradd defaults to using the 'users' group, so add one. 2000-04-29 00:09:31 +00:00
ad b093a1430b Make ca* devices. 2000-04-28 13:55:04 +00:00
lukem 0c5f67f0ac in check_pidfile and check_process, also match "(" + `basename prog` + ")" .
noted by veego@
2000-04-28 01:40:09 +00:00
thorpej 7a38ab7c44 Don't warn about $hostname not being set if $dhclient == YES; it's quite
likely that we'll be getting the hostname via DHCP when it runs.
2000-04-28 00:13:39 +00:00
veego ebe6c4d40d Use the stop_cmd to unmount the filesystems with 'umount -a'.
This helps to fix the unclean reboots (at least on my system).
2000-04-27 21:00:50 +00:00
veego c9f5754ee8 You need to add a xxx_precmd with a checkyesno yyy if you use a xxx_cmd
in an rc.d script.
2000-04-27 20:58:26 +00:00
tron 9a8415ba0b Add a bunch of SSL services. 2000-04-26 16:28:17 +00:00
lukem 0716b4f382 don't bother checking rc_configured each time run_rc_command executes; once in /etc/rc is enough 2000-04-26 15:06:46 +00:00
thorpej fad0a37405 Provide rc.d support for the Postfix mail system. Committed to the
base because there is no support for packages in rc.d, and Postfix
is supposed to become part of the base system anyhow.
2000-04-26 05:28:03 +00:00
thorpej 0316517d36 Make ccd and raidframe provide `disks', and make swap1 and fsck
depend on `disks', rather than `ccd' and `raidframe'.
2000-04-26 05:13:51 +00:00
itojun dffc281396 add zone file for "localhost.". this is included in examples in BIND8,
and is a good thing to have (no outside DNS server will supply this).
2000-04-26 01:33:27 +00:00
fair 065c791de8 Add skeyaudit to /etc/security (with a variable to disable) per PR 5871 2000-04-24 23:46:37 +00:00
lukem caa2beb10e revert previous; the fast-start functionality already existed, and
works at multi-user boot. (starting /etc/rc after single user boot
doesn't exhibit this fast start behaviour).
2000-04-22 03:01:22 +00:00
itojun 3fff16ff47 rtsol is not a daemon. rtsol.d should have been killed by rc.d/rtsold.
(correct me if i'm wrong)
2000-04-20 02:12:04 +00:00
enami f3d36a14e8 Add login.conf, sysctl.conf and usermgmt.conf. 2000-04-20 02:01:52 +00:00
simonb 72951fce20 Don't need ()'s around "cd ... && ${MAKE} ...". 2000-04-19 13:45:24 +00:00
simonb 5e6480feca Add an "rc_fastboot" variable check in rc.subr, that if set adds
"fast" to the start of the run_rc_command arg.

/etc/rc calls each rc.d script with rc_fastboot=yes so that rc.subr
aware scripts to use "faststart" to skip the process running check.
2000-04-19 04:26:22 +00:00
thorpej a596663a81 nfsiod script is gone. 2000-04-16 04:18:51 +00:00
tsarna a32696c2de Death to nfsiod!
It is replaced by kernel threads that do the same thing. The number of
kernel threads used is set with the vfs.nfs.iothreads sysctl.
2000-04-15 21:14:48 +00:00
lukem f408de971d as this script is primarily for compatibility (with people's
rc.local), call it in a way that is compatible with the old behaviour:
	* remove the stop case
	* don't set $1="start" in the start case

xxx: it's debatable if this script should even exist, but i digress ;-)
2000-04-13 00:39:47 +00:00
lukem 2665e61925 make `stop' a no-op, so that the network doesn't disappear at an
inconvenient time during boot.

this may be fixed a different way in the long term...  (not that the old
rc.shutdown supported stopping the network, or could i really see a
practical use for allowing it at this stage, but in the future someone
might want the functionality i've just disabled).
2000-04-11 05:03:24 +00:00
tsarna 506c359083 Improve backwards compatability and leave securelevel the old way. 2000-04-09 21:00:04 +00:00
tsarna 163510ecf4 The file /etc/sysctl.conf is now run with sysctl -f at boot time.
This replaces the previous /etc/rc.d/sysctl. Also, the variables are now
set earlier, between ipf/ipnat and the network coming up.

The rc.conf defcorename and securelevel variables are no more. You can
set them directly in sysctl.conf now.
2000-04-08 23:02:53 +00:00
thorpej 93f24178a7 dhclient does not, in fact, require /var/db/dhclient.leases to exist. 2000-04-06 17:19:13 +00:00
fredb dc04b64906 - - Take BUILD_KERNELS to be the kernels to make into sysinstall kernels.
- - Clean up.
2000-03-30 03:25:48 +00:00
fredb c4ae664105 Revert last two changes. As pointed out by enami tsugutomo, snap_md_post
is the wrong place to do the splits, as the tar files are not yet made!
2000-03-29 23:47:53 +00:00
soren 5c57db66c3 Add comments. 2000-03-29 15:58:42 +00:00
soren 58e9dbb6aa Mount ext2 fs with kernel on /stand. 2000-03-29 15:58:34 +00:00
enami 129d97f658 routed is live in /sbin, not /usr/sbin. Pointed out by kay@kaynet.or.jp. 2000-03-29 09:09:06 +00:00
soda aea5721be9 from i386 port revision 1.5 by Tsugutomo Enami:
Uncomment out the CD-ROM entry and remove outdated comment for the
reason why it was commented out.
2000-03-29 06:45:35 +00:00
enami a1e356450f Uncomment out the CD-ROM entry and remove outdated comment for the
reason why it was commented out.
2000-03-29 03:43:32 +00:00
enami e8b27ae5ed Check rc_configured also here, and bail out if it isn't set to yes. 2000-03-29 02:13:51 +00:00
fredb 630e63cb47 Don't include ${RELEASDIR} in INSTALLATION_DIRS. Error pointed out by
Urban Boquist in PR install/9689.
2000-03-28 16:26:30 +00:00
thorpej 47cd48f3db Use distrib/sets/Makefile in the release: and new cryptoset: targets. 2000-03-28 00:39:17 +00:00
msaitoh 96b85dc028 set major number of /dev/console to 0 (not 8 (com)) 2000-03-27 19:35:25 +00:00
fredb 7b0e557100 Build the split sets in place on "make release". 2000-03-26 15:48:22 +00:00
enami 3a640d007a Add ftpd.conf. 2000-03-24 22:37:48 +00:00
soren 5ce9472a83 NetBSD/cobalt /etc. 2000-03-19 22:10:56 +00:00
itojun 0a94c72b0f correct reject route installations for IPv6. improve comments. 2000-03-17 17:41:01 +00:00
itojun 10257beef5 comment fix. it is not mandatory to supply the configuration file,
rtadvd(8) can guess the configuration from the routing setups.
2000-03-17 17:35:20 +00:00
lukem 174455c38a fix check for domainname since it can come from /etc/defaultdomain as well as $domainname 2000-03-16 22:22:15 +00:00
ad d52bc434ce Device entries for ca(4). 2000-03-16 14:58:09 +00:00