summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Add .snap to daily_clean_tmps_ignore; /tmp/.snap ist not supposed tojoerg2010-03-231-1/+1
| | | | | | be auto-removed (and /tmp is a filesystem of its own now by default). MFC after: 3 days
* Slightly improve my previous commit.ed2010-03-191-1/+1
| | | | | | Just comment out the atrun line instead of completely removing it. It is not a bad idea to leave it as a reference in case someone decides to install atrun by hand afterwards.
* Don't add the atrun-line to the crontab when MK_AT is set.ed2010-03-191-0/+3
| | | | | | This prevents spurious calls to sendmail every 5 minutes. MFC after: 1 week
* Use an unique directory name instead of hardcoded /tmp/.diskless.jh2010-03-131-2/+2
| | | | | | | | | A malicious user could create a file named /tmp/.diskless and cause the script to misbehave. PR: conf/141258 Reported by: Jon Passki MFC after: 1 week
* Improve the contents of termcap.small.ed2010-03-071-86/+74
| | | | | | | | | - Remove dosansi, pc and pc3. I suspect nobody ever needs these. - Add vt100, screen and xterm-color. This file is now probably more than sufficient in most cases, even for common use outside single user mode, where people just use the console driver, a graphical terminal emulator and a terminal multiplexer.
* Install termcap.small.ed2010-03-071-1/+1
| | | | | | | | | | | | | | | Right now we have a termcap.small in the tree, but we don't install it. If we do install this file by default, it is more likely for applications to work in single user mode. I am not entirely happy with the contents of this file. In my opinion we should remove the `dosansi', `pc' and `pc3' entries and replace them with `vt100' in case someone uses a serial console. The file does already have entries for `cons25' and `xterm', which is used most often. Requested by: brucec
* Implement the idea of parallel-only-at-start-time in a cleaner, moredougb2010-03-071-15/+10
| | | | | | rc.d'ish way. Not objected to by: netchild
* Redirect stdin from /dev/null when starting a jail:netchild2010-03-052-2/+19
| | | | | | | | | | | | | | | | | | | | At least in RELENG_7 this fixes some start problems for some programs from the ports. It is also more correct, as a jail shall not expect input (interactivity) from the jail-host. Revert the current behavior of starting jails in the background and make it optional only for the start of jails (jail_parallell_start=YES in rc.conf): - The stop can not be done in the background, the system needs to wait until everything is stopped correctly before it can reboot or power down. - The start should not be done in parallel by default, this not only breaks POLA for people comming from RELENG_x, it may also break a dependency chain with other scripts in the jail-host, which need to do some stuff after the jails are up and running (e.g. hardlinking a mysql socket from one jail into another one). Discussed on: freebsd-jails@
* Add the shutdown KEYWORD.ume2010-02-271-1/+1
| | | | | Pointed out by: dougb MFC after: 3 days
* usr/share/examples/bc no longer exists.antoine2010-02-271-2/+0
|
* Add missing KEYWORD line.pjd2010-02-191-0/+1
| | | | Pointed out by: dougb
* Create a directory for hast's examples.delphij2010-02-191-0/+2
|
* Remove some lines left over by accident.pjd2010-02-181-4/+0
|
* Please welcome HAST - Highly Avalable Storage.pjd2010-02-183-1/+35
| | | | | | | | | | | | | | | | | | | | | | HAST allows to transparently store data on two physically separated machines connected over the TCP/IP network. HAST works in Primary-Secondary (Master-Backup, Master-Slave) configuration, which means that only one of the cluster nodes can be active at any given time. Only Primary node is able to handle I/O requests to HAST-managed devices. Currently HAST is limited to two cluster nodes in total. HAST operates on block level - it provides disk-like devices in /dev/hast/ directory for use by file systems and/or applications. Working on block level makes it transparent for file systems and applications. There in no difference between using HAST-provided device and raw disk, partition, etc. All of them are just regular GEOM providers in FreeBSD. For more information please consult hastd(8), hastctl(8) and hast.conf(5) manual pages, as well as http://wiki.FreeBSD.org/HAST. Sponsored by: FreeBSD Foundation Sponsored by: OMCnet Internet Service GmbH Sponsored by: TransIP BV
* Remove COMPILATIONDATE from the default section. This string is no longerjkim2010-02-161-1/+1
| | | | | | | being substituted since r162063. PR: bin/143976 MFC after: 1 month
* Introduce new rc.conf variable firewall_coscripts. It can be used toemax2010-02-082-6/+28
| | | | | | | | | specify list of executables and/or rc scripts that should be executed after firewall starts/stops. Submitted by: Yuri Kurenkov <y dot kurenkov at init dot ru> Reviewed by: rhodes, rc@ MFC after: 1 week
* Add sane-port (Scanner Access Now Easy) as port 6566.bms2010-02-061-0/+2
| | | | | Obtained from: http://www.iana.org/assignments/port-numbers MFC after: 3 days
* Add rc.d script for the rtsold(8) daemon.ume2010-02-034-2/+34
| | | | | | | | | | The rtsol(8) handles just one RA then exit. So, the OtherConfig flag may not be handled well by rtsol(8) in the environment where there are multiple RA servers on the segment. In such case, rtsold(8) will be your friend. Reviewed by: hrs MFC after: 2 weeks
* ManageSieve has been added as port 4190:ume2010-02-011-0/+2
| | | | | | | http://www.iana.org/assignments/port-numbers Obtained from: http://www.iana.org/assignments/port-numbers MFC after: 3 day
* Allow use of -6 option to "server" and "peer" in ntp.conf.ume2010-01-301-1/+3
| | | | MFC after: 1 week
* Remove pseudo-terminals from ttys(5).ed2010-01-278-2056/+0
| | | | | | | | | | | | When we had utmp(5), we had to list all the psuedo-terminals in ttys(5) to make ttyslot(3) function properly. Now that pututxline(3) deals with slot allocation internally (not based on TTY names), we don't need to list all the TTYs on the system in ttys(5) to make user accounting work properly. This patch removes all the entries from the /etc/ttys files, but also the pts(4) entries that were appended implicitly, which was added in r154838.
* The Erlang Port Mapper Daemon (from ports/lang/erlang) has beenedwin2010-01-271-0/+2
| | | | | | | | | assigned official port number 4369 by IANA. PR: conf/113265 Submitted by: Jimmy Olgeni <olgeni@freebsd.org> Obtained from: http://www.iana.org/assignments/port-numbers MFC after: 2 days
* Git has been added as port 9418:edwin2010-01-271-0/+2
| | | | | | | | | http://www.iana.org/assignments/port-numbers PR: conf/143259 Submitted by: Denny Lin <dennylin93@cnmc32.hs.ntnu.edu.tw> Obtained from: http://www.iana.org/assignments/port-numbers MFC after: 2 day
* Convert to 2-clause license, from NetBSD rc.subr r1.70.emaste2010-01-261-7/+0
| | | | | Submitted by: Alex Kozlov Obtained from: NetBSD
* Minor changes to force commit these files so new freebsd*.cf files aregshapiro2010-01-262-1/+2
| | | | | | built to use the new sendmail-8.14.4/cf tree. MFC after: 4 days
* Remove vestigial NetBSD compatibility shim.emaste2010-01-251-11/+1
|
* Do not check for existence of symlink source for the link action. Thiskib2010-01-231-1/+1
| | | | | | | does not work for link in subdirectory, and sometimes it is useful to create symlink in advance for dynamically created device node. MFC after: 1 week
* Move USD documents from /usr/share/doc/papers to to /usr/share/doc/usd.delphij2010-01-221-0/+4
| | | | Reviewed by: gabor
* adds a hardware specific configuration file for uath(4).weongyo2010-01-192-1/+121
| | | | | Pointed by: sam Reviewed by: imp, thompsa
* Update the example named.conf file to answer locally for the newlydougb2010-01-181-2/+15
| | | | | | released IPv4 documentation ranges (http://tools.ietf.org/html/rfc5737) and catch up to the IPv6 documentation range and domain names that 5737 also references.
* Remove the rules using 'me6'. Now, 'me' matches both any IPv6 addressume2010-01-172-48/+6
| | | | | | | and any IPv4 address configured on an interface in the system. Reviewed by: David Horn <dhorn2000__at__gmail.com>, luigi, qingli MFC after: 2 weeks
* Add gmountver, disk mount verification GEOM class.trasz2010-01-161-0/+2
| | | | | | | | Note that due to e.g. write throttling ('wdrain'), it can stall all the disk I/O instead of just the device it's configured for. Using it for removable media is therefore not a good idea. Reviewed by: pjd (earlier version)
* Let rc and periodic infrastructure and newsyslog use the utmpx files.ed2010-01-134-11/+11
|
* Set svn:executable to *.delphij2010-01-111-0/+0
| | | | MFC after: 1 month
* Properly make the end key work again for TERM=xterm.ed2010-01-101-2/+2
| | | | | | | | | | I've been so busy hacking on utmpx the last couple of days, out of reflex, I committed it to the wrong source tree. Note to myself: don't hack on FreeBSD while watching TV at the same time. PR: conf/142578 Submitted by: Yuri Pankov <yuri pankov gmail com> Reminded by: stefanf
* The client type rule allows DHCP, implicitly. Since DHCPv6 usesume2010-01-091-0/+2
| | | | | | | link-local address unlike with DHCP, we need one more rule to allow the DHCPv6. Reported by: David Horn <dhorn2000__at__gmail.com>
* Since the IPv4 rule allows ICMP_TIMXCEED, allowume2010-01-071-1/+4
| | | | | ICMP6_TIME_EXCEEDED as well for workstation type firewall. It makes traceroute6 work.
* Expose the upper 256 ptys in the default devfs rules. I should have updatedjhb2010-01-041-0/+16
| | | | | | | this when expanding the old pty(4) driver to use 512 ptys by default. This is more important for 7.x. MFC after: 1 week
* Forced commit, to provide correct commit message for r201440:gavin2010-01-031-1/+1
| | | | | | | | | | | | | | Don't complain when we encounter the "cache" source, it's valid. Also fix the error message to include a line feed and not include a stray comma. PR: bin/121671 Submitted by: Artis Caune artis.caune gmail.com Approved by: ed (mentor) MFC after: 2 weeks While here, change "> /dev/stderr" for more usual ">&2" Submitted by: jilles
* The default hash table size is 257 not 255. Reword the rest of the linegavin2010-01-031-2/+2
| | | | | | | | slightly while here. PR: bin/121671 Submitted by: Artis Caune artis.caune gmail.com Approved by: ed (mentor)
* s/named_confidr/named_confdir/ in the rndc.key check. The line indougb2010-01-011-2/+2
| | | | | | | the command to create it was right, but the check was wrong, so it was getting created every time. Mea culpa. Submitted by: oliver
* With the introduction of named_conf the -c example in named_flagsdougb2010-01-011-1/+1
| | | | | is no longer necessary or desirable. Update the comment to indicate that _flags should be used for options other than -u and -c.
* The script hard-coded the assumption that the "configuration directory"dougb2010-01-011-20/+21
| | | | | | | | | | | would be "/etc/namedb" in a number of places. Since the user may make a different choice, introduce a new internal variable, named_confdir that is generated relative to the location of $named_conf. While this will work for some things (especially a highly customized build from ISC source) there are still a number of places where /etc/namedb is assumed that it is not easily virtualized (E.g., mtree). If you deviate from the defaults you'd better know what you're doing. :)
* Remove a trailing reference to the obsolete vaps_<IF> variable.jhb2009-12-291-1/+1
| | | | | Reviewed by: brooks MFC after: 3 days
* Add support for configuring vlan(4) interfaces as child devices similar tojhb2009-12-292-2/+50
| | | | | | | | | | | | | | wlan(4) interfaces. vlan(4) interfaces are listed via a new 'vlans_<IF>' variable. If a vlan interface is a number, then that number is treated as the vlan tag for the interface and the interface will be named '<IF>.<tag>'. Otherwise, the vlan tag must be provided via a vlan parameter in a 'create_args_<vlan>' variable. While I'm here, fix a few nits in rc.conf(5) and mention create_args_<IF> in the description of cloned_interfaces. Reviewed by: brooks MFC after: 2 weeks
* Remove examples for pppd and SLIP-related stuff.trasz2009-12-291-8/+0
|
* Add missing me6 rules. Now, the IPv6 rules become equivalentume2009-12-291-0/+29
| | | | | | to the IPv4 rules. Reported by: David Horn <dhorn2000__at__gmail.com>
* Update the comments about files ending in .shdougb2009-12-271-4/+5
| | | | Prompted by: Alex Kozlov <spam@rm-rf.kiev.ua>
* Delete some trailing whitespacedougb2009-12-271-2/+2
|
* rc.subr: Use pwait in wait_for_pids.jilles2009-12-211-1/+1
| | | | | | | | | | This waits for the requested process(es) to terminate, rather than polling with an interval of 2 seconds. If pwait is not available, the old method is used. PR: conf/132766 Reviewed by: dougb
OpenPOWER on IntegriCloud