summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* MFC r290163: Ignore per-mdN settings in mdconfig[2] startupdteske2015-11-022-0/+4
| | | | | PR: base/189696 Submitted by: ganael.laplanche@martymac.org
* MFC r262957, r267591, r289634:gjb2015-10-287-28/+28
| | | | | | | | | | | | | | | | | | | | | r262957 (marcel): Change the terminal type/class for enabled serial lines to 3wire. This allows us to change the uart(4) driver to not hardcode specific line settings for the serial console. A terminal type of 3wire makes sure the console still works when no DCD signal is present, which preserves behviour. When it is known that the terminal server (or DCE in general) provides DCD, a terminal type/class of std can be used. This has the effect of being logged out when one disconnects from the console -- improving security overall. r267591 (grehan): Convert the potential console port over to using 3wire, for i386/amd64. r289634: Enable all callin ttys if the tty is an available console. Sponsored by: The FreeBSD Foundation
* MFC r286163: rc.subr: Allow rc.conf.d with multi-directory local_startup.jilles2015-10-271-1/+2
| | | | | | | | I also changed ${...%*/rc.d} to ${...%/rc.d} since the shortest match always has an empty string for the asterisk. PR: 201641 Submitted by: Jamie Landeg-Jones (original version)
* Fix indentation in etc/rc.d/fsck.vangyzen2015-10-271-1/+1
|
* MFH (r275359, r290007): make load_rc_config's name argument optionaldes2015-10-261-19/+22
|
* MFC r289300:ngie2015-10-261-0/+2
| | | | | | Integrate tools/regression/vfs into the FreeBSD test suite as tests/sys/vfs Sponsored by: EMC / Isilon Storage Division
* MFC r282339,r282341:ngie2015-10-261-0/+2
| | | | | | | | | | r282339 (by bapt): Add regression test about reverse line feed to col(1) r282341 (by bapt): Actually push the right tests
* MFC r288330,r288423,r288678,r288905,r288906,r288907,r289102:ngie2015-10-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r288330: Add initial testcases for bin/ls Sponsored by: EMC / Isilon Storage Division r288423: Skip the B_flag testcase to stop blowing up freebsd-current@ with "test failure emails" because kyua report-jenkins doesn't properly escape non-printable chars r288678: Merge additional testcases and improvements to bin/ls/ls_tests from ^/user/ngie/more-tests. - Additional testcases added: -- ls -D -- ls -F -- ls -H -- ls -L -- ls -R -- ls -S -- ls -T -- ls -b -- ls -d -- ls -f -- ls -g -- ls -h -- ls -i -- ls -k -- ls -l -- ls -m -- ls -n -- ls -o -- ls -p -- ls -q/ls -w -- ls -r -- ls -s -- ls -t -- ls -u -- ls -y - Socket file creation is limited to the ls -F testcase, greatly speeding up the test process - The ls -C testcase was made more robust by limiting the number of columns via COLUMNS and by dynamically formulating the columns/lines. - Add `atf_test_case` before all testcase `head` functions. Sponsored by: EMC / Isilon Storage Division r288905: Add some more syncs to quiesce the filesystem after creating the files to see if this fixes deterministic Jenkin failures r288906: Explicitly set BLOCKSIZE to 512 in the environment r288907: Call sync consistently using atf_check Remove superfluous sync's r289102: Remove all of the syncs They're unnecessary as shown by further testing on my VM Requested by: jhb
* MFC r287951:trasz2015-10-183-3/+3
| | | | | | | The "automount" rc script should depend on "automountd", not the other way around. Sponsored by: The FreeBSD Foundation
* MFC r288390:bdrewery2015-10-131-1/+10
| | | | | | | | When stopping ugidfw, it is not enough to just try unloading the module. If the module is built-in to the kernel then the kldunload will fail. Rather than do this just check if there are rules and then remove them all. Relnotes: yes
* MFC r279248: Unconditionally install debug directory hierarchyemaste2015-09-241-8/+3
| | | | | | | | | This avoids various failure modes (e.g., when building and installing a single binary with debug data on a system that otherwise does not have it enabled). It is also consistent with the way other directory hierarchies are handled (e.g. share/man).
* Long overdue MFC r285444:jlh2015-09-221-1/+5
| | | | | | | Allow again periodic scripts to be run from command-line. PR: 188109 Submitted by: Jason Unovitch
* MFC 287615:hrs2015-09-131-5/+4
| | | | Use read to parse a line instead of set.
* MFC 287614:hrs2015-09-131-4/+11
| | | | | - Add uid check. - Report delay<0 as a warning.
* MFC 287613:hrs2015-09-131-1/+1
| | | | | | | Update only static routes when an interface is specified. This fixed a bad side-effect reported in PR 202144. PR: 202144
* Put timeout directory in correct placerodrigc2015-09-031-2/+2
|
* MFC r286964asomers2015-09-031-0/+2
| | | | Add ATF functional tests for fstyp(8). No ZFS or GELI tests yet.
* MFC: r268745,r268746,r268747,r268748,r268749,r268861,r268750,r268751,r268763bapt2015-09-021-0/+2
| | | | | | | | r273769,r273771,r276771,r278810 New BSDL timeout(1) utility compatible with GNU timeout Relnotes: yes
* MFH: r284691julian2015-08-241-23/+15
| | | | | | | | | MFH: r284920 Remove 16 rules and replace by 2 by using a table. I've been doing this ever since there were tables. I could make more efficient by using "in recv" and "out xmit" instead of via but I'll leave that.
* MFC r257077:garga2015-08-111-4/+0
| | | | | | | | Cleanup empty directories PR: 167133 Approved by: loos Sponsored by: Netgate
* MFC r286375:delphij2015-08-061-1/+0
| | | | Now that stable/8 is EOL, stop building INDEX-8.
* MFC r285675:trasz2015-08-021-1/+0
| | | | | | Remove a comment in the wrong place. Sponsored by: The FreeBSD Foundation
* MFC r274841hrs2015-07-231-5/+0
| | | | | | | | Remove examples of gif_interfaces and gifconfig. These have already been marked as deprecated in rc.conf(5) manual page but these examples were still here. Approved by: re (gjb)
* MFC r273201, r273301:hrs2015-07-231-3/+21
| | | | | | | | | | Add support of "/{udp,tcp,proto}" suffix into $firewall_myservices, which interpreted the listed items as port numbers of TCP services. A service with no suffix still works and recognized as a TCP service for backward compatibility. It should be updated with /tcp suffix. Approved by: re (gjb)
* MFC r285253 (hrs):gjb2015-07-201-0/+1
| | | | | | | | | | | - Add IPv6 support in quota(1). While rpc.rquotad has supported PF_INET6 for a long time, quota(1) utility supported only PF_INET. - Clean up confusing changes in f_mntfromname. - Add an entry for rquotad with rpc/udp6 to inetd.conf. PR: 194084 Approved by: re (kib) Sponsored by: The FreeBSD Foundation
* MFC r280849,280915-280916,281015-281016,282097,282408,282415,283542,delphij2015-07-152-2/+16
| | | | | | | | | 284864,285169-285170,285435: ntp 4.2.8p3. Relnotes: yes Approved by: re (?)
* MFC: r284930brueffer2015-07-131-0/+2
| | | | | | | | Add CouchDB ports (5984 TCP/UDP). PR: 193268 Submitted by: yuri@rawbw.com Approved by: re (gjb)
* MFC: Minor changes to force commit these files so new freebsd*.cf filesgshapiro2015-07-092-2/+0
| | | | | | are built to use the new sendmail-8.15.2/cf tree. Approved by: re (gjb)
* MFH (r270391): don't set rc_debug in /etc/defaults/rc.confdes2015-06-301-1/+1
|
* MFC r284683:gjb2015-06-241-3/+3
| | | | | | | | | | | | | | Enable ttyu1, ttyu2, ttyu3 for arm installations. This should make all consoles available, whether it is VGA, HDMI, serial, or JTAG, but more importantly enables all consoles when ttyu0 is not predictable. For example, the Pandaboard ES apparently has three consoles available, but the DB9/RS232 serial port is ttyu2, so not available by default after the system boots. Sponsored by: The FreeBSD Foundation
* Revert r284516, which broke the build in a way I do not fullygjb2015-06-171-2/+0
| | | | | | understand yet. I'll redo this MFC after investigation. Sponsored by: The FreeBSD Foundation
* MFC r283989:gjb2015-06-171-0/+2
| | | | | | | Implement endian-aware services_mkdb(8) in the 'distribute' target. Sponsored by: The FreeBSD Foundation
* MFC r273955,274060,274164: Add /etc/rc.d/growfs script.cperciva2015-06-052-0/+97
|
* MFC r262955:ian2015-06-041-0/+4
| | | | | | Add 3wire and std as terminal types/classes. These are similar to the existing terminal types/classes that have the baudrate suffix, but differ in that no baudrate is set/defined.
* MFC r277627,r277650,r282059,r283056,r283840,r283845:ngie2015-05-313-14/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r277627 (by will): Add routing_test:static_ipv6_loopback_route_for_each_fib. It tests that all FIBs get a static IPv6 loopback route. Submitted by: asomers Sponsored by: Spectra Logic MFSpectraBSD: 1048456 on 2014/03/13 1114523 on 2015/01/23 r277650 (by will): Add tests/etc/rc.d to mtree. Submitted by: stefanf MFC with: 277627 r282059: Move etc/tests/rc.d to etc/rc.d/tests to match the directory layout jmmv@ documented and implemented in other areas of the FreeBSD tree r283056: Move all test integration pieces for etc/ from etc/ to tests/ This is being done to fix breakage with make distribution with read-only source trees as make distribution doesn't use make obj like building tests/ does in all cases Reported by: Wolfgang Zenker <wolfgang@lyxys.ka.sub.org> Suggested by: jhb r283840: Remove empty tests directory r283845: Append to SUBDIR, not set it Pointyhat to: ngie
* MFC r279955:trasz2015-05-213-1/+31
| | | | | | | | Add -noauto autofs map, for automatic handling of fstab entries marked "noauto". Relnotes: yes Sponsored by: The FreeBSD Foundation
* MFC r277171:trasz2015-05-211-9/+4
| | | | | | Use newly added GEOM notifications to discard autofs caches. Sponsored by: The FreeBSD Foundation
* MFC r276833:trasz2015-05-211-1/+1
| | | | | | Make /net use -intr by default. Linux does that, and it seems a good idea. Sponsored by: The FreeBSD Foundation
* MFC r275681:trasz2015-05-214-1/+109
| | | | | | | | | | | | | | Add "-media" autofs map, to access data on removable media, such as CD drives or flash keys. It can be enabled by uncommenting a single entry in default /etc/auto_master. It can also be easily modified to use fuse-based filesystems instead of in-kernel ones. There is still one deficiency - the mountpoints are permanent, they don't disappear when user removes the media. Fixing it needs some autofs changes. Relnotes: yes Sponsored by: The FreeBSD Foundation
* MFC r282500, r282693:gjb2015-05-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r282500: Add initial support for building RPI2 images. In release.sh, allow overriding buildenv_setup() before the handoff to arm/release.sh. Copy arm/RPI-B.conf -> arm/RPI2.conf, set UBOOT_PORT and the correct KERNEL, and add the buildenv_setup() override to install the sysutils/u-boot-rpi2 port/package. Copy tools/arm/crochet-RPI-B.conf -> tools/arm/crochet-RPI2.conf, and set the correct entries for the RaspberryPi2 board. r282693: Merge ^/projects/release-arm-redux into ^/head. Of note: - This commit adds native FreeBSD/arm release build support without requiring out-of-tree utilities. - Part of this merge removes the WANDBOARD-{SOLO,DUAL,QUAD} kernel configuration files, for which the IMX6 kernel configuration file should be used instead. - The resulting images have a 'freebsd' user (password 'freebsd'), to allow ssh(1) access when console access is not available (VGA or serial). The default 'root' user password is set to 'root'. - The /etc/ttys file for arm images now enable both ttyv0 and ttyu0 by default. Note: The RPI2 kernel configuration does not yet exist in stable/10, however the merge conflicts needed to be properly resolved. Additionally, SRCBRANCH has been set to base/stable/10 in the updated arm configuration files as part of this commit. Sponsored by: The FreeBSD Foundation
* MFC r282061:ngie2015-05-161-0/+2
| | | | | Integrate tools/regression/execve into the FreeBSD test suite as tests/sys/kern/execve
* MFC r279317:trasz2015-05-151-0/+2
| | | | | | Add key/cert generation script for uefisign(8). Sponsored by: The FreeBSD Foundation
* MFC r280321:trasz2015-05-151-13/+30
| | | | | | | | | Make the autofs LDAP script cope with server returning entries with ENTRY_ATTRIBUTE (eg cn) after the VALUE_ATTRIBUTE (eg automountInformation), instead of before. PR: 198557 Sponsored by: The FreeBSD Foundation
* MFC r281593,r282071,r282074,r282133,r282134,r282135,r282136,r282137,r282138:ngie2015-05-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r282071: Integrate tools/regression/mqueue into the FreeBSD test suite as tests/sys/mqueue r282074: Integrate tools/regression/aio/aiotest and tools/regression/aio/kqueue into the FreeBSD test suite as tests/sys/aio r282133: Fill in the copyright boilerplate for the test program r282134: Add initial (unpolished) macros for interfacing with the FreeBSD test suite This is very rough, but will be replaced/redesigned some time soon after I fix the Jenkins breakage I introduced r282135: Use ATF_REQUIRE_KERNEL_MODULE instead of aio_available function r282136: - Use ATF_REQUIRE_KERNEL_MDOULE to require aio(4) - Don't use /tmp as a basis for temporary files as it's outside of the ATF sandbox - Don't override MAX macro in sys/param.h r282137: Use PLAIN_REQUIRE_KERNEL_MODULE to require "mqueuefs" r282138: Adjust CFLAGS to find freebsd_test_suite/macros.h
* MFC r282076,r282104:ngie2015-05-131-0/+2
| | | | | | | | | | | | | | | r282076: Integrate tools/regression/mmap into the FreeBSD test suite as tests/sys/kern/mmap_test r282104: Move tests/sys/kern/mmap_test to tests/sys/vm/mmap_test As jhb noted, the actual mmap(2) implementation is under sys/vm, not sys/kern/, so the correct logical place is tests/sys/vm/, not tests/sys/kern/
* MFC r282067:ngie2015-05-131-0/+4
| | | | | Integrate tools/regression/fifo into the FreeBSD test suite as tests/sys/fifo and tools/regression/file into the FreeBSD test suite as tests/sys/file
* MFC r282063:ngie2015-05-131-0/+2
| | | | | Integrate tools/regression/kqueue into the FreeBSD test suite as tests/sys/kqueue
* MFC 280721:jhb2015-04-292-3/+6
| | | | | | | | | Allow additional flags to be passed to netstat -i in the daily status check. In particular, this allows an administrator to specify "-h" for human readable output if that is preferred. The default setting passes "-d", so that can be excluded by using a custom setting.
* MFC 281112, 281166jpaetzel2015-04-121-33/+37
| | | | | | | | | | | | Bug fixes and feature adds - Remove extranious echo that breaks puppet - Handle restarts of multiple pflog devices correctly - Add the ability to perform actions on specific pflog devices. Typo Fix. PR: 199150
* MFC 279952:jhb2015-04-091-1/+1
| | | | | - Align comment for df flags variable in periodic.conf. - Note default value of df flags variable in periodoc.conf(5).
OpenPOWER on IntegriCloud