summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Introduce new per-jail variable jail_<name>_flags, which allows to specifypjd2005-06-262-1/+5
| | | | | | | | | jail(8) flags (before the change we had hardcoded "-l -U root"). Submitted by: Frank Behrens <frank@pinky.sax.de> PR: conf/80244 Approved by: re (scottl) MFC after: 1 week
* Unbreak the ipfilter_loaded function. There doesn't seem to be a waydd2005-06-211-1/+1
| | | | | | | | | | for kldstat to ever print "IP Filter" (the module is called "ipfilter" and modules don't have anything like a description), so this function would always return false. That would cause prestart to attempt to load the module even if it's already loaded, which would fail and prevent the rules from being loaded. Approved by: re (dwhite)
* Make sure we actually read the config files before testing values frombrooks2005-06-161-12/+12
| | | | | | | | them. Reported by: Darren Pilgrim <dmp at bitfreak dot org> PR: conf/82313 Approved by: re (network interface startup blanket)
* Move couple of directories out of mtree and into their respectivelesi2005-06-151-320/+2
| | | | | | | | ports. This mtree now specifies basic structure of X11BASE, similarly to BSD.local.dist. No objections on: freebsd-x11@ Approved by: re (dwhite), portmgr
* Use new OSTYPE(freebsd6).gshapiro2005-06-142-2/+2
| | | | | Approved by: re (scottl) Requested by: keramida
* - In preparation to turning syscons(4) etc. on by default in the sparc64marius2005-06-101-13/+14
| | | | | | | | | | | | GENERIC comment in ttyN. - Add the name of the device driver creating the device nodes above the respectives blocks so it's easier for user to find the right entry to shut up warnings from getty(8). Replace 'Requires device 'uart' be enabled.' with just 'uart(4)' as the former referred to a sparc64 GENERIC back when uart(4) wasn't enabled by default, yet. - Turn off the getty(8) on screen as screen is created by ofw_console(4) which is no longer enabled in the sparc64 GENERIC (and also only is a last resort) to shut up warnings from getty(8) with the current GENERIC.
* Remove rexecd(8), a server that implements a particularly insecurenectar2005-06-103-21/+1
| | | | | | | method of executing commands remotely. There are no rexec clients in the FreeBSD tree, and the client function rexec(3) is present only in libcompat. It has been documented as "obsolete" since 4.3BSD, and its use has been discouraged in the man page for over 10 years.
* Back out "rw" locale addition for reason unknown to me (forced by portmgr)ache2005-06-101-4/+0
|
* Add locale/rwache2005-06-101-0/+4
|
* MFP4:jkoshy2005-06-091-0/+2
| | | | | | | | | | | | | | | | - Implement sampling modes and logging support in hwpmc(4). - Separate MI and MD parts of hwpmc(4) and allow sharing of PMC implementations across different architectures. Add support for P4 (EMT64) style PMCs to the amd64 code. - New pmcstat(8) options: -E (exit time counts) -W (counts every context switch), -R (print log file). - pmc(3) API changes, improve our ability to keep ABI compatibility in the future. Add more 'alias' names for commonly used events. - bug fixes & documentation.
* Remove default and documenation for pccard_ether_delay since I removedbrooks2005-06-081-1/+0
| | | | | | it from /etc/pccard_ether. Submitted by: Jeremie Le Hen <jeremie at le-hen dot org>
* Fix return values of ifconfig_up/down.brooks2005-06-071-4/+5
| | | | Reported by: Andrea Campi
* Change the default for dumpdev to "AUTO". It should be reverted to "NO"des2005-06-071-1/+1
| | | | on RELENG_* branches.
* Honor the "dumpdev" kenv variable if it is set and the "dumpdev" rcdes2005-06-071-6/+17
| | | | | | variable is set to "AUTO". MFC after: 2 weeks
* Support code for the OpenBSD dhclient. This significantly changes thebrooks2005-06-076-312/+213
| | | | | | | | | | | | | | | | | | way interfaces are configured. Some key points: - At startup, all interfaces are configured through /etc/rc.d/netif. - ifconfig_<if> variables my now mix real ifconfig commands the with DHCP and WPA directives. For example, this allows media configuration prior to running dhclient. - /etc/rc.d/dhclient is not run at startup except by netif to start dhclient on specific interfaces. - /etc/pccard_ether calls "/etc/rc.d/netif start <if>" to do most of it's work. - /etc/pccard_ether no longer takes additional arguments to pass to ifconfig. Instead, ifconfig_<if> variables are now honored in favor of pccard_ifconfig when available. - /etc/pccard_ether will only run on interfaces specified in removable_interfaces, even if pccard_ifconfig is set.
* Finish adding _dhcp user.maxim2005-06-072-0/+2
|
* Add _dhcp user/group as required by the OpenBSD dhclient.brooks2005-06-062-0/+2
|
* Remove RCng files that were brought in from NetBSD, but we ended up notobrien2005-06-0627-1188/+0
| | | | using them (or did and no longer do).
* Add esp(4) to scsi-controller-regex.marius2005-06-041-1/+1
| | | | MFC after: 1 month
* Add /etc/security, into which the BSM audit configuration files will berwatson2005-05-301-0/+2
| | | | | | | | | | | installed. This is the same directory as found on Solaris. NB: In FreeBSD 4.x and earlier, a script (file) named /etc/security exists. Does mergemaster need to be taught how to replace a file with a directory? Submitted by: wsalamon Obtained from: TrustedBSD Project
* Add /usr/include/bsm to mtree creation set.rwatson2005-05-291-0/+2
| | | | | Submitted by: wsalamon Obtained from: TrustedBSD Project
* Add cdce(4) into the list of ethernet interfaces.sobomax2005-05-231-1/+1
|
* We need to use 'applyset' command for devfs, 'apply hide' is not enough,pjd2005-05-231-6/+2
| | | | | | | because new devfs entries can show up later and one can access such entires from inside named chroot. In rc.d scripts we can use devfs_domount() function with devfsrules_hide_all policy and unhide 'null' and 'random' manually.
* Style: mostly tabs vs blanks, and semicolon placement.schweikh2005-05-221-26/+26
|
* Add libdata/pkgconfig. It is used under ${LOCALBASE} as much (if not more)marcus2005-05-131-0/+2
| | | | | | | than under ${X11BASE}. Discussed with: portmgr MFC after: 1 day
* Run /etc/rc.d/syscons restart when a usb keyboard is attached so that thebrian2005-05-111-1/+1
| | | | keymap and other settings are correct.
* Do not unconditionally mount devfs to ${jail_devdir}/dev. First checkcsjp2005-04-301-9/+12
| | | | | | | | | to see if a prior devfs has been mounted. If no devfs is mounted on ${jail_devdir}/dev then proceed. This will prevent the stack up of multiple devfs mounts on the same mount point. Discussed with: pjd MFC after: 1 week
* To allow /etc to be as minimal as possible in a diskless setup, we needbrooks2005-04-297-373/+9
| | | | | | | | | | | | | to run initdiskless before we run rcorder on /etc/rc.d. To allow this, move /etc/rc.d/initdiskless to /etc/rc.initdiskless and run it directly from /etc/rc. Remove /etc/rc.d/preseedrandom as it is no longer necessicary (we start with entropy unblocked) and was only used by initdiskless when it was needed. Discussed on: freebsd-rc Repocopy by: peter
* X logins should be recorded in lastlog / wtmp / utmp. I have no idea whydes2005-04-281-1/+1
| | | | | | this wasn't there already... it makes much more sense this way. MFC after: 2 weeks
* Add -h to the ln command to make the -f flag actually do something.dougb2005-04-241-1/+1
| | | | | | | | | | | | Without this flag, if the symlink existed already a new symlink would be created in the source directory. While harmless if the two symlinks were the same, it nonetheless caused pointless confusion. The pathological case is that when there is an existing /etc/namedb symlink, but named_chrootdir in rc.conf pointed to a different directory, it was the symlink in /var/named that was getting updated, not the one in /etc. This led to some difficult to diagnose problems for users.
* Add startup script and default configuration file for bsnmpd.glebius2005-04-175-3/+94
| | | | Reviewed by: harti
* Do not remove logging sockets. This fixes an issue where loggingcsjp2005-04-141-0/+2
| | | | | | | | | sockets placed into prisons from the host environment get clobbered by the prison's instance of cleanvar. (assuming /etc/rc is run in the prison). Discussed with: pjd, green, cperciva MFC after: 1 week
* Document that dumpdev may be set to AUTO to dump to the first appropriatethomas2005-04-121-1/+1
| | | | swap device listed in /etc/fstab.
* The alternative suggested for /entropy as a shutdowndougb2005-04-112-6/+5
| | | | | | | | | | | | | | | save file was /var/db/entropy, which also happens to be the directory where the individual entropy files created by /usr/libexec/save-entropy are stored. Change the suggestion to be /var/db/entropy-file instead. In an error condition where the shutdown file is not created, the error message accessed a variable that doesn't exist. PR: conf/75722 Submitted by: Nicolas Rachinsky <list@rachinsky.de>
* Set CPU speed to 100% in acpi_throttle attach. This is needed for somenjl2005-04-101-2/+2
| | | | | | | | | systems that boot with this value at the lowest setting. Change the default boot config back to "leave frequency as BIOS set it". Also, fix buglet where acpi_throttle wouldn't be used if p4tcc was present but disabled by the user. MFC after: 1 week
* 'dumpon' can run before 'initrandom' so make it.obrien2005-04-051-2/+2
| | | | This gives a better chance of debugging /dev/random related panics.
* When reloading rules via rc.d/pf, flush everything but existing stateseanc2005-04-041-1/+3
| | | | | | | | | entries that way when rules are read in, it doesn't break established connections. Approved by: mlaier Reviewed by: rc MFC after: 3 weeks
* Instead of leaving the current frequency setting at whatever the BIOS setnjl2005-04-031-2/+2
| | | | | | | | on boot, force it to HIGH. This is needed for some systems which appear to boot with a low acpi_throttle setting by default. Thanks to Christian Brueffer for tracking this down on his system. MFC after: 1 day
* Add a ugidfw_load() function and fix up some of the scripting in this file.trhodes2005-04-021-6/+20
| | | | | | This will allow better integration with the ports system. Submitted by: clement
* Purge orphan catpages.ru2005-03-301-2/+2
| | | | | PR: conf/35242 Submitted by: Annihilator <annihilator.c@usa.net>
* netstart is now obsoleted by /etc/rc.d/*, not by /etc/rc.network.cperciva2005-03-261-1/+1
| | | | | Reported by: Martin Jakob, on freebsd-stable@ MFC after: 1 month
* Add mt locale directory, since more and more ports create and use it.krion2005-03-222-0/+8
| | | | | Approved by: kris MFC after: 3 days
* Remove the 'usbd' keyword (it isn't necessary for mixer). Also, usenjl2005-03-171-1/+1
| | | | | | | BEFORE instead of REQUIRE. Probably ok by: jhb MFC after: 3 days
* Start natd(8) before loading firewall rules, to give theru2005-03-161-2/+3
| | | | ipdivert.ko module a chance to load.
* Unhook the recently departed lomac file from the build.dougb2005-03-131-1/+1
| | | | Forgotten by: trhodes (the real one)
* Remove mac_lomac(4) functionality. The proper way is to use loader.conftrhodes2005-03-122-20/+0
| | | | | | or build the policy into a kernel. Approved by: rwatson
* Fix a terrible braino in last commit. Put kern.debug back to /var/log/messagesglebius2005-03-121-2/+2
| | | | and do exactly what last commit message described.
* Be consistent about the serial line terminal type.obrien2005-03-091-5/+5
| | | | CVS ----------------------------------------------------------------------
* New Ukrainian locale: uk_UA.CP1251.ru2005-03-041-0/+2
| | | | Submitted by: Alexander Peresunko
* It is sufficent to require rcconf rather than initdiskless.brooks2005-03-022-2/+2
|
OpenPOWER on IntegriCloud