perry
5f93a646a5
add raid, remove cd drives and floppy drives from the nightly disk
...
permissions checks.
note: This whole thing needs to be rototilled. And yes, I'm
volunteering to do it.
2001-09-23 19:51:20 +00:00
perry
247041e342
Update the password sanity checking thusly:
...
1) If a password entry is of the form \*[A-z-]+, do not complain that
the account is off but has a valid password. Thus you can do
passwords like *ssh to indicate ssh only logins.
We should come up with a standard scheme for what various *keywords mean.
Note that if the field length is 13, 20 or 34 you'll still get
bitched at.
This code should be cleaned up. (So should the password scheme.)
2) If the entry is for "toor", don't complain that the account is off
but has a valid shell. We ship with toor:*:, there is no point in
complaining about it.
Part of the campaign against spurious security warning output.
2001-09-23 19:10:25 +00:00
perry
215d097e45
run mtree on the special file using the new -l option, so it will not
...
complain about things like files set 444 instead of 644.
part of the campaign against spurious output in the nightly security run.
2001-09-22 04:06:23 +00:00
ad
fcf00dcc00
Add `dpti', which is an I2O vendor extension implementing the DPT/Adaptec
...
control interface. This makes it possible to run the Linux versions of
dptmgr, raidutil, dptelog and other tools under NetBSD.
2001-09-21 23:44:19 +00:00
mason
80e5affebe
language corrections
2001-09-19 23:42:21 +00:00
ad
1bdee7b3c6
Create stic devices.
2001-09-18 19:58:41 +00:00
toshii
90d9e7e552
Add a new IANA registered service: italk. (a multilingual chat system)
2001-09-18 03:50:43 +00:00
hubertf
a6d42bbc31
Run uustat with uid=uucp, not with euid=uucp/uid=root, to prevent
...
some badboys gaining back root privs. Inspided by OpenBSD.
Not that we didn't have this forever... (SA, anyone?)
2001-09-17 23:41:32 +00:00
veego
06eedf1e47
Create wsfont in the wscons target, so it would be created during a
...
MAKEDEV all.
2001-09-16 08:19:06 +00:00
manu
c7abdf2c7c
Added the clockctl device for macppc
2001-09-16 07:31:07 +00:00
mrg
3ca38a76ec
add comments for previous; fixes MAKEDEV.8 generation. noted by wiz.
2001-09-15 18:31:50 +00:00
mrg
57dca874e2
create ss, ch, uk and pci devices.
2001-09-15 17:44:47 +00:00
thorpej
5fdfced15e
Make pci and agp device nodes.
2001-09-15 04:45:28 +00:00
thorpej
e27d25403e
Fix a typo.
2001-09-15 04:42:45 +00:00
thorpej
5cd421c8c0
Create dtyC* devices, as well.
2001-09-15 04:41:46 +00:00
nathanw
a089a25a28
Add PCI bus devices.
2001-09-14 21:15:03 +00:00
thorpej
6813f628ef
Make pci device nodes.
2001-09-13 22:09:15 +00:00
jdolecek
41f3e70221
build GENERIC_PS2TINY and make kern-ps2tiny kern set
2001-09-13 18:08:13 +00:00
augustss
504f009161
Add an entry to make wsmux devices.
2001-09-10 21:23:53 +00:00
fvdl
a00e8936cb
Add agp device(s)
2001-09-10 12:58:35 +00:00
martin
ef3e53a669
Add downinterfaces. Noticed by Thomas Klausner.
2001-09-08 06:06:52 +00:00
martin
552b2e3600
Make this work without parameters (i.e. manual invocation)
2001-09-04 20:40:40 +00:00
martin
d7e4ab316c
Add support to down some interfaces before shutting down the system. All
...
pppoe* interfaces are automatically shut down by this script, others may be
added to the force_down_interfaces variable in /etc/rc.conf.
2001-09-04 18:09:13 +00:00
drochner
c2335854a1
add comments for automatic manpage creation
...
(pointed out by Thomas Klausner)
2001-09-03 18:37:15 +00:00
drochner
19e9e70941
add vmegen and wsfont devices
2001-09-03 18:18:25 +00:00
matt
cc353c4912
Sync hpcarm & arm32 conf.c (this entails shifting the i4b major numbers
...
up by one on arm32 and and adding notdef entries on hpcarm).
2001-09-03 01:33:38 +00:00
wiz
09c135bad9
Add some dirs needed for texinfo locale files.
2001-09-02 22:55:08 +00:00
simonb
e60403a3f9
Remove rz/tz support for pmax, switch to MI SCSI.
2001-08-26 11:55:38 +00:00
eeh
97ff24357e
Clean this up so it works again.
2001-08-26 05:31:28 +00:00
mrg
a826a2ecf0
clean up a bit; also fix a snap_pre_md segment to be in snap_md_pre so it is actually executed.
2001-08-23 16:01:56 +00:00
mrg
5b9869d189
don't clobber INSTALLATION_DIRS, just add to it. add support for building
...
32 bit libraries, crt and ld.elf_so on 64 bit platforms (disabled by default).
2001-08-23 14:40:21 +00:00
mrg
31be837848
support kernel configs called `../../sparc64/conf/GENERIC32', and the like,
...
by stripping the dirname off by using ${configfile:C/.*\///} where necessary.
2001-08-23 14:37:02 +00:00
wiz
8624e48221
Add /usr/share/man/{cat,man}8/netwinder.
2001-08-23 01:35:36 +00:00
matt
44c7bc97b4
Add some etc.netwinder support for netwinder. XXX Far from complete
...
but makes snapshots possible.
2001-08-22 18:34:48 +00:00
yamt
4f36ab62b6
chown user.group -> chown user:group
...
according to cvs log of basesrc/etc/etc.sun3/ttyaction and
archive of source-changes, it was backed out with MAKEDEV
because of portability issue.
but i think ttyaction doesn't have that issue as it's never
executed on non-NetBSD environment.
2001-08-21 15:16:59 +00:00
mrg
bf0195348a
the installation directory is called miniroot not xminiroot.
2001-08-19 14:18:39 +00:00
ad
e74599e179
Make newsyslog at boot optional, as it should have been.
2001-08-18 19:50:19 +00:00
wiz
8d6595d978
Add /usr/share/man/{man,cat}4/sun2
2001-08-17 07:15:12 +00:00
lukem
e2773e5d61
run fsck with "-n -f" instead of just "-n"; recent changes to fsck
...
mean that file systems mounted read-write are skipped unless -f is given.
problem noted by andrew brown.
2001-08-09 15:30:30 +00:00
lukem
ed97fbd98d
create /var/named 0755 root:wheel instead of 0750 root:named
2001-08-09 01:32:46 +00:00
matt
799202c512
Fix botched commit (a conflict was committed).
2001-08-05 03:37:37 +00:00
tsutsui
e6b1a09d07
Use "mtree -U" instead of "mtree -u" on making distrib-dirs
...
to ignore file hierarchy unmatches and check exit status of mtree
to detect actual errors on it (like "unknown user/group" etc).
2001-08-04 18:41:18 +00:00
garbled
d472541074
And add sshdconf here too. Christ there are alot of files to update.
2001-08-02 05:47:59 +00:00
ad
aaf3c7c88b
Hook in the mly control interface on i386.
2001-08-01 20:54:16 +00:00
wiz
d2b1c33dc5
Undo last: glob(3) isn't used for _whatdb (yet?).
...
[broke e.g. installation of devel/netcdf]
2001-07-29 15:50:29 +00:00
wiz
a9356936b4
seperate -> separate
2001-07-22 13:33:58 +00:00
jdolecek
5241fef795
add INSTALL_PS2 to BUILD_KERNELS
2001-07-21 13:38:22 +00:00
eeh
9d85345191
Build an INSTALL kernel too.
2001-07-21 05:58:28 +00:00
fredette
b8927f0fc1
Renumbered the minors on the tty devices now that
...
the keyboard and mouse are on ttys now.
2001-07-13 03:24:49 +00:00
lukem
458d1a2516
After itojun's recent RTF_CLONED and other changes, it's not necessary to
...
add a route from an alias address to 127.0.0.1, so remove that code.
It's still necessary to configure lo0 -> 127.0.0.1 though, so emphasize that.
2001-07-08 07:16:00 +00:00
skrll
c7ba90b340
Don't list uk twice.
2001-07-06 07:45:47 +00:00
tron
3543e0f5fa
Start "ipmon" with option "D" for daemon mode instead of starting it
...
in a subshell.
2001-07-05 05:26:57 +00:00
joda
b53f2df0b2
add AFS services, mostly from IANA
2001-07-02 16:07:04 +00:00
lukem
c46620e9a9
take advantage of glob(3) support when defining _whatdb
2001-06-25 21:38:29 +00:00
veego
797097c7d1
Another place where primes was used. Change it to moduli.
2001-06-24 17:28:05 +00:00
itojun
ca02da9f00
pim6dd.conf is gone. primes -> moduli (openssh)
2001-06-23 22:07:06 +00:00
tv
6a7dd372b3
Do what we should have been doing long ago; use /dev/console by default as the
...
boot console tty, so that the console is on the same place that the kernel
dmesg output goes, whether wscons or serial. Users who want to use tty00
or ttyE0 explicitly can change /etc/ttys themselves.
Also use "vt100" as terminal type for /dev/console (for a reasonable baseline
that also works with wscons; pccons is long since no longer default).
This addresses PR install/13249, i386-specific, but may be appropriate to
apply to all ports.
2001-06-19 20:06:46 +00:00
lukem
684e89f355
use mktemp(1) to create temporary directories, and ensure that cleanup traps
...
are setup asap.
2001-06-18 10:54:02 +00:00
lukem
50aa483991
Improve run_rc_script():
...
- Skip files that end with `~', `#', `.OLD' or `.orig', as these are usually
scratch or backup files created by programs, and we don't want to start them.
- Only try and run non `.sh' files if they're executable.
Per discussions with Andrew Brown, and closing his PR [bin/9981].
2001-06-18 06:53:45 +00:00
lukem
f27a0c8f42
Now that "fsck -p" skips file systems that are mounted read-write,
...
always perform the disk check (unless /fastboot exists). Previously
this would only occur when booting directly to multi-user, so the
fsck wouldn't happen after a single user boot going into multi-user.
2001-06-18 06:42:35 +00:00
jdolecek
e3dc57afeb
Make also ed1 for 'all', create ed0, ed1 for 'floppy'
2001-06-17 11:48:09 +00:00
lukem
d7d9b87b1c
Complain if $amd_master is set. This variable was used in 1.5 and prior
...
releases, but has been ignored since an am-utils update six months ago.
This fixes [misc/11971] submitted by Jun-ichiro itojun Hagino. (Note that
$amd_flags is still supported, contrary to what the PR says).
2001-06-17 01:05:40 +00:00
lukem
919eb089e2
change mountd to use its own $mountd variable (instead of $nfs_server).
...
nfsd will complain if mountd isn't set. from [misc/13135] by Johnny C. Lam.
2001-06-16 06:13:09 +00:00
lukem
586521f84e
- Implement an optional global watchdog timeout for rc.shutdown, which is
...
enabled by setting $rcshutdown_timeout to a number of seconds to wait for
before terminating rc.shutdown. This is disabled by default.
- Use symbolic names rather than numbers when defining a trap.
- Improve some comments.
2001-06-16 04:09:19 +00:00
lukem
bd7fad6c47
use symbolic signal names instead of numbers
2001-06-14 07:50:06 +00:00
simonb
a0a111aa26
Add support files for the Walnut.
2001-06-13 15:13:24 +00:00
simonb
d201b0b96b
Add support files for the Walnut.
2001-06-13 14:53:29 +00:00
chris
ecc1e181a0
Checking support for fcom to arm32 MAKEDEV, fixes pr 11076.
2001-06-10 22:07:23 +00:00
chris
68536ce2c4
Fix arm32 MAKEDEV, the script for handling ttyv had a typo.
2001-06-10 22:05:44 +00:00
kim
a81dea8eca
Remove duplicate usr/share/man/cat8/news68k added in revision 1.159...
2001-06-08 21:16:15 +00:00
kim
8966f5524c
not usr/share/man/cat8/new68k but usr/share/man/cat8/news68k
2001-06-08 21:13:23 +00:00
tron
a35d0a5c89
Add missign directory "./usr/share/man/cat8/news68k".
2001-06-08 16:45:37 +00:00
wiz
5fc8a3a2c4
Remove empty sections (confuse MAKEDEV2manpage)
2001-06-08 14:43:20 +00:00
wiz
cffe2f2fdb
Add some more arch-specific man8/cat8 subdirs.
2001-06-08 14:24:44 +00:00
wiz
ed9cc9d27c
scsi(4), not scsi(8)
2001-06-08 14:17:41 +00:00
rafal
c9d0f70329
Fix typoe in Jason's last change.
2001-06-08 01:34:36 +00:00
thorpej
17207724f6
Update the console entries for new tty names.
2001-06-07 20:16:55 +00:00
thorpej
082e7c8634
Change the serial port entries to ttyC? ("com") and ttyZ? ("zstty").
2001-06-07 20:05:13 +00:00
briggs
07afe48412
Add template fstabs for NFS and scsi disk.
2001-06-07 16:47:12 +00:00
tshiozak
4ce7dc7d21
add a new IANA-registered port, SSTP. (a well-known P2P protocol in Japan.)
2001-06-01 16:04:32 +00:00
he
47ae105daa
Add Makefile snippets to install netboot in installation/netboot
...
under ``make release''.
2001-05-28 18:21:12 +00:00
kleink
6ad0537dc7
Look after /etc/primes.
2001-05-28 14:08:50 +00:00
wiz
5362253979
Add /usr/share/man/{cat,man}8/dreamcast
2001-05-27 21:15:59 +00:00
wiz
b294089309
Add comment about how to generate MAKEDEV.8, and remove empty call units
...
section in comment (since MAKEDEV2manpage.pl expects at least one entry
per section).
2001-05-27 21:13:50 +00:00
bjh21
c3f879b368
Add sd* and cd*.
2001-05-27 12:33:59 +00:00
itojun
2160ac71db
install /etc/primes for ssh
2001-05-26 23:27:13 +00:00
marcus
9e4abc4202
Added target to make maple direct access device nodes.
2001-05-26 19:06:09 +00:00
fredette
1e6d1f7076
sunndd has been renamed ndbootd.
2001-05-23 20:29:14 +00:00
fredette
b934309492
sunndd has been renamed to ndbootd.
2001-05-22 14:51:37 +00:00
enami
281a201c49
Install the file sunndd.
2001-05-21 11:09:09 +00:00
fredette
20b5680c6f
Added sun2 etc files.
2001-05-18 00:13:27 +00:00
fredette
bc14be100e
Added rc.d support for sunndd.
2001-05-17 23:19:06 +00:00
wiz
ce7170d77d
Remove bpp before re-creating it. port-sparc64/12934 by John Heasley.
2001-05-14 09:11:10 +00:00
atatat
6534ee3cfb
When backing files listed in /etc/changelist, instead of truncating
...
to the basename of the file, use the whole path with $backup_dir
prepended, in effect mirrorring the directory tree. This eliminates
the possibility of a name collision.
Closes pr bin/12727.
2001-05-10 14:19:27 +00:00
atatat
4e1cbd39fe
Allow embedded hyphens in user names (and group names), just not as the
...
first or last character.
2001-05-10 14:10:15 +00:00
atatat
87c8919798
When using rcs to track backups, force the rcs archive to be unlocked,
...
use only non-strict locking, and leave the archives unlocked after
checking in changes.
2001-05-10 14:04:22 +00:00
lukem
54ef4cb4dc
remove the special case for ttyv0 (which was actually ttyqf renamed), per
...
discussion with matt thomas. (now the vax has 16 more ptys to use! :)
2001-05-10 01:31:40 +00:00
lukem
7fd298e837
remove all reference to ttyv* to pccons, since the kernels for these ports
...
don't implement a character device at the referenced major number (12).
2001-05-10 01:29:57 +00:00
lukem
ae5b452628
remove pcvt references.
...
don't allow pty6 (ttyv*) to be created; conflicts with pccons ttyv0.
2001-05-10 01:05:47 +00:00
lukem
702f01cdba
remove references to pcvt
2001-05-10 01:04:39 +00:00
lukem
4a8c7c2fed
don't prevent pty6 from creating ttyv*, since there's no custom console on ttyv
2001-05-10 01:03:03 +00:00
lukem
b3a31a74db
remove ttyv* entries as pcvt was removed and there's already wscons entries here
2001-05-10 01:01:42 +00:00
lukem
28d6dbb5f3
explicitly set the umask to 022 to be safe
2001-05-09 16:53:45 +00:00
lukem
4c9bb3bc3f
* change wait_for_pids() to spin forever (rather than just ~ 65 seconds).
...
* change the default `stop' case to wait_for_pids after kill $sig_stop.
this means that "/etc/rc.d/foo stop" won't return until the service
has shut down. third party scripts that implement their own stop mechanism
should offer this functionality as well.
* in the default restart case, don't bother doing `$0 poll' in between
stop & start, because of the change above. (XXX: deprecate poll ?)
2001-05-09 16:40:59 +00:00
lukem
ab72f65dcd
Don't try and use single quotes in the RHS of a ${ :+ } expansion
...
because /bin/sh needs a different syntax than ksh (and bash, etc).
Use a more obvious and less error prone method. (This complicated
use of ${:+} was only used to build the su command when running as
a separate user, but could always cause problems.)
Problem noted by Hubert Feyrer in conjunction with /etc/rc.d/sshd.
2001-05-07 07:07:11 +00:00
wiz
d768fd88a7
Enable logging options for (commented out) uucpd and fingerd by default.
...
Addresses misc/10219 by Jim Bernard.
2001-05-06 12:08:57 +00:00
wiz
ee09877887
Remove named.boot (only used by BIND 4.x).
2001-05-06 10:53:32 +00:00
minoura
e4db0897cf
Update for audio(4) from ancient okiadpcm.
2001-05-05 02:08:51 +00:00
drochner
2b60c3bb4f
Add support for selection of a kernel builtin keymap and/or a userspace
...
keymap file to wscons.conf.
Follows PR misc/12760 by Stephen Borrill, but uses the external keymap
file instead of individual key entries in wscons.conf. This saves a lot
of editing work if the map has to be switched.
2001-05-02 15:14:02 +00:00
shin
0aaf465598
run getty on /dev/ttyE0 by default.
...
otherwise, user can't start X server.
2001-05-01 08:56:31 +00:00
lukem
96612eac97
kre notes that "echo -n" is superfluous when creating a zero length file
2001-04-29 23:57:25 +00:00
garbled
a5cfcb8b2b
Add the directory for the new sushi menu system/localtime.
2001-04-29 04:49:55 +00:00
bjh21
749e2d13de
Sync with conf.c
2001-04-28 17:46:11 +00:00
lukem
312711efe8
Treat isdnd interfaces like ppp ones, and REQUIRE isdnd here.
...
Identified by Patrick Welche on current-users.
2001-04-26 03:56:20 +00:00
lukem
bd47d831a1
depend upon isdnd as well
2001-04-26 03:55:16 +00:00
lukem
f1e776b86c
minor cleanup. add note to why syslogd is here (a la note in ppp)
2001-04-26 03:54:38 +00:00
garbled
8032753ad3
Add sushi/system/sysctl to this file.
2001-04-26 02:53:46 +00:00
garbled
9b38738db9
Add all the mtree lines for the sushi procs menu. ::whine:: I hate this
...
file.
2001-04-26 02:37:59 +00:00
lukem
9cd5a025fe
Use /dev/dtyXX instead of /dev/ttyXX, and other cleanups.
...
Heavily inspired by PR 12749 from Scott Telford.
2001-04-25 23:46:12 +00:00
lukem
e595ebd705
be consistent with other scripts when temporarily setting umask to 022
2001-04-25 23:27:37 +00:00
lukem
f08a3bbdf1
wrap file creation operation in: ( umask 022 ; <command...> )
2001-04-25 23:23:37 +00:00
lukem
d2c3bd6a11
- create the default accounting file with a umask of 022.
...
- set and use $accounting_command (/usr/sbin/accton) and
$accounting_file (/var/account/acct)
- fix spelo in message
2001-04-25 23:20:15 +00:00
lukem
18a7a9feca
set the umask to 022 (remembering the previous setting) for ssh_keygen()
2001-04-25 23:18:50 +00:00
lukem
5d63f9209b
store path to ldconfig in a variable and reference that
2001-04-25 13:00:17 +00:00
lukem
3909ce4551
setup tty[p-uw-zP-T]? (kern.maxpty default = 256) instead of just tty[p-s]?.
...
on platforms which don't reserve ttyv? for console on ttyv0, set up ttyv?
2001-04-25 12:59:16 +00:00
jdolecek
a0cf66443f
change comment for accouting; /var/account/acct is not needed to be created
...
manually any more
2001-04-25 11:50:56 +00:00
jdolecek
b0cda2cf0b
If the accouting file doesn't exist, create it if possible.
...
Addresses misc/12735 by Robert Elz.
2001-04-25 11:48:22 +00:00
garbled
2add5244d8
Add the pile of directory entries for sushi's new networking menu tree.
2001-04-25 03:54:26 +00:00
atatat
a6a25381d8
The script called dhclient-script no longer lives in /etc.
2001-04-24 22:41:13 +00:00
pooka
94391160f5
bootpd lives in /usr/sbin, not /etc
2001-04-24 21:55:06 +00:00
aymeric
eea58e8475
don't remove /var/tmp/vi.recover in (commented *out*) find's.
...
this fixes PR 11120.
XXX note that this is supposed never to be uncommented due to a security
issue (see /etc/daily) but there is no reason to do things doubly wrong.
2001-04-22 20:34:48 +00:00
bjh21
9aba6e0cc4
Add arcpp.
2001-04-22 15:03:22 +00:00
shin
c29d379d93
add build kernel.
...
INSTALL_TX3912 INSTALL_TX3922
2001-04-22 02:03:05 +00:00
atatat
7989fb3af8
The script called dhclient-script no longer lives in /etc.
2001-04-21 22:53:36 +00:00
fvdl
17e856341b
Add GENERIC_DIAGNOSTIC to the list of kernels to be distributed.
2001-04-21 20:56:50 +00:00
he
d2741ad4f9
Make sure to depend and build in hp300/stand before doing ``make release''.
2001-04-21 17:58:21 +00:00
he
9593d5023f
Also build and install installation notes under "make release"
...
(actually snap_md_post).
2001-04-21 17:43:24 +00:00
shin
18b3797247
add /dev/altq
2001-04-21 09:54:33 +00:00
lukem
230d9cbc0f
s/dependancy/dependency/. require NETWORK and SERVERS instead of network
2001-04-19 16:18:27 +00:00
lukem
1716d6464b
s/dependancy/dependency/. explicitly require DAEMON
2001-04-19 16:00:29 +00:00
lukem
7d15d5881b
s/dependancy/dependency/
2001-04-19 15:56:32 +00:00
wiz
3e40b73c85
Add some dirs for groff-1.16.1
2001-04-19 14:27:10 +00:00
jdolecek
30f8b9b5fd
add ed disk (MCA ESDI disk)
2001-04-19 07:49:00 +00:00
lukem
8490f0b0c0
* provide wait_for_pids(), which spins until all the given pids don't exist
...
* run_rc_command():
- add support for "poll", which by default, uses wait_for_pids() on
the list of matching processes
- in the "restart" case, call "poll" between "stop" and "start"
this fixes the situation where certain services (e.g, amd, squid) would
take a bit longer to shutdown after receiving the kill signal to shutdown,
and "/etc/rc.d/foo restart" would fail in the `start' phase.
2001-04-18 01:31:40 +00:00
ross
24ba541b4e
Follow up with style commit to put the isdn nodes in major number order.
2001-04-17 01:30:30 +00:00
ross
02e8f1f2e5
First do minimal commit to correct botch in isdn major numbers.
2001-04-17 01:28:55 +00:00
wiz
bb4e2557d0
Add usr/share/man/{cat,man}8/macppc
2001-04-16 08:20:57 +00:00
lukem
c136cf3dfe
wrap kvm_mkdb arg in "s. from adam laurie in pr 12664
2001-04-16 01:38:15 +00:00
msaitoh
12f6faba63
check no_swap
2001-04-13 22:31:16 +00:00
pk
87f992edd6
Put `gated' back; we still refer to it.
2001-04-12 09:59:18 +00:00