summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* rc.subr: Check for running daemons before a custom start_cmd is executed.jilles2015-12-041-8/+8
| | | | | | | | | | | | | | | | | Currently rc scripts implementing their own start_cmd do not enjoy the benefits of rc.subr's own check for rc_pid. This leads to around a third of ports with such a start_cmd not to check for the process at all and two thirds of ports to re-implement this check (sometimes wrongly). This patch moves the check for rc_pid to before ${rc_arg}_cmd is executed. Submitted by: Dirk Engling Reviewed by: feld MFC after: 1 week Relnotes: yes Differential Revision: https://reviews.freebsd.org/D4156
* Regenerate usb.conf .hselasky2015-12-031-12/+228
| | | | MFC after: 1 week
* Modify the rctl rc script to add multiple rules in a single run.trasz2015-12-011-2/+2
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Load our configuration before setting defaults, so local_unbound_workdirdes2015-12-011-2/+2
| | | | | | | | actually has an effect. PR: 204931 Submitted by: Eugene Grosbein <eugen@grosbein.net> MFC after: 1 week
* Revert r290840ngie2015-12-011-1/+1
| | | | | | | | | | This request by the submitter was valid, but unfortunately there is a good deal of concern over breakage when DESTDIR != / or "", i.e. with release media. Making this change correct for all cases would make it markedly more complex than need be Requested by: bdrewery, ian, imp PR: 76362
* META MODE: Update dependencies with 'the-lot' and add missing directories.bdrewery2015-12-012-0/+22
| | | | | | | | | | | | | | This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable. Currently rescue/rescue and sys/modules are still not connected. Sponsored by: EMC / Isilon Storage Division
* Add support for the new "-manage-gids" option for the nfsuserd daemonrmacklem2015-11-303-1/+15
| | | | | | | | | | to the rc scripts. With these changes, setting nfs_server_managegids="YES" in /etc/rc.conf will enable this capability. Suggested by: jpaetzel Tested by: jpaetzel Reviewed by: rc (pending) MFC after: 2 weeks
* Add lib80211 to include path.adrian2015-11-301-0/+2
| | | | (This commit was missing from my lib80211 commit.)
* Install the public sanitizer headers. These are useful for programsdim2015-11-291-0/+2
| | | | that want to directly interface with sanitizer internals.
* Avoid FSCHG for INSTALL_AS_USER as well.bdrewery2015-11-161-1/+1
| | | | | | | PR: 194189 X-MFC-With: r290628 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Bring back a couple of ISO8859-15 locales:bapt2015-11-161-0/+14
| | | | | | | | | - af_ZA.ISO8859-15 - en_AU.ISO8859-15 - en_CA.ISO8859-15 - en_NZ.ISO8859-15 - en_US.ISO8859-15 - fr_CA.ISO8859-15
* Integrate tools/regression/pipe in to the FreeBSD test suite asngie2015-11-161-0/+2
| | | | | | | | | | | | | | tests/sys/kern/pipe - Fix style(9) bugs - Fix compiler warnings - Use `nitems(x)` instead of `sizeof(x) / sizeof(*x)` pattern The testcases will be converted over to ATF eventually, but for now will be integrated in as plain C tests MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Integrate kern/kern_acct.c testcase in as tests/sys/kern/acct/acct_testngie2015-11-161-0/+2
| | | | | | | | | The :encode_tv_random_million testcase fails the epsilon tests few thousand times out of one million, so expect the testcase to fail MFC after: 1 week Submitted by: keramida Sponsored by: EMC / Isilon Storage Division
* Regenerate locales after readding ISO8859-1 for locales that have ISO8859-15bapt2015-11-151-14/+54
| | | | Requested by: arche
* Rework locale-links to not make symlinks on directories but symlinks on filesbapt2015-11-151-0/+18
| | | | | | | The goal here is to make the upgrade seamless for users Add aliases for zh_HK Remove bad symlinks created by previous bad upgrade procedure. Complete ObsoleteFiles.inc with more locales that have been removed
* Setup the symlink to /sys to mirror one's current source, e.g. if my sourcengie2015-11-151-1/+1
| | | | | | | | | | | | tree was /usr/src/svn, /sys would point to usr/src/svn This fixes the assumption that the source tree will always exist at ${DESTDIR}/usr/src MFC after: 1 week PR: 76362 Reported by: Scot Hetzel <swhetzel@gmail.com> Sponsored by: EMC / Isilon Storage Division
* Fix a few files that where being incorrectly installed as one file. This ↵brd2015-11-132-1/+21
| | | | | | | was caused by the nvi upgrade fallout in r281994. So add the missing directories back to the mtree and add distrib-cleanup target to retroactively remove the files that should have been directories. Reviewed by: bdrewery Approved by: bdrewery
* Allow admins to specify a regex which is applied (in the negative) to thedes2015-11-131-1/+6
| | | | | | | output from df, similar to what security/200.chkmounts does. This can be useful to avoid listing automounted ZFS snapshots, for instance. MFC after: 1 week
* Respect NO_FSCHG for extracting mtrees.bdrewery2015-11-121-3/+7
| | | | | | | PR: 194189 X-MFC-With: r290628 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* When extracting mtrees, pass -i so schg/sappnd are respected.bdrewery2015-11-092-4/+4
| | | | | | | | | | | | This fixes /var/empty not being schg in the installation. This was a change from fmtree to nmtree, that -i is now required to apply these flags. PR: 194189 Submitted by: guyyur@gmail.com MFC after: 2 weeks Relnotes: yes
* Add some basic tests that exercise cputime limits with limits(1)ngie2015-11-091-0/+2
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* periodic: Fix backwards compatibility for daily_status_security_* vars.jilles2015-11-071-2/+2
| | | | | | | | | | Most daily_status_security_* variables in periodic.conf were changed to security_status_* in SVN r254974. The compatibility code for the old names did not work. PR: 204331 Submitted by: martin at lispworks.com MFC after: 1 week
* Stop enforcing LC_COLLATE to C unicode collation is now supportedbapt2015-11-071-1/+1
|
* Merge from head r290483bapt2015-11-074-6/+6
|\
| * Restrict 520.pfdenied to only list rules that blocked traffic.lidl2015-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | Before this change, the 520.pfdenied script listed all rules that matched /^block/ in the rule. Restrict the printed output to only those rules that result in packets being dropped. PR: conf/187224 Approved by: rpaulo (mentor) Differential Revision: https://reviews.freebsd.org/D4068
| * Rename etc/periodic/daily/430.status-rwho to periodic/daily/430.status-uptimengie2015-11-023-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | The command was checking local/remote system uptime, so rename the script to match its function and to avoid confusion The controlling variable in /etc/periodic.conf has been renamed from daily_status_rwho_enable to daily_status_uptime_enable. MFC after: 3 days Reported by: Peter Jeremy <peter@rulingia.com> Relnotes: yes Sponsored by: EMC / Isilon Storage Division
* | Merge from headbapt2015-11-0122-53/+131
|\ \ | |/
| * After r290196, the kernel won't wait for stuff like gmirror nodestrasz2015-10-302-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | if they are not required for mounting rootfs. However, it's possible that some setups try to mount them in mountcritlocal (ie from fstab). Export the list of current root mount holds using a new sysctl, vfs.root_mount_hold, and make mountcritlocal retry if "mount -a" fails and the list is not empty. MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3709
| * Integrate contrib/netbsd-tests/lib/libc/rpc into the FreeBSD test suitengie2015-10-301-0/+2
| | | | | | | | | | | | | | | | | | | | as lib/libc/rpc This testcase requires rpcbind be up in running; otherwise the testcases will time out and be skipped MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
| * Ignore per-mdN settings in mdconfig[2] startupdteske2015-10-292-0/+4
| | | | | | | | | | | | | | PR: base/189696 Submitted by: ganael.laplanche@martymac.org MFC after: 3 days X-MFC-to: stable/10 stable/9
| * Use more appropriate ${SHAREDIR} rather than /usr/share.bdrewery2015-10-271-10/+10
| | | | | | | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
| * Since r275359, there is no need to provide a bogus service name.des2015-10-262-2/+2
| | | | | | | | MFC after: 3 weeks
| * Correctly document the change made in r275359.des2015-10-261-2/+4
| |
| * Loading rc.subr and rc.conf has no effect since all we do is run otherdes2015-10-261-3/+0
| | | | | | | | | | | | scripts which load them again. MFC after: 3 weeks
| * Correctly reintroduce the rudimentary smoke tests I botched upngie2015-10-221-0/+2
| | | | | | | | | | | | | | in r289684 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
| * Revert r289694ngie2015-10-211-2/+0
| | | | | | | | I committed some other undesirable local changes by accident
| * Add some rudimentary [smoke] testcases for makefsngie2015-10-211-0/+2
| | | | | | | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
| * Handle lib32 files during delete-old* when MK_LIB32=no.jmmv2015-10-205-12/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend OptionalObsoleteFiles.inc to delete all lib32 files when MK_LIB32 is set to no on a system that previously had lib32 libraries installed. Also, to prevent "make delete-old-dirs" from always deleting lib32 directories after an installworld, move the lib32 subtree to its own mtree file that only gets applied when MK_LIB32=yes. Test: Ran "make delete-old" and "make delete-old-libs" on a system that never had MK_LIB32 enabled, and on a system where MK_LIB32 was enabled and later disabled. Did this both on amd64 and powerpc64. Test: Ran "make tinderbox" without errors. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D3923
| * Enable all callin ttys if the tty is an available console.gjb2015-10-206-22/+22
| | | | | | | | | | | | Discussed on: -arch@ (no objections) MFC after: 1 week Sponsored by: The FreeBSD Foundation
| * Allow osreldate and osrelease to be set per jailphk2015-10-201-0/+2
| |
| * After starting Unbound, wait for up to five seconds until unbound-controldes2015-10-191-0/+21
| | | | | | | | | | | | | | indicates that it is up and running. PR: 184047 MFC after: 3 weeks
* | Merge from headbapt2015-10-199-6/+153
|\ \ | |/
| * Integrate contrib/netbsd-tests/bin/dd into the FreeBSD test suite as ↵ngie2015-10-181-0/+2
| | | | | | | | bin/dd/tests
| * Integrate tools/regression/acltools into the FreeBSD test suite as tests/sys/aclngie2015-10-171-0/+2
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Make the requirements more complete for the testcases - Detect prerequisites so the tests won't fail (zfs.ko is loaded, zpool(1) is available, ACL support is enabled with UFS, etc). - Work with temporary files/directories/mountpoints that work with atf/kyua - Limit the testcases to work on temporary filesystems to reduce tainting the test host MFC after: 2 weeks Reviewed by: trasz (earlier version) Differential Revision: https://reviews.freebsd.org/D3810
| | \
| | \
| *-. \ Integrate tools/test/posixshm and tools/regression/posixshm into the FreeBSDngie2015-10-171-0/+2
| |\ \ \ | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test suite as tests/sys/posixshm Some other highlights: - Convert the testcases over to ATF - Don't use hardcoded paths to /tmp (which violate the ATF/kyua samdbox); use mkstemp to generate temporary paths for non-SHM_ANON shm objects. MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
| | | * Integrate tools/regression/acltools into tests/sys/aclngie2015-10-131-0/+2
| | | |\ | | | | | | | | | | | | | | | Apply patches I've been running for months on my GitHub project
| | | | * Integrate tools/regression/acltools into tests/sys/aclngie2015-10-051-0/+2
| | | | | | | | | | | | | | | | | | | | Apply patches I've been running for months on my GitHub project
| | | | * MFhead @ r288473ngie2015-10-022-6/+15
| | | | |\
| | | | * \ MFhead @ r288313ngie2015-09-2716-35/+164
| | | | |\ \
| | | | * \ \ MFhead @ r286584ngie2015-08-107-6/+23
| | | | |\ \ \
OpenPOWER on IntegriCloud