summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Add the ability to run /usr/sbin/crashinfo on a new core dump automaticallyjhb2008-08-292-0/+5
| | | | | | | during boot. Right now this is disabled by default, but it can be enabled by setting 'crashinfo_enable=YES' in rc.conf. MFC after: 2 weeks
* Google changed the location of the blacklists again.gshapiro2008-08-281-1/+1
| | | | Submitted by: Tim Pozar
* Make obrien happy #2des2008-08-251-1/+0
|
* Make obrien happydes2008-08-252-29/+1
|
* Restore 256 pty(4) entries.ed2008-08-247-0/+1792
| | | | | | | | | | | | As discussed with Robert Watson on the src-committers list, it is safer to keep at least some pty(4) entries in /etc/ttys, for applications that roll their own PTY allocation routine and only search for BSD-style PTY's. This means we've now just toggled the amount of entries for pts(4) and pty(4). Requested by: rwatson
* Remove old BSD-style entries from /etc/ttys and increase pts(4) to 512.ed2008-08-237-3584/+1792
| | | | | | | | | Because we now use pts(4)-style PTY's exclusively, there is no use for these entries in /etc/ttys. Right now the pts(4) entries only go from 0 to 255. Because we're going to touch these files anyway, increase the number to 511. Discussed with: philip (ex-mentor)
* Cope with the file rename by changing rc variables.rpaulo2008-08-211-4/+4
|
* Integrate the new MPSAFE TTY layer to the FreeBSD operating system.ed2008-08-202-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last half year I've been working on a replacement TTY layer for the FreeBSD kernel. The new TTY layer was designed to improve the following: - Improved driver model: The old TTY layer has a driver model that is not abstract enough to make it friendly to use. A good example is the output path, where the device drivers directly access the output buffers. This means that an in-kernel PPP implementation must always convert network buffers into TTY buffers. If a PPP implementation would be built on top of the new TTY layer (still needs a hooks layer, though), it would allow the PPP implementation to directly hand the data to the TTY driver. - Improved hotplugging: With the old TTY layer, it isn't entirely safe to destroy TTY's from the system. This implementation has a two-step destructing design, where the driver first abandons the TTY. After all threads have left the TTY, the TTY layer calls a routine in the driver, which can be used to free resources (unit numbers, etc). The pts(4) driver also implements this feature, which means posix_openpt() will now return PTY's that are created on the fly. - Improved performance: One of the major improvements is the per-TTY mutex, which is expected to improve scalability when compared to the old Giant locking. Another change is the unbuffered copying to userspace, which is both used on TTY device nodes and PTY masters. Upgrading should be quite straightforward. Unlike previous versions, existing kernel configuration files do not need to be changed, except when they reference device drivers that are listed in UPDATING. Obtained from: //depot/projects/mpsafetty/... Approved by: philip (ex-mentor) Discussed: on the lists, at BSDCan, at the DevSummit Sponsored by: Snow B.V., the Netherlands dcons(4) fixed by: kan
* Rename the RCng 'kernel' script to 'kernel_symlink'.obrien2008-08-201-1/+1
|
* Rename the RCng 'kernel' script to 'kernel_symlink'.obrien2008-08-192-2/+1
| | | | Requested by: many
* Allow the network addresses and interface names for the "client" andjhb2008-08-152-6/+24
| | | | | | | | | | | | "workstation" firewall types to be set from rc.conf so that rc.firewall no longer needs local patching to be usable for those types. For now I've set the variables in /etc/defaults/rc.conf to the previous defaults in /etc/rc.firewall. PR: bin/65258 Submitted by: Valentin Nechayev netch of netch.kiev.ua Silence from: net MFC after: 2 weeks
* For the "client" and "simple" network types, collapse the separate "net"jhb2008-08-151-14/+11
| | | | | | | | and "mask" variables into a single "net" variable that contains a full network address (including either a netmask or prefix length at the user's choice). Update the example settings to match. MFC after: 2 weeks
* Use 'me' rather than explicit IP addresses for the "simple" and "client"jhb2008-08-151-12/+9
| | | | | | | | firewall configurations. PR: bin/65258 Silence on: net@ MFC after: 1 week
* For the firewall_* variables that are specific to the "workstation"jhb2008-08-151-7/+9
| | | | | | firewall type, note that property in their description. MFC after: 1 week
* Improve periodic/security/550.ipfwlimit a bit:antoine2008-08-101-6/+3
| | | | | | | | | - don't run it if net.inet.ip.fw.verbose = 0 as it is pointless - handle rules without logging limit correctly [1] (those rules show up without logamount in "ipfw -a list") PR: conf/126060 [1] MFC after: 1 month
* Only symlink booted kernel directory to /boot/kernel if user has explicitlyobrien2008-08-092-0/+2
| | | | requested it. This is too dangerous to just do behind the admin's back.
* Add /usr/share/man/whatis, /var/db/locate.database, and /var/log to thecperciva2008-08-081-0/+3
| | | | list of paths which `freebsd-update IDS` should ignore by default.
* - back out my last commit as it seems to be wrong.danger2008-08-031-2/+0
| | | | Spotted by: das
* Make `freebsd-update IDS` not complain about /usr/share/man/cat* bycperciva2008-08-021-0/+4
| | | | default.
* When using SRV records the protocols and services files need to be in thedougb2008-08-011-5/+9
| | | | | | | chroot /etc directory. PR: conf/121101 Submitted by: Stefan `Sec` Zehl <sec@42.org>
* Add the -c option for named_flags (still commented out) that isdougb2008-08-011-2/+2
| | | | | | relevant for ports users, and change the comment to match. While I'm here fix the capitalization of the named_program comment.
* Oops, restore the recent changes to make startup messages quieter.jhb2008-07-311-1/+3
|
* Parse sysctl settings from /etc/sysctl.conf.local after /etc/sysctl.confjhb2008-07-311-10/+15
| | | | | | | | if it exists. This mirrors similar behavior for /boot/loader.conf and /etc/rc.conf. Obtained from: Yahoo! MFC after: 1 week
* Remove an empty directory that is already in ObsoleteFiles.inc fromantoine2008-07-281-2/+0
| | | | mtree/BSD.usr.dist
* Change the module example to kldload since this is the resume side.thompsa2008-07-211-1/+1
|
* Remove sioX as an alias for uartX. It is believed to bemarcel2008-07-211-8/+8
| | | | | | more confusing than helpful. Suggested by: jhb
* With uart(4) default, change sio# to uart# so thatmarcel2008-07-191-1/+1
| | | | out-of-the-box FreeBSD is consistent.
* With uart(4) default, change /dev/cuad# to /dev/cuau# andmarcel2008-07-191-6/+6
| | | | sio# to uart# so that out-of-the-box FreeBSD is consistent.
* With uart(4) default, change /dev/cuad# to /dev/cuau# andmarcel2008-07-191-7/+7
| | | | sio# to uart# so that out-of-the-box FreeBSD is consistent.
* With uart(4) default, change /dev/cuad# to /dev/cuau# so thatmarcel2008-07-191-2/+2
| | | | out-of-the-box FreeBSD is consistent.
* With uart(4) default, change /dev/cuad# to /dev/cuau# so thatmarcel2008-07-191-10/+10
| | | | | out-of-the-box FreeBSD is consistent. Add uart[0-7] as a fingerfriendly shortcut alongside sio[0-7] and com[1-8].
* - dns queries might go also over TCP, so allow it.danger2008-07-171-0/+2
| | | | | Approved by: rink MFC after: 1 week
* Add the shutdown KEYWORD to those scripts that start persistent servicesdougb2008-07-1634-19/+34
| | | | | | | | | | | to allow them to do a "clean" shutdown. I purposely avoided making changes to network-related stuff since the system shutting down is pretty conclusive, and there may be complicated dependencies on the network that I would rather not try to unravel. I also skipped kerberos-related stuff for the reasons above, and because I have no way to test it.
* As previously discussed, add the svn:executable property to all scriptsdougb2008-07-1692-0/+0
|
* Make uart(4) the default serial port driver on i386 and amd64.ed2008-07-132-8/+8
| | | | | | | | | | | The uart(4) driver has the advantage of supporting a wider variety of hardware on a greater amount of platforms. This driver has already been the standard on platforms such as ia64, powerpc and sparc64. I've decided not to change anything on pc98. I'd rather let people from the pc98 team look at this. Approved by: philip (mentor), marcel
* Strongly discourage the use of the query-source option, and explain why.dougb2008-07-121-7/+13
| | | | | | | Give a better example if a user absolutely must use this option, and suggest they pick something from the ephemeral port range rather than port 53. This means that the example will not work if it is merely uncommented, but this will hopefully encourage users to read the comment.
* The pfctl(8) program is already pretty verbose, so don't print extramtm2008-07-111-2/+2
| | | | information in quiet mode.
* Remove the $DUMPDIR variable. It's redundant and the rest of themtm2008-07-061-6/+1
| | | | script uses $dumpdir directly.
* Make checking for the availability of core dumps work in the casemtm2008-07-061-1/+12
| | | | | | that $dumpdev is not set to "AUTO". Reported by: Paul B. Mahol <onemda@gmail.com>
* No need to display the result of enabling the ipfw sysctl if it'smtm2008-07-051-1/+3
| | | | successfull. Issue a warning if it fails, however.
* There's no need to announce that we're mounting local filesystems whenmtm2008-07-051-2/+2
| | | | | running in quiet mode since if we fail to mount any of them the boot process gets interrupted.
* Quiet down rc.d/nfsclient by not printing anything in 'quiet' mode. Insteadmtm2008-07-051-3/+7
| | | | issue a warning of it fails to set the sysctls.
* Rev. 1.8 broke matching on lines where the failure mode is at the headmtm2008-06-301-1/+1
| | | | | | | | of the message, such as: Jun 30 10:49:21 rogue sshd[17553]: Invalid user iceman from 127.0.0.1 PR: conf/124569 Submitted by: Taku <taku@tekipaki.jp>
* Backout r179941. The nfsclient knob always confuses me. I should havemtm2008-06-272-4/+4
| | | | | | | double-checked my setup before commiting. Noticed by: Florian Smeets Pointy hat to: mtm
* Add the missing support for Asus Eee PC in acpi_asus(4).rpaulo2008-06-271-0/+22
| | | | | | | | | | | This includes hotkeys support and sysctl variables to control camera and card reader. These new sysctls don't have CTFLAG_ANYBODY set. While there add entries to devd.conf related to the Eee volume keys. Reviewed by: phillip MFC after: 1 week Also tested by: lme (previous version)
* Quiet rc.d/syscons unless it has something to say.mtm2008-06-241-6/+35
|
* Add a -q flag to swapon(8) to suppress informational messages. Use it inmtm2008-06-231-1/+1
| | | | | rc.d. Note: errors are not affected by this flag.
* The sysctl(8) program exits on some errors and only emits warnings onmtm2008-06-233-3/+12
| | | | | | | | | others. In the case where it displayed warnings it would still return succesfully. Modify it so that it returns the number of sysctls that it was not able to set. Make use of this in rc.d to display only *unsuccessfull* attempts to set sysctls.
* Run savecore(8) only if there is a core dump to save. If there ismtm2008-06-231-2/+5
| | | | no core dump hide the message to that effect behind $rc_quiet.
* Implement a "quiet" mode for rc.d/netif, which only outputsmtm2008-06-233-15/+23
| | | | | | | | | the interface name of interfaces that were configured. This change has the added benefit that ifn_start() and ifn_stop() in network.subr no longer write to standard output. Whether to output and what to output is now handled entirely in rc.d/netif.
OpenPOWER on IntegriCloud