summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* MFC 208060:dougb2010-05-1423-60/+60
| | | | Remove trailing white space. No functional changes.
* MFC 207346:dougb2010-05-081-4/+10
| | | | | | | Fix named-checkconf in the situation where named_chroot_autoupdate is NOT set, but named_chrootdir IS set. Remove required_files for named.conf, named-checkconf is enough.
* MFC r206686:dougb2010-05-081-3/+3
| | | | Make 'stop' work even if ${name}_enable is not set.
* MFC r207020, r207027, r207072.thompsa2010-04-292-71/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change usb devd events from fake attach to a notify. The ugen device is not a 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. Document the new USB notification types.
* MFC r206996: indent.pro example: actually install the sample fileavg2010-04-231-0/+2
|
* MFC r204820:brucec2010-04-201-1/+1
| | | | | | | | Install /etc/termcap.small . PR: conf/78419 Submitted by: Eygene A.Ryabinkin <rea at mbslab.kiae.ru> Approved by: rrs (mentor)
* MFC r206427, r206706, r206771:rpaulo2010-04-203-0/+49
| | | | | ubthidhci rc.d script to switch an USB bluetooth dongle from HID to HCI mode.
* MFC r204080:pjd2010-04-191-0/+2
| | | | Create a directory for hast's examples.
* MFC r204076,r204077,r204083,r205279:pjd2010-04-183-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r204076: Please welcome HAST - Highly Avalable Storage. 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 r204077: Remove some lines left over by accident. r204083: Add missing KEYWORD line. Pointed out by: dougb r205279 sys: Simplify loops.
* MFC r202610:weongyo2010-04-172-1/+121
| | | | | | | adds a hardware specific configuration file for uath(4). Pointed by: sam Reviewed by: imp, thompsa
* MFC r206399, r206479: Disambiguate `IPs' to a more specific term.ume2010-04-141-6/+8
|
* MFC r206248:dougb2010-04-131-1/+4
| | | | | | | | Change where we nap so that if pwait(1) returns but kill -0 still sees a zombie we don't print an endless string of the same pid number until the zombie exits. While I'm here, local'ize the variables that this function uses.
* MFC r200028, r201193, r201752, r201930, r202460, r200672, r206375:ume2010-04-077-364/+161
| | | | | Unify rc.firewall and rc.firewall6, and obsolete rc.firewall6 and rc.d/ip6fw.
* MFC r201213:trasz2010-04-061-8/+0
| | | | | | Remove examples for pppd and SLIP-related stuff. PR: conf/144950
* MFC r200818: rc.subr: Use pwait in wait_for_pids.jilles2010-03-281-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
* r205509:joerg2010-03-261-1/+1
| | | | | | Add .snap to daily_clean_tmps_ignore; /tmp/.snap ist not supposed to be auto-removed (and /tmp is a filesystem of its own now by default).
* MFC r205329 and r205335:ed2010-03-241-0/+3
| | | | | | Don't add the atrun-line to the crontab when MK_AT is set. This prevents spurious calls to sendmail every 5 minutes.
* MFC r205121:jh2010-03-231-2/+2
| | | | | | | | Use an unique directory name instead of hardcoded /tmp/.diskless. A malicious user could create a file named /tmp/.diskless and cause the script to misbehave. PR: conf/141258
* MFC: r203943jkim2010-03-221-1/+1
| | | | | Remove COMPILATIONDATE from the default section. This string is no longer being substituted since r162063.
* MFC 204427: Add the shutdown KEYWORD.ume2010-03-021-1/+1
|
* MFC r203433:ume2010-02-274-2/+34
| | | | | | | | | Add rc.d script for the rtsold(8) daemon. 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.
* MFC: r203676emax2010-02-162-6/+28
| | | | | | | | | Introduce new rc.conf variable firewall_coscripts. It can be used to 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 r202130:delphij2010-02-131-0/+0
| | | | Set svn:executable to *.
* MFC Revision: 203574bms2010-02-091-0/+2
| | | | | | Add sane-port (Scanner Access Now Easy) as port 6566. Obtained from: http://www.iana.org/assignments/port-numbers
* MFC r203200; Allow use of -6 option to "server" and "peer" in ntp.conf.ume2010-02-061-1/+3
|
* MFC r203342: ManageSieve has been added as port 4190:ume2010-02-041-0/+2
| | | | http://www.iana.org/assignments/port-numbers
* MFC: Minor changes to force commit these files so new freebsd*.cf files aregshapiro2010-01-312-1/+2
| | | | built to use the new sendmail-8.14.4/cf tree.
* MFC r202880:kib2010-01-291-1/+1
| | | | Do not check for existence of symlink source for the link action.
* MFC of 203066, 203067edwin2010-01-291-0/+4
| | | | | | | | | | | Git has been added as port 9418: http://www.iana.org/assignments/port-numbers The Erlang Port Mapper Daemon (from ports/lang/erlang) has been assigned official port number 4369 by IANA. PR: conf/143259 conf/113265 Submitted by: Denny Lin <dennylin93@cnmc32.hs.ntnu.edu.tw> Jimmy Olgeni <olgeni@freebsd.org>
* MFC r202582:dougb2010-01-221-2/+15
| | | | Update named.conf for documentation IP addresses and domains
* Merge r201440, r201445 from head:gavin2010-01-171-2/+2
| | | | | | | | | | | | | | 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. Submitted by: Artis Caune artis.caune gmail.com While here, change "> /dev/stderr" for more usual ">&2" Submitted by: jilles PR: bin/121671 Approved by: ed (mentor, implicit)
* MFC r200440 to stable/8:antoine2010-01-151-0/+6
| | | | Install firmware(9) examples.
* MFC r201368:dougb2010-01-151-1/+1
| | | | Update named_flags comment regarding not using it for -u and -c
* MFC r201367, r201370:dougb2010-01-151-20/+21
| | | | | Virtualize the location of "the configuration directory" instead of hard-coding it to be /etc/namedb
* MFC 201215:jhb2010-01-122-4/+54
| | | | | | | | | | | | Add support for configuring vlan(4) interfaces as child devices similar to 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.
* MFC 201522:jhb2010-01-111-0/+16
| | | | | | Expose the upper 256 ptys in the default devfs rules. I should have updated this when expanding the old pty(4) driver to use 512 ptys by default. This is more important for 7.x.
* MFC 201216:jhb2010-01-041-1/+1
| | | | Remove a trailing reference to the obsolete vaps_<IF> variable.
* MFC r201036:dougb2009-12-301-2/+2
| | | | Delete some trailing whitespace
* MFC r200448:dougb2009-12-293-102/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the change to rc.subr in r198162 it's not necessary to specify command in the rc.d script if we have a corresponding ${name}_program entry, which we do for named. Rename named_precmd to named_prestart to make it more clear and match convention. Move the command_args definition related to -u up into _prestart(). It (and the associated $named_uid value) are only used there, and unlike required_* and pidfile don't need to be used until this stage. Fix a silly bug that would only have affected people who were using the new named_wait or named_auto_forward features, AND had set up an rndc.conf file instead of using the automatically generated rndc.key. For named_conf: Add "-c $named_conf" to command_args if it's not set to the default. If it is set to the default and we're using the base BIND it's not necessary. If we're using BIND from the ports the user is likely to have included it in _flags (due to long necessity for doing so) so don't duplicate that if it's set. Add $named_conf to required_files MFC r200563: The named process needs to have a "working directory" that it can write to. This is specified in "options { directory }" in named.conf. So, create /etc/namedb/working with appropriate permissions, and update the entry in named.conf to match. In addition to specifying the working directory, file and path names in named.conf can be specified relative to the directory listed. However, since that directory is now different from /etc/namedb (where the configuration, zone, rndc.*, and other files are located) further update named.conf to specify all file names with fully qualified paths. Also update the comment about file and path names so users know this should be done for all file/path names in the file. This change will eliminate the 'working directory is not writable' messages at boot time without sacrificing security. It will also allow for features in newer versions of BIND (9.7+) to work as designed.
* Re-apply the fix from r199029 (MFC from r198162) to allowdougb2009-12-151-1/+1
| | | | | | | $name_program to override $command. PR: conf//141642 Submitted by: Petr Lampa <lampa@fit.vutbr.cz>
* MFC r200377:dougb2009-12-131-18/+19
| | | | | | Update to the December 12, 2008 version of this file. The one substantive change is to add the IPv6 address of L. The other changes are all CAPS LOCK related.
* MFC revisions 196550 and 196552:delphij2009-12-083-1/+75
| | | | | | | | | | | | | | | | | | Add a new rc.d script, static_arp, which enables the administrator to statically bind IPv4 <-> MAC address at boot time. In order to use this, the administrator needs to configure the following rc.conf(5) variable: - static_arp_pairs: A list of names for static bind pairs, and, - a series of static_arp_(name): the arguments that is being passed to ``arp -S'' operation. Example: static_arp_pairs="gw" static_arp_gw="192.168.1.1 00:01:02:03:04:05" See the rc.conf(5) manual page for more details.
* MFC:hrs2009-12-071-0/+31
| | | | | | | | | r197139 - Add afexists() to check if the specified address family exists on the system or not. r197697 - Add AF_IPX and AF_NATM to afexists().
* MFC:hrs2009-12-071-29/+124
| | | | | | | | | | | r197144: - Add an extension of set_rcvar(), a new function set_rcvar_obsolete(), and $desc. The set_rcvar_obsolete() is to mark a variable as obsolete and define the new one. More specifically, a warning is displayed when a variable is removed or changed in the source tree and the user still defines the old one.
* Disable SSL renegotiation in order to protect against a seriouscperciva2009-12-031-1/+1
| | | | | | | | | | | | | | | protocol flaw. [09:15] Correctly handle failures from unsetenv resulting from a corrupt environment in rtld-elf. [09:16] Fix permissions in freebsd-update in order to prevent leakage of sensitive files. [09:17] Approved by: so (cperciva) Security: FreeBSD-SA-09:15.ssl Security: FreeBSD-SA-09:16.rtld Security: FreeBSD-SA-09:17.freebsd-udpate
* MFC r198162:dougb2009-11-071-1/+1
| | | | | Allow $name_program to override $command in a more robust way that will not cause the value to be null if $command is not set.
* MFC various commits back to stable/8:ed2009-11-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SVN r197174: Make sure we never place the cursor outside the screen. For some vague reason, it may be possible that scp->cursor_pos exceeds scp->ysize * scp->xsize. This means that teken_set_cursor() may get called with an invalid position. Just ignore the old cursor position in this case. Reported by: Paul B. Mahol <onemda gmail com> SVN r198213: Make lock devices work properly. It turned out I did add the code to use the init state devices to set the termios structure when opening the device, but it seems I totally forgot to add the bits required to force the actual locking of flags through the lock state devices. Reported by: ru SVN r198215, r198217: Fix a typo in the jail(8) manpage. Submitted by: Jille Timmermans <jille quis cx> SVN r198216: Fix qouting in a comment, to make it look more consistent Submitted by: Jille Timmermans <jille quis cx> SVN r198223: Properly set the low watermarks when reducing the baud rate. Now that buffers are deallocated lazily, we should not use tty*q_getsize() to obtain the buffer size to calculate the low watermarks. Doing this may cause the watermark to be placed outside the typical buffer size. This caused some regressions after my previous commit to the TTY code, which allows pseudo-devices to resize the buffers as well. Reported by: yongari, dougb
* MFC: r198314brueffer2009-10-291-0/+1
| | | | Add empty watchdogd_flags.
* MFC r197947:dougb2009-10-1615-30/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | In regards to the "Starting foo:" type messages at boot time, create and employ a more generic solution, and use it in the individual rc.d scripts that also have an $rc_quiet test: 1. Add check_startmsgs() to rc.subr. 2. In the rc.d scripts that use rc_quiet (and rc.subr) substitute variations of [ -z "$rc_quiet" ] with check_startmsgs 3. In savecore add a trailing '.' to the end of the message to make it more consistent with other scripts. 4. In newsyslog remove a : before the terminal '.' since we do not expect there to be anything printed out in between to make it more consistent. 5. In the following scripts change "quotes" to 'quotes' where no variables exist in the message: savecore pf newsyslog 6. [Does not apply in RELENG_8] 7. In the following scripts separate the "Starting foo:" from the terminal '.' to make them more consistent: moused hostname pf 8. In nfsclient move the message to its own line to avoid a style bug 9. In pf rc_quiet does not apply to the _stop method, so remove the test there. 10. In motd add 'quotes' around the terminal '.' for consistency Approved by: re (kib)
* MFC r196439:dougb2009-10-141-3/+3
| | | | | | | | | Fix the typo mentioned in the PR, and one additional. Fix caps while I'm here. PR: conf/138087 Submitted by: Chris Petrik <c.petrik.sosa@gmail.com> Approved by: re (kib)
OpenPOWER on IntegriCloud