Commit Graph

2837 Commits

Author SHA1 Message Date
Nik Clayton
4ed950ad98 Include a mention of WRKDIRPREFIX, useful when mounting /usr/ports readonly
from another host.
2001-06-15 08:35:57 +00:00
Dima Dorfman
84d86fba8d Pass -a to dmesg(8).
PR:		26870
Submitted by:	Tomonobu AKIMOTO <akimoto@xephion.ne.jp>
2001-06-14 04:30:46 +00:00
Poul-Henning Kamp
88627d6b19 Remember to install diskcheckd.conf 2001-06-13 16:39:23 +00:00
Anton Berezin
33ea028f0f Recognize and support new output which pkg_version(1) might produce.
PR:             27707
Approved by:    bmah, markm
2001-06-11 21:31:50 +00:00
Hajimu UMEMOTO
449eb73569 prefixcmd_enable was obsoleted by syncing recent KAME. New prefix(8)
is just a shell script for backward compatibility.  Now, we always use
ifconfig(8) instead of prefix(8).

MFC after:	3 weeks
2001-06-11 13:28:05 +00:00
Ruslan Ermilov
e72aa2fa57 The README file says:
c)  The listing should be kept in filename sorted order.
2001-06-11 12:48:45 +00:00
Hajimu UMEMOTO
3384154590 Sync with recent KAME.
This work was based on kame-20010528-freebsd43-snap.tgz and some
critical problem after the snap was out were fixed.
There are many many changes since last KAME merge.

TODO:
  - The definitions of SADB_* in sys/net/pfkeyv2.h are still different
    from RFC2407/IANA assignment because of binary compatibility
    issue.  It should be fixed under 5-CURRENT.
  - ip6po_m member of struct ip6_pktopts is no longer used.  But, it
    is still there because of binary compatibility issue.  It should
    be removed under 5-CURRENT.

Reviewed by:	itojun
Obtained from:	KAME
MFC after:	3 weeks
2001-06-11 12:39:29 +00:00
Andrey A. Chernov
8513f6b5b2 ISO_ -> ISO, calendar 2001-06-11 02:59:08 +00:00
Andrey A. Chernov
fe6f7d3ab4 ISO_ -> ISO in DOC_LANG 2001-06-11 01:26:52 +00:00
Andrey A. Chernov
bfa2fcca85 Back out *.US-ASCII compactification - application should decide 2001-06-10 22:32:39 +00:00
Andrey A. Chernov
bda67ecc50 Add man/en.ISO8859-1 hierarchy 2001-06-10 21:55:32 +00:00
Andrey A. Chernov
f3573821ba Deal properly with *.US-ASCII family 2001-06-10 18:44:01 +00:00
Andrey A. Chernov
5d392cddf6 Fix Latin1 man directories for new locale names 2001-06-10 16:36:09 +00:00
Brian Somers
4524e002f7 Add a missing \n
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
PR:		28014
MFC after:	1 week
2001-06-10 16:21:56 +00:00
Andrey A. Chernov
b5ebdd9c03 New locale names and aliases to old ones 2001-06-10 13:02:52 +00:00
Sheldon Hearn
2684d2270d Back out rev 1.268.
Requested by:	wollman, rwatson
2001-06-10 12:09:11 +00:00
Sheldon Hearn
762ca7cedc Fix /etc/rc so that all remote filesystems, not just NFS, are mounted
after the network is configured.

Future remote filesystem types should be added to remote_fstypes, which
is a whitespace-delimited list of type:description pairs.

The specific problem this fixes right now is that smbfs mounts described
in /etc/ftsab were failing.
2001-06-09 09:47:05 +00:00
FUJISHIMA Satsuki
7aea17b102 add new directories for XFree86-4.1.0.
Reviewed by:	ru
2001-06-07 14:46:55 +00:00
Daniel C. Sobral
295458873b Unbreak world by adding the new example directiory.
Reminded by:	Niels Chr. Bank-Pedersen <ncbp@bank-pedersen.dk>
MFC after:	1 week
2001-06-06 19:11:32 +00:00
Ruslan Ermilov
57168893b2 Don't use tabs here! 2001-06-05 07:07:52 +00:00
Joerg Wunsch
4dd07260ca Round #2 of the sys/isa/ic/ => sys/dev/ic/ move: install sys/dev/ic
as /usr/include/dev/ic.
2001-06-04 21:15:05 +00:00
Mark Murray
6de0745666 Extend the su(1) example to take into account recent options to give
a more BSD flavour.
2001-06-04 19:52:36 +00:00
Hajimu UMEMOTO
9a75ebb245 Remove configuration file for pim6[ds]d.
Submitted by:	sumikawa
2001-06-04 14:53:52 +00:00
Poul-Henning Kamp
7afdb22d23 Add diskcheckd to /etc/rc with a knob in rc.conf.
Make the default setting YES for now to get some experience with it.

Note: If people starts seeing disk errors because of this then it
should not be backed.
2001-06-03 20:15:13 +00:00
Poul-Henning Kamp
849f35cf88 Add diskcheck-daemon.
With a small disk being 20GB these days, chances are pretty good that
an ailing sector will not be read while still being recoverable by
the drive.

Diskcheck daemon will read disks in the background at a low rate and
that way give the diskdrive a chance to detect and correct soft read
errors before they become hard errors.

Idea by:	phk
Written by:     ben
2001-06-03 20:02:03 +00:00
Brian Somers
c34b6be0cd Move gif_interfaces from an IP6 option to a regular IP option.
PR:		26543
Submitted by:	Brooks Davis <brooks@one-eyed-alien.net>
MFC after:	3 weeks
2001-06-03 12:26:56 +00:00
Doug Barton
ebb4c1b9a4 Small adjustment to whitespace in output 2001-06-01 16:40:57 +00:00
Ruslan Ermilov
0b381bf1fd Remove vestiges of MFS. 2001-06-01 10:07:28 +00:00
David E. O'Brien
25d1a10fa0 Both X11 (3.x and 4.x) currently lack a libdata/ subdirectory,
(which is present both in /usr and /usr/local) which is causing a few
ports to erroneously report mtree failures on bento.

Submitted by:	ade
2001-06-01 09:56:15 +00:00
Mark Murray
7ed3b855bb PERL_THREADED is too experimental at this stage. Remove. 2001-05-31 11:19:00 +00:00
Doug Barton
311176d1c5 Truly limit the path to local filesystems. 2001-05-31 09:53:53 +00:00
Warner Losh
6a40ef8254 Add Billionton LNT-10TN
Submitted by: Miklos Niedermayer <mico@bsd.hu>
PR:	conf/27726
2001-05-30 21:30:40 +00:00
Brian Somers
f8fb1acb36 Default daily_accounting_flags to -q. I thought this was a typo in the
originally submitted patch (oops!).

Also check for an empty $daily_accounting_save.

Submitted by:	Udo Schweigert <Udo.Schweigert@cert.siemens.de>
2001-05-30 20:23:43 +00:00
Brian Somers
c4d5bb5129 Add $daily_accounting_save and $daily_accounting_flags
Submitted by:	Udo Schweigert <Udo.Schweigert@cert.siemens.de>
MFC after:	2 weeks
2001-05-30 16:46:53 +00:00
Jun Kuriyama
45e04cedb6 Add Melco's WLI-PCM-L11G.
MFC after:	1 week
2001-05-30 07:09:44 +00:00
Warner Losh
cecfe930f1 List the valid IRQs and the non-sharingness.
Submitted by: gshapiro
2001-05-30 05:29:42 +00:00
Poul-Henning Kamp
f8e4bfdd16 Stop creating vn(4) devices. 2001-05-29 09:30:42 +00:00
Poul-Henning Kamp
4650edf91e Remove altmodishe "[bc]dev, " comments.
PR:		18836
Submitted by:	ben
2001-05-29 09:29:29 +00:00
Poul-Henning Kamp
142ef1abd5 /var/log/console.log should be mode 600.
PR:		25329
Submitted by:	Yoshihiro Koya Yoshihiro.Koya@math.yokohama-cu.ac.jp
MFC after:	1 week
2001-05-28 20:54:34 +00:00
Gregory Neil Shapiro
dfd79cda05 Take advantage of the new OSTYPE(freebsd4) in sendmail 8.11.4
MFC after:	1 week
2001-05-28 17:49:51 +00:00
Sheldon Hearn
24c3179f4e Replace old-style "chown foo.bar" with orthodox "chown foo:bar". 2001-05-28 13:43:26 +00:00
Yaroslav Tykhiy
58f43c087f Don't confuse the admin with spurious error messages
about non-existent mount directories (which would come
into existence after the real mount has occured) when just
testing for if there are any NFS filesystems in /etc/fstab.

PR:		bin/26597
Submitted by:	Dmitry Morozovsky <marck@rinet.ru>
MFC after:	3 days
2001-05-27 22:50:22 +00:00
Sheldon Hearn
68933300c9 The PERL_THREADED knob is causing too many people too many problems.
Add a dire warning about the experimental nature of threaded Perl.
2001-05-27 11:23:31 +00:00
Hellmuth Michaelis
8d935c53ef update the sample isdnd.rc file with a firmware keyword example and a real
world example of the use of the valid keyword in conjunction with budget
handling.
2001-05-27 08:05:57 +00:00
Ruslan Ermilov
8a8402d3a5 - sys/n[tw]fs moved to sys/fs/n[tw]fs
- /usr/include/n[tw]fs moved to /usr/include/fs/n[tw]fs
2001-05-26 11:57:45 +00:00
Mark Murray
6b4a8181a4 Improve and extend. Use new modules to set policy, and provide another
example for WHEELSU-type su(1).
2001-05-26 09:56:17 +00:00
Bruce A. Mah
be197e98fa List new directories created under share/examples/isdn/* in order to
unbreak installworld.
2001-05-25 23:40:58 +00:00
Ruslan Ermilov
1166fb516b - sys/msdosfs moved to sys/fs/msdosfs
- msdos.ko renamed to msdosfs.ko
- /usr/include/msdosfs moved to /usr/include/fs/msdosfs
2001-05-25 08:14:14 +00:00
Warner Losh
48b4a07401 Add support for
card "D" "Link DWL-650 11Mbps WLAN Card"
which is the most amusing CIS mistake I've seen in some time.

# I'm using this card to make this commit!
2001-05-25 02:24:15 +00:00
David E. O'Brien
11c8719c55 I didn't fix the comment in rev 1.107. 2001-05-25 01:46:39 +00:00
David E. O'Brien
7830e160d6 Turn on TCP_EXTENSIONS (rfc1323) by defualt. 2001-05-25 01:43:42 +00:00
Ruslan Ermilov
f3bb47cca0 Add NO_I4B to avoid building/installing isdn4bsd package.
Prompted by:	Alexandr Listopad <laa@laa.zp.ua>
MFC after:	3 days
2001-05-23 13:32:32 +00:00
Ruslan Ermilov
99d300a1ec - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION file
systems were repo-copied from sys/miscfs to sys/fs.

- Renamed the following file systems and their modules:
  fdesc -> fdescfs, portal -> portalfs, union -> unionfs.

- Renamed corresponding kernel options:
  FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS.

- Install header files for the above file systems.

- Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland
  Makefiles.
2001-05-23 09:42:29 +00:00
Dima Dorfman
692bb1c3bb Introduce a background_fsck rc.conf option which allows the user to
enable or disable background fsck'ing all in one shot.  Default is
currently 'YES'.

Reviewed by:	jkh
2001-05-22 00:05:48 +00:00
Brian Somers
4be854757b Back out previous commit. digiio.h has moved to /usr/include/sys 2001-05-19 09:29:12 +00:00
Jens Schweikhardt
7ed8a8260f Anti-foot-shooting for pcvt users: ignore isdn_screenflags which is
only for syscons.

Requested by:	Alexander Leidinger <Alexander@Leidinger.net>
MFC after:	7 days
2001-05-19 08:17:35 +00:00
David E. O'Brien
d3ebe37cd0 Restore the RSA host key to /etc/ssh/ssh_host_key.
Also fix $FreeBSD$ spamage in crypto/openssh/sshd_config rev. 1.16.
2001-05-18 18:10:02 +00:00
Brian Somers
b36a733b6e Run network6_pass1 if ipv6_enable is YES 2001-05-18 09:14:39 +00:00
Duncan Barclay
4ea5be29f2 Add an entry for RAYLINK pccard using the ray driver.
MFC after:	3 days
2001-05-17 19:55:11 +00:00
Brian Somers
c19b335eac Add /usr/include/dev/digi/ 2001-05-17 01:41:57 +00:00
Jesper Skriver
b10cf90768 Link /etc/ssh/ssh_host_key to /etc/ssh/ssh_host_rsa_key to deal with
gratutious changes in the latest SSH

Reviewed by:	obrien
Approved by:	obrien
2001-05-16 19:23:54 +00:00
Gregory Neil Shapiro
c0ceaffbe6 Allow users to add local Makefile targets.
Submitted by:	dinoex
MFC after:	7 days
2001-05-15 16:03:54 +00:00
Gregory Neil Shapiro
f3850b5461 Make the default .mc file be hostname.mc if SENDMAIL_MC make.conf knob
is not set.  This allows admins to create a per-machine configuration file
while leaving the freebsd.mc template pristine.  Provide a rule to create
`hostname`.mc from freebsd.mc if it doesn't exist.

PR:		misc/26299
MFC after:	8 days
2001-05-15 16:01:40 +00:00
Jens Schweikhardt
b2be78381d New option isdn_screenflags to set the syscons screen params for isdnd,
plus documentation.

Submitted by:	Alexander Leidinger <Alexander@Leidinger.net>
Not objected to by:	hm
MFC after:	1 week
2001-05-14 20:51:10 +00:00
Peter Wemm
ffb82a6f2b Back out rev 1.260. The 'streams' module is a registered dependency of
the 'svr4' module already.  This was a 4.x-only problem and should not
have been MFS'ed.
2001-05-13 20:43:30 +00:00
Andrey A. Chernov
5a7c83c3e4 Add sk_SK
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
2001-05-13 16:32:45 +00:00
Assar Westerlund
eba4f69287 clarify comment about MAKE_KERBEROS5. noticed by Peter Pentchev
<roam@orbitel.bg>
2001-05-12 14:38:00 +00:00
Dirk Froemberg
2828b33147 Add 470.status-named.
Reminded by:	gshapiro
2001-05-11 09:32:48 +00:00
Kirk McKusick
b147605924 Update the fsck command in /etc/rc to use the new background
fsck checking. Applying these changes (typically via mergemaster)
will cause your system to start running background checks on all
your soft update enabled filesystems (provided that you have
a kernel with the required functionality, e.g., one built since
the end of April). Please report any and all problems to
mckusick@mckusick.com (not mckusick@freebsd.org which I read
infrequently). See the comment above the fsck command in /etc/rc
for instructions on how to disable background checking should it
cause you too much trouble.

Several FAQs:

1) Can I reboot before the background checks are done?

Ans) Yes, when the system restarts the checks will pick up
     where they left off.

2) Can a crash during checking corrupt my filesystem?

Ans) No, recovered resources are returned to the system using soft
     updates which ensure that the freeing is done in a safe order.

3) How will I know if any background checks are being done?

Ans) Filesystems that are to be checked in background will be listed
     as `DEFER FOR BACKGROUND CHECKING' at the usual fsck check time
     during system startup.

4) What happens to the output of the background checks?

Ans) It is sent to syslog `daemon' facility log level `notice'.

5) When will this feature be available in the 4.X kernel?

Ans) Never. It is much too radical and extensive a change to be
     MFC'ed. Besides, it needs many months of experience and
     tuning before it is ready for widespread use.

6) What happens if a background fsck fails (i.e., fsck finds
   errors that would normally require a manual fsck)?

Ans) The filesystem will be marked as needing a manual fsck.
     At the next system reboot, the check will be done in
     foreground and the usual actions taken (usually a failure
     to go multi-user until fsck has been run by hand on the
     affected filesystem).
2001-05-11 07:40:39 +00:00
Brian Somers
44ced8b3c5 Delete everything that's not a directory in /var/run and /var/spool/lock
at boot time.

MFC after: 3 weeks
2001-05-10 09:25:10 +00:00
Hajimu UMEMOTO
882a13da9c Avoid flushing IPv6 routes. `route flush' removes necessary
routes for IPv6 as well as IPv4 routes.
2001-05-09 20:30:55 +00:00
Brian S. Dean
44e0389495 * Simplify the population of the /etc memory filesystem. To avoid
the null mount, we currently create a temporary mfs on /tmp, copy
    /etc to /tmp, then mount /etc as mfs and copy everything back from
    /tmp, then delete the /tmp mfs.

    The patch eliminates the temporary /tmp mfs and the subsequent
    copying and simply populates the /etc mfs by copying from
    /conf/default/etc.  This requires that /conf/default/etc contain a
    complete copy of all the /etc stuff instead of just overrides.  I
    don't think that is too much of an extra step in setting up a
    diskless environment.

  * Provide the ability to make /tmp a memory filesystem independent
    of /var.  This removes the requirement that /tmp be a symlink to
    /var/tmp and this makes the diskless code work with the default
    filesystem layout.  If a seperate /tmp memory filesystem is
    created, the 'tmpsize' environment variable is used to determine
    its size (default to 10 Meg).

  * Reduce diffs between the -current and -stable versions of these
    files to a bare minimum.  Only the definition of the shell
    function 'mount_md' is different.

Not Objected to by: -arch@, -small@

MFC after: 2 days
2001-05-09 15:13:51 +00:00
Peter Wemm
b7c90f028d s/ssh_host_key/ssh_host_rsa_key/ since that is what openssh uses now
after a mergemaster.
2001-05-09 07:46:44 +00:00
Nick Sayer
76235b992b Add PAM support to SRA authentication. Cribbed mostly from ftpd. This
doesn't solve the problem of root being allowed to log in, but that sort
of thing is something PAM should be doing anyway.
2001-05-07 20:38:39 +00:00
Jens Schweikhardt
315e40d22b Use foo () instead of foo ( ) for function definition,
so zsh can parse this file as well.
2001-05-07 14:15:02 +00:00
Brian Somers
7f17ea13a3 Fix a misleading comment
Submitted by:	Mark Knight <markk@knigma.org>
2001-05-02 09:29:20 +00:00
Brian Somers
ad01e0c856 Add a ``digi'' driver.
This driver supports PCI Xr-based and ISA Xem Digiboard cards.
dgm will go away soon if there are no problems reported.  For now,
configuring dgm into your kernel warns that you should be using
digi.  This driver is probably close to supporting Xi, Xe and Xeve
cards, but I wouldn't expect them to work properly (hardware
donations welcome).

The digi_* pseudo-drivers are not drivers themselves but contain
the BIOS and FEP/OS binaries for various digiboard cards and are
auto-loaded and auto-unloaded by the digi driver at initialisation
time.  They *may* be configured into the kernel, but waste a lot
of space if they are.  They're intended to be left as modules.

The digictl program is (mainly) used to re-initialise cards that
have external port modules attached such as the PC/Xem.
2001-05-02 01:08:09 +00:00
Poul-Henning Kamp
92fa92b327 Don't mount a md(4) over /dev on DEVFS enabled diskless systems. 2001-05-01 20:13:59 +00:00
Dima Dorfman
ac25a66fb3 Add an allscreens_kbdflags option. Same thing as allscreens_flags,
but runs kbdcontrol instead of vidcontrol.

Reviewed by:	ru
2001-04-28 20:56:53 +00:00
Josef Karthauser
dc9c693750 Remind the user that they need to check CPAN manually for updates
to perl5 modules installed by hand.
2001-04-28 16:15:50 +00:00
Ruslan Ermilov
c59eb7cfb5 Removed reference to withdrawn secure-supfile. 2001-04-27 12:15:15 +00:00
Hajimu UMEMOTO
4f34d18339 Enable static IPv6 address assignment on PCMCIA NIC.
PR:		conf/26633
2001-04-26 17:33:37 +00:00
Alexander Langer
4e64bc892d "Portmapper" -> "Rpcbind" in a comment. 2001-04-26 13:43:02 +00:00
Jim Mock
20affa347a Document XFREE86_VERSION. 2001-04-25 19:27:39 +00:00
Ruslan Ermilov
2c1f07ae14 Fixed typo.
PR:		bin/26836
Submitted by:	Matthew Seaman <matthew.seaman@tornadogroup.com>
2001-04-25 12:11:54 +00:00
Warner Losh
9f474ffc5c Move to using md.
o create a simple wrapper function mount_md that makes it easy to
  move from mount_mfs.

# NOTE: you will need to MAKEDEV md[0123] in order for this to work.

Reviewed by: bsd, keichii
2001-04-25 05:46:40 +00:00
Jens Schweikhardt
1208c7eed2 Add isdn_ttype (moved to rc.conf from rc.isdn)
PR:		conf/24865
Submitted by:	schweikh
Reviewed by:	hm
2001-04-24 20:02:31 +00:00
Jens Schweikhardt
51e41a3522 Don't hardcode isdn_ttype overwriting rc.conf settings.
PR:		conf/24865
Submitted by:	schweikh
Reviewed by:	hm
2001-04-24 20:01:25 +00:00
Warner Losh
c23b0b247d MFS: the MFS still applies to -current until such time as someone fixes
rc.diskless2 to use mdconfig rather than mount_mfs.  These changes are
still relevant to -current.
2001-04-24 07:02:01 +00:00
Maxim Sobolev
bcc11eec02 Add missed and update existing MASTER_SITE_*. 2001-04-22 19:01:44 +00:00
Dirk Froemberg
624fe60635 Checking of denied zone transfers is now done in
periodic/daily/470.status-named.
2001-04-21 22:37:54 +00:00
Dirk Froemberg
56f25ab092 Check for denied zone transfers (AXFR and IXFR). 2001-04-21 22:36:30 +00:00
Andrey A. Chernov
557d3d1c9c Fix typo in mouse_char range 2001-04-21 16:22:26 +00:00
Andrey A. Chernov
ad6931f954 Sync with main v1.105 2001-04-21 13:27:05 +00:00
Brian S. Dean
58d3c43935 Eliminate the null mount for /etc for diskless clients. 2001-04-20 23:10:11 +00:00
Andrey A. Chernov
f3312e5d3f Sync with main termcap 2001-04-19 22:21:18 +00:00
Maxim Sobolev
c5ab496267 Comment out vfs.vmiodirenable=0 by default, to prevent inproducing another
place where default sysctl value have to be tweaked if we ever would want
to switch kernel default to 1.

Submitted by:	dillon
2001-04-19 17:21:53 +00:00
Andrey A. Chernov
b9ea7307d3 Add mousechar_start hook
Reviewed by:	Nick Hibma <n_hibma@qubesoft.com>
2001-04-19 14:53:47 +00:00
Maxim Sobolev
1dd8bcf144 o Install sysctl.conf with all other *.conf files;
o put a note into sysctl.conf describing vfs.vmiodirenable knob.

OK'ed by:	alfred
2001-04-19 13:47:53 +00:00
Hajimu UMEMOTO
94df9754e5 Add missing entry for ospf6d.
Submitted by:	Akihiro Kosakada <pdp@cyber-fleet.com>
2001-04-19 09:10:15 +00:00