summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
...
* Import of liblzma, xz, xzdec, lzmainfo from vendor branchmm2010-05-101-0/+2
| | | | | | | | Add support for xz and lzma to lesspipe.sh (xzless, lzless) Bump __FreeBSD_version Approved by: delphij (mentor) MFC after: 2 weeks
* Make address assignment via ipv6_prefix_IF work againdougb2010-05-041-0/+2
|
* In the case where named_chroot_autoupdate is NOT set, butdougb2010-04-281-4/+10
| | | | | | | | | | | | | | | | named_chrootdir IS set, named-checkconf fails because it cannot find the conf file. Fix this by making checkconf a variable that includes "-t $named_chrootdir" as needed. Notice of the bug and suggested direction for the fix from [1]. Using required_files for named.conf is overkill ever since I added the named-checkconf call, so rather than update the logic to handle the case described above, remove it. This also handles the case where named_chroot_autoupdate IS set but the symlink doesn't exist yet. PR: conf/145904 Submitted by: J R Matthews
* Better handling of ipv6_default_interface usingume2010-04-262-23/+13
| | | | | | | net.inet6.ip6.use_defaultzone=1. Now, it works IPv6 link-local unicast addresses as well as IPv6 link-local multicast addresses. MFC after: 1 week
* Change usb devd events from fake attach to a notify. The ugen device is not athompsa2010-04-212-71/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | proper device_t so it faked the devctl event to appear like one, this is now a notify which allows more information to be passed. We notify for both the device attach/detach and for each usb interface. A devd rule can now match on the interface properties, including composite devices which may have a uvideo interface and also usound and possibly uhid too. An example to match a umass device with a scsi subclass and BBB protocol would be notify 100 { match "system" "USB"; match "subsystem" "INTERFACE"; match "type" "ATTACH"; match "intclass" "0x08"; match "intsubclass" "0x06"; match "intprotocol" "0x50"; action ... }; The old attach devctl event has been retained for the moment to make merging to 8.1 easier. This was never compatible with 7.x or earlier due to the ugen regex change needed. Reviewed by: warner MFC after: 1 week
* indent.pro example: actually install the sample fileavg2010-04-211-0/+2
|
* Use ubthidhci_enable="NO" to avoid the bootup warning.rpaulo2010-04-171-1/+1
| | | | | Submitted by: Jilles Tjoelker <jilles@stack.nl> MFC after: 3 days
* In case a user wants to configure only an IPv6 link-local addressdougb2010-04-171-0/+1
| | | | add an example that shows how to do it.
* Add ubthidhci.rpaulo2010-04-161-0/+4
| | | | MFC after: 2 days
* If a service is running, make 'stop' work even if ${name}_enabledougb2010-04-151-3/+3
| | | | | | | | is not set. PR: conf/130414 Submitted by: Dominic Fandrey <kamikaze@bsdforen.de> Reviewed by: freebsd-rc@
* Use spaces instead of tab for indent here.pjd2010-04-151-2/+2
|
* Fix grammar in comment.ume2010-04-111-3/+3
| | | | | Submitted by: "b. f." <bf1783__at__googlemail.com> MFC after: 3 days
* Add rc.d/ubthidhci. This small script calls usbconfig(1) to change a USBrpaulo2010-04-092-0/+45
| | | | | | Bluetooth controller from HID mode to HCI mode. MFC after: 1 week
* Improve the handling of IPv6 configuration in rc.d. The ipv6_enabledougb2010-04-095-127/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and ipv6_ifconfig_<interface> options have already been deprecated, these changes do not alter that. With these changes any value set for ipv6_enable will emit a warning. In order to avoid a POLA violation for the deprecation of the option ipv6_enable=NO will still disable configuration for all interfaces other than lo0. ipv6_enable=YES will not have any effect, but will emit an additional warning. Support and warnings for this option will be removed in FreeBSD 10.x. Consistent with the current code, in order for IPv6 to be configured on an interface (other than lo0) an ifconfig_<interface>_ipv6 option will have to be added to /etc/rc.conf[.local]. 1. Clean up and minor optimizations for the following functions: ifconfig_up (the ipv6 elements) ipv6if ipv6_autoconfif get_if_var _ifconfig_getargs The cleanups generally were to move the "easy" tests earlier in the functions, and consolidate duplicate code. 2. Stop overloading ipv6_prefer with the ability to disable IPv6 configuration. 3. Remove noafif() which was only ever called from ipv6_autoconfif. Instead, simplify and integrate the tests into that function, and convert the test to use is_wired_interface() instead of listing wireless interfaces explicitly. 4. Integrate backwards compatibility for ipv6_ifconfig_<interface> into _ifconfig_getargs. This dramatically simplifies the code in all of the callers, and avoids a lot of other code duplication. 5. In rc.d/netoptions, add code for an ipv6_privacy option to use RFC 4193 style pseudo-random addresses (this is what windows does by default, FYI). 6. Add support for the [NO]RTADV options in ifconfig_getargs() and ipv6_autoconfif(). In the latter, include support for the explicit addition of [-]accept_rtadv in ifconfig_<interface>_ipv6 as is done in the current code. 7. In rc.d/netif add a warning if $ipv6_enable is set, and remove the set_rcvar_obsolete for it. Also remove the latter from rc.d/ip6addrctl. 8. In /etc/defaults/rc.conf: Add an example for RTADV configuration. Set ipv6_network_interfaces to AUTO. Switch ipv6_prefer to YES. If ipv6_enable is not set this will have no effect. Add a default for ipv6_privacy (NO). 9. Document all of this in rc.conf.5.
* Disambiguate `IPs' to a more specific term.ume2010-04-081-6/+8
| | | | | Submitted by: Garrett Cooper <yanefbsd__at__gmail.com> MFC after: 3 days
* firewall_trusted_ipv6 was gone by r202460. Remove stale comment aboutume2010-04-071-6/+1
| | | | it as well.
* In wait_for_pids(), pwait(1) can return when the process exits, butdougb2010-04-061-1/+4
| | | | | | | | | | | | | | | | still exists as a zombie. The 'kill -0' test in this function can therefore return true even if the process isn't actually running. This could lead to wait_for_pids() printing an endless string of the pid number until the zombie finally exits. Solve this problem by moving the sleep up to after the 'kill -0' test, but only after we've run through the function once already. In the common case (only one pid in the list) this will always do the right thing. On the rare occasion that there is more than one pid in the list this will sleep 1 second per zombie process which will allow that process, and any other in the list a chance to exit. While I'm here, local'ize the variables that this function uses.
* Add -k to the recommended fingerd(8) command line.des2010-04-011-2/+2
| | | | MFC after: 2 weeks
* 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)
OpenPOWER on IntegriCloud