summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Remove gdm as it is no longer needed.marcus2009-07-181-1/+0
| | | | | Approved by: re (kib) Reminded by: nork
* Remove this file. It is no longer needed as x11/gdm provides its ownmarcus2009-07-181-19/+0
| | | | | | version under /usr/local/etc/pam.d. Approved by: re (kib)
* 1) Use our vendor domain at the pool.dwmalone2009-07-131-11/+16
| | | | | | | | | | | | 2) Point people at the pool website and encourage people to provide a server in the pool (as a courtesy to the pool guys). 3) Fix a spelling. 4) Comment out the local clock and include a link to documentation for use of the local clock on the ntp.org site. Approved by: re (kib)
* Separate the parallel scsi knowledge out of the core of the XPT, andscottl2009-07-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modularize it so that new transports can be created. Add a transport for SATA Add a periph+protocol layer for ATA Add a driver for AHCI-compliant hardware. Add a maxio field to CAM so that drivers can advertise their max I/O capability. Modify various drivers so that they are insulated from the value of MAXPHYS. The new ATA/SATA code supports AHCI-compliant hardware, and will override the classic ATA driver if it is loaded as a module at boot time or compiled into the kernel. The stack now support NCQ (tagged queueing) for increased performance on modern SATA drives. It also supports port multipliers. ATA drives are accessed via 'ada' device nodes. ATAPI drives are accessed via 'cd' device nodes. They can all be enumerated and manipulated via camcontrol, just like SCSI drives. SCSI commands are not translated to their ATA equivalents; ATA native commands are used throughout the entire stack, including camcontrol. See the camcontrol manpage for further details. Testing this code may require that you update your fstab, and possibly modify your BIOS to enable AHCI functionality, if available. This code is very experimental at the moment. The userland ABI/API has changed, so applications will need to be recompiled. It may change further in the near future. The 'ada' device name may also change as more infrastructure is completed in this project. The goal is to eventually put all CAM busses and devices until newbus, allowing for interesting topology and management options. Few functional changes will be seen with existing SCSI/SAS/FC drivers, though the userland ABI has still changed. In the future, transports specific modules for SAS and FC may appear in order to better support the topologies and capabilities of these technologies. The modularization of CAM and the addition of the ATA/SATA modules is meant to break CAM out of the mold of being specific to SCSI, letting it grow to be a framework for arbitrary transports and protocols. It also allows drivers to be written to support discrete hardware without jeopardizing the stability of non-related hardware. While only an AHCI driver is provided now, a Silicon Image driver is also in the works. Drivers for ICH1-4, ICH5-6, PIIX, classic IDE, and any other hardware is possible and encouraged. Help with new transports is also encouraged. Submitted by: scottl, mav Approved by: re
* rtsol should not be run on the wireless NIC interfaces directly,dougb2009-06-261-0/+3
| | | | it will run on wlan0 instead.
* Reverse the effect of r193198 for pf and ipfw which will once againdougb2009-06-266-6/+6
| | | | | | | | | | | | | | | allow them to start after netif. There were too many problems reported with this change in the short period of time that it lived in HEAD, and we are too late in the release cycle to properly shake it out. IMO the issue of having the firewalls up before the network is still a valid concern, particularly for pf whose default state is wide open. However properly solving this issue is going to take some investment on the part of the people who actually use those tools. This is not a strict reversion of all the changes for r193198 since it also included some simplification of the BEFORE/REQUIRE logic which is still valid for ipfilter and ip6fw.
* Usermode portion of the support for swap allocation accounting:kib2009-06-231-0/+1
| | | | | | | | | | | - update for getrlimit(2) manpage; - support for setting RLIMIT_SWAP in login class; - addition to the limits(1) and sh and csh limit-setting builtins; - tuning(7) documentation on the sysctls controlling overcommit. In collaboration with: pho Reviewed by: alc Approved by: re (kensmith)
* Remove the note about using vt220, which makes no sense at all.ed2009-06-147-21/+7
| | | | | | vt220 will not work better. Even though it probably will remove warnings about unknown terminal types, a cons25 emulator is not compatible with vt220 at all.
* Remove HOME= - this has surprised me several times in the past.brian2009-06-141-1/+0
| | | | | | PR: 132135 Submitted by: Craig Leres MFC after: 3 weeks
* Sync termcap.small with main termcap; add xterm entry for libtekenedwin2009-06-131-5/+77
| | | | | | PR: conf/135530 Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> MFC after: 1 week
* Fix typo in cons25l7 definition in etc/termcap.small and share/termcapedwin2009-06-121-1/+1
| | | | | | | | | | There is a minor typo in the cons25l7 (':' instead of '|') entry in src/etc/termcap.small that causes syscons to complain about bogus characters in /etc/termcap.db. PR: conf/132777 Submitted by: Nikos Ntarmos <ntarmos@cs.uoi.gr> MFC after: 1 week
* syslog.conf: pop up from logging only ppp messages at the end of fileavg2009-06-111-0/+1
| | | | | | | | | | | This allows to append custom rules at the end of the file without risk of confusion that can result when one misses default !ppp line and doesn't add another program specification and thus subsequent selector(s) would belong to ppp program block. Requested by: marck Submitted by: marck Approved by: jhb (mentor)
* rc.d/fsck: allow additional options for fsck_y_enable via fsck_y_flagsavg2009-06-102-2/+3
| | | | | | | | | | Primary intention is to allow to pass -C option to avoid (re-)checking clean filesystems when preening fails and fsck -y kicks in. Submitted by: marck Reviewed by: current@ Approved by: jhb (mentor) MFC after: 1 week
* Small cleanups to the jail script:ed2009-06-101-4/+3
| | | | | | | | | - Remove redundant debugging of consolelog. - Use `while :', instead of `while [ true ]'. This is done in other places as well. Submitted by: Jille Timmermans <jille quis cx> (not jilles) Reviewed by: jilles
* add ca_AD, ca_FR and ca_IT localesedwin2009-06-102-0/+36
| | | | | | | | | | | | | | Catalan language is not only spoken in Spain (ca_ES), but also in Andorra, France and Italy. In Andorra it is the official language. (see http://en.wikipedia.org/wiki/Catalan_language#Geographic_distribution) Add a bunch of symlinks to between ca_ES and ca_AD, ca_FR and ca_IT. PR: conf/92541 Submitted by: <rmh@io.debian.net> MFC after: 1 week
* Welcome to a default installed /etc/ntp.confedwin2009-06-072-0/+63
| | | | | | | | | | | | | | | | This NTP configuration file points to the [012].pool.ntp.org servers, which will return a list of geographical local NTP servers. It uses the best-practice options of "iburst" and "maxpoll 9". It gives examples on how to use the "restrict" commands, which are unfortunately not working when you use the pool.ntp.org servers. It sets up a fudge server so any clients syncing against this server will always be synced even if we lose the master. The idea of this file was briefly discussed on -net. PR: conf/58595 Submitted by: Chris Stenton <jacs@gnome.co.uk> MFC after: 1 week
* Add support for the experimental nfs subsystem to the scripts inrmacklem2009-06-026-11/+75
| | | | | | | | | | | | | | /etc/rc.d. They use the following new rc variables: nfsv4_server_enable - set to "YES" to run the experimental server nfsuserd_enable - set to "YES" to run nfsuserd for NFSv4 client and server nfsuserd_flags - command line flags for nfsuserd nfscbd_enable - set to "YES" to run the experimental nfs client's NFSv4 callback daemon nfscbd_flags - command line flags for nfscbd Reviewed by: dougb Approved by: kib (mentor)
* Rather than using both -prune (which requires directory-first tree traversal)brian2009-06-021-4/+4
| | | | | | | | | | | | and -delete (which implies depth-first traversal), avoid using -delete in favour of -execdir. This has a side-effect of not removing directories that contain files, even if we delete all of those files, but IMHO that's a better option than specifying all possible local filesystem types in this script. PR: 122811 MFC after: 3 weeks
* Eliminate the warning that "Values of network_interfaces other thandougb2009-06-011-4/+0
| | | | | | AUTO are deprecated.' There is no good reason to deprecate them, and setting this to different values can be useful for custom solutions and/or one-off configuration problems.
* Make the pf and ipfw firewalls start before netif, just like ipfilterdougb2009-06-0110-11/+7
| | | | | already does. This eliminates a logical inconsistency, and a small window where the system is open after the network comes up.
* Substitute ypset for ypbind in REQUIRE lines. If you use ypset it has todougb2009-06-015-5/+5
| | | | | | | | happen right after ypbind, and before anything that uses NIS. The only change in rcorder accomplished by this patch is make that happen. PR: conf/117555 Submitted by: John Marshall <john@rwsrv05.mby.riverwillow.net.au>
* Small cleanup, add (spurious) quotation marks around the valuedougb2009-05-304-4/+4
| | | | for name= to make these scripts consistent with the rest.
* Now that the last of the *.sh scripts are gone from the base,dougb2009-05-301-2/+2
| | | | emit a warning if come across one.
* As previously advertised, remove this script prior to the 8.0 branch.dougb2009-05-302-19/+1
|
* Update this script so that it handles different ruleset failuresbrian2009-05-281-8/+12
| | | | | | | | | | differently. The output now shows the ruleset and shortens to slightly different text (using $daily_status_mail_rejects_shorten), but it should be more descriptive. PR: 35018 Inspired by: Mikhail Teterin - mi at aldan dot algebra dot com MFC after: 3 weeks
* Delete the old USB stack. The new stack has settled in and has all thethompsa2009-05-271-6/+0
| | | | drivers/functionality and then some.
* Further idmapd garbage collection -- remove rc.d Makefile reference andrwatson2009-05-222-3/+1
| | | | | | default settings. Submitted by: Pawel Worach <pawel.worach at gmail.com>
* Remove the unmaintained University of Michigan NFSv4 client from 8.xrwatson2009-05-221-18/+0
| | | | | | | prior to 8.0-RELEASE. Rick Macklem's new and more feature-rich NFSv234 client and server are replacing it. Discussed with: rmacklem
* Modify src/etc/mtree/BSD.include.dist and src/include/Makefilermacklem2009-05-211-0/+2
| | | | | | | | | | | | | | | | | so that the .h files in src/sys/fs/nfs will be installed under /usr/include/fs/nfs. This will allow the following utilities to build, once additions and changes for the experimental nfs subsystem are committed: usr.sbin/mountd - Once modified to add support for the experimental nfs subsystem. ur.sbin/nfsstat - Once modified to add support for the experimental nfs subsystem. usr.sbin/nfscbd - The client side callback daemon for NFSv4. usr.sbin/nfsuserd - The NFSv4 user/group name<->uid/gid mapping daemon. usr.sbin/nfsdumpstate - The NFSv4 utility for dumping open/lock state. usr.sbin/nfsrevoke - The sysadmin command for revoking NFSv4 state. Approved by: kib (mentor)
* - do not create and mount new file systems on top of the old ones on everydanger2009-05-171-2/+4
| | | | | | | invocation of this script once we already have one (in case tmpmfs="YES"). Reviewed by: dougb
* 1. New feature; option to have the script loop until a specified hostnamedougb2009-05-163-7/+116
| | | | | | | | | | | | (localhost by default) can be successfully looked up. Off by default. 2. New feature: option to create a forwarder configuration file based on the contents of /etc/resolv.conf. This allows you to utilize a local resolver for better performance, less network traffic, custom zones, etc. while still relying on the benefits of your local network resolver. Off by default. 3. Add named-checkconf into the startup routine. This will prevent named from trying to start in a situation where it would not be possible to do so.
* Trim trailing whitespace from the end of a linedougb2009-05-161-1/+1
|
* o Add missed semicolon in action script.maxim2009-05-161-1/+1
| | | | | | PR: conf/134579 Submitted by: Lucius Windschuh MFC after: 1 week
* Set crashinfo_enable to "YES" by default.rodrigc2009-05-141-1/+1
| | | | | | | | | | | During bootup, if /etc/rc.d/savecore detects a core dump file on the dump device, the core file will be saved, and the crashinfo script will be run to generate a human-readable report. This will make it easier for end-users to provide feedback to developers about kernel crashes. Reviewed by: jhb
* Added (pre|post)(start|stop) jail hooks. These can be used to runru2009-04-281-2/+108
| | | | | | | | arbitrary commands (outside the jail) associated with said events, e.g. to bring up/down CARP interfaces representing services run in jails. Reviewed by: simon
* - Add ipfw_nat to the list of required modules if "firewall_nat_enable"emax2009-03-301-2/+12
| | | | | | | | | | is set and "natd_enable" is NOT set; - Accept and pass firewall type to the external firewall script. Submitted by: Yuri Kurenkov < y -dot- kurenkov -at- init -dot- ru > MFC after: 3 days No response from: freebsd-rc
* Add the URL for RFC2142gshapiro2009-03-231-0/+1
| | | | PR: conf/127510
* Add /usr/include/pcap (new in libpcap 1.0.0).rpaulo2009-03-221-0/+2
|
* Add hostid to the ranks.des2009-03-191-0/+1
| | | | MFC after: 2 weeks
* Revert r188010. When dhclient is backgrounded, services such as ntpdate,des2009-03-191-1/+1
| | | | | | | | | | | | sendmail / postfix etc. may fail to start because DNS is unavailable and / or the server is unreachable. In the worst case, the machine may become unusable. Debugging this issue was far more difficult than it should have been, due to earlier changes to the rc framework to hide almost all useful information about the boot process. Approved by: silence
* Add support for setting the debug flags on wlan interfaces after the arebrooks2009-03-132-1/+10
| | | | created using wlandebug_<ifn> variables.
* Backout previous commit due to PEBKACguido2009-03-111-1/+1
|
* When swap resides on a mirror and it is not stopped, the mirrorguido2009-03-101-1/+1
| | | | | is degraded upon the next reboot and will have to be rebuild. Thus call swapoff when rebooting (read: when stopping swap1)
* Install the old usb headers under /usr/include/legacy/dev/usb as they arethompsa2009-02-241-0/+6
| | | | | | | | needed by the hal port. This will be removed before 8.0. Add an exclusion to kdump as some structs will be redefined. Requested by: marcus
* Build fixups for the new USB stack.thompsa2009-02-231-4/+0
|
* Rename the rc.conf(5) knob if_up_delay to defaultroute_delay to bettermtm2009-02-172-4/+4
| | | | reflect its purpose.
* sys/pccard is gone.nyan2009-02-151-2/+0
|
* Remove pts(4) entries from /etc/ttys.ed2009-02-127-3584/+0
| | | | | | | | | | | | | | | Even though I increased the amount of pts(4) entries in /etc/ttys some time ago, I didn't realize back then those entries shouldn't have been there in the first place. I just looked at the getttyent() source code and it turns out when you call setttyent(), it walks through /dev/pts and looks for the device with the highest number. After you receive EOF's from getttyent(), it makes up entries for pts(4) devices. This means that adding entries for pts(4) is somewhat harmful, because if you now traverse the list, you get redundant entries, so just remove them.
* turn off ttyv*; not aware of any arm-based systems with sysconssam2009-02-121-8/+8
| | | | Reviewed by: imp
* Reword informational message by rc.d/defaultroute.mtm2009-02-111-1/+1
| | | | PR: conf/131458
OpenPOWER on IntegriCloud