summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Merge from head@274682sjg2014-11-1957-430/+1130
|\
| * Missed a terminating ';'.jhibbits2014-11-181-1/+1
| | | | | | | | X-MFC-with: r273009
| * Add reachover Makefiles for contrib/netbsd-tests/lib/librtngie2014-11-171-0/+2
| | | | | | | | | | | | | | | | | | A variant of this code has been tested on amd64/i386 for some time by EMC/Isilon on 10-STABLE/11-CURRENT. It builds on other architectures, but the code will remain off until it's proven it works on virtual hardware or real hardware on other architectures Sponsored by: EMC / Isilon Storage Division
| * Add reachover Makefiles for contrib/netbsd-tests/lib/librtngie2014-11-161-0/+2
| | | | | | | | | | | | | | | | | | A variant of this code has been tested on amd64/i386 for some time by EMC/Isilon on 10-STABLE/11-CURRENT. It builds on other architectures, but the code will remain off until it's proven it works on virtual hardware or real hardware on other architectures Sponsored by: EMC / Isilon Storage Division
| * Add reachover Makefiles for contrib/netbsd-tests/lib/libpthread asngie2014-11-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | lib/libthr/tests A variant of this code has been tested on amd64/i386 for some time by EMC/Isilon on 10-STABLE/11-CURRENT. It builds on other architectures, but the code will remain off until it's proven it works on virtual hardware or real hardware on other architectures Original work by: pho Sponsored by: EMC / Isilon Storage Division
| * Renove faith(4) and faithd(8) from base. It looks like industrymelifaro2014-11-098-86/+5
| | | | | | | | | | | | | | | | | | have chosen different (and more traditional) stateless/statuful NAT64 as translation mechanism. Last non-trivial commits to both faith(4) and faithd(8) happened more than 12 years ago, so I assume it is time to drop RFC3142 in FreeBSD. No objections from: net@
| * remove comment about the bug... I don't remeber what it was...jmg2014-11-061-3/+1
| | | | | | | | | | | | | | It may be an issue w/ using awk which is in /usr (and isn't always present), or another issue... Suggestion by: brooks
| * Create a directory for the PAM tests.markj2014-11-051-0/+2
| |
| * Avoid installing security.functions with executable bits, periodic(8) willbapt2014-11-051-2/+4
| | | | | | | | | | | | | | try to execute all files with an executable bit in /etc/periodic/*/ while this file is supposed only to be sourced by others MFC after: 1 week
| * Add reachover Makefiles for contrib/netbsd-tests/lib/libc; this adds ↵ngie2014-11-041-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | approximately 500 new testcases Various TODOs have been sprinkled around the Makefiles for items that even need to be ported (missing features), testcases have issues with building/linking, or issues at runtime. A variant of this code has been tested extensively on amd64 and i386 10-STABLE/11-CURRENT for several months without issue. It builds on other architectures, but the code will remain off until I have prove it works on virtual hardware or real hardware on other architectures In collaboration with: pho, Casey Peel <casey.peel@isilon.com> Sponsored by: EMC / Isilon Storage Division
| * switch from spaces to tabs to match style and awk...jmg2014-11-031-13/+13
| | | | | | | | Pointed out by: brooks
| * use tab instead of spaces like the rest of the file..jmg2014-11-031-1/+1
| |
| * Integrate pjdfstest test suite execution into kyuangie2014-11-031-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | pjdfstest execution is opt-in and must be done as root due to some of the assumptions made by the test suite and lack of error checking in the non-root case A description of how to execute pjdfstest with kyua is provided in share/pjdfstest/README Phabric: D824 (an earlier prototype patch) MFC after: 1 month Relnotes: yes Sponsored by: EMC / Isilon Storage Division
| * Do not try to create a /dev/log symlink in a jail.hrs2014-11-031-1/+1
| | | | | | | | PR: 179828
| * Add the less-ambiguous freebsd-version command.wblock2014-11-021-1/+1
| | | | | | | | | | Reviewed by: -stable MFC after: 3 days
| * Get rid of the postrandom script. It was born in a time when thedes2014-11-024-60/+35
| | | | | | | | | | | | | | | | | | | | | | random script ran before filesystems were mounted, which is no longer the case. In random_start(), immediately delete each file that is fed into /dev/random, and recreate the default entropy file immediately after reading and deleting it. The logic used in random_stop() to determine which file to write to should probably be factored out and used here as well.
| * add an rc.d script to automatically grow the specified FS... It hasjmg2014-11-022-0/+99
| | | | | | | | | | been tested on both MBR and GPT... It won't be enabled until you add growfs_enable="YES" and will only run on first boot..
| * rc.d/geli should not depend on random, as the attach functionalitydelphij2014-10-311-1/+0
| | | | | | | | | | | | | | | | | | do not require additional entropy to function. It would create a circular dependency (not immediately obvious: geli provides 'disks' and requires 'random' as of r273872, 'random' requires 'FILESYSTEMS', 'FILESYSTEMS' requires 'root', 'root' requires 'swap', and finally 'swap' requires 'disk').
| * This is the much-discussed major upgrade to the random(4) device, known to ↵markm2014-10-306-66/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | you all as /dev/random. This code has had an extensive rewrite and a good series of reviews, both by the author and other parties. This means a lot of code has been simplified. Pluggable structures for high-rate entropy generators are available, and it is most definitely not the case that /dev/random can be driven by only a hardware souce any more. This has been designed out of the device. Hardware sources are stirred into the CSPRNG (Yarrow, Fortuna) like any other entropy source. Pluggable modules may be written by third parties for additional sources. The harvesting structures and consequently the locking have been simplified. Entropy harvesting is done in a more general way (the documentation for this will follow). There is some GREAT entropy to be had in the UMA allocator, but it is disabled for now as messing with that is likely to annoy many people. The venerable (but effective) Yarrow algorithm, which is no longer supported by its authors now has an alternative, Fortuna. For now, Yarrow is retained as the default algorithm, but this may be changed using a kernel option. It is intended to make Fortuna the default algorithm for 11.0. Interested parties are encouraged to read ISBN 978-0-470-47424-2 "Cryptography Engineering" By Ferguson, Schneier and Kohno for Fortuna's gory details. Heck, read it anyway. Many thanks to Arthur Mesh who did early grunt work, and who got caught in the crossfire rather more than he deserved to. My thanks also to folks who helped me thresh this out on whiteboards and in the odd "Hallway track", or otherwise. My Nomex pants are on. Let the feedback commence! Reviewed by: trasz,des(partial),imp(partial?),rwatson(partial?) Approved by: so(des)
| * Add missing /usr/lib/debug directoriesemaste2014-10-281-0/+8
| | | | | | | | | | | | Directories for /usr/lib{,32}/{i18n,private} were missing from the mtree file, which caused installworld to install the files that should be in the directory as the name of the directory.
| * Add regression tests for the timeout(1) utilitybapt2014-10-281-0/+2
| | | | | | | | | | They are modeled over the regression tests that are provided for the GNU coreutils timeout(1) utility
| * Hook libxo to the build.marcel2014-10-231-0/+2
| | | | | | | | Sponsored by: Juniper Networks, Inc.
| * Fix a typo.hrs2014-10-201-1/+2
| | | | | | | | Spotted by: O. Hartmann
| * - Honer MK_KERBEROS for Heimdal rc.d scripts.hrs2014-10-191-4/+11
| | | | | | | | - Add rc.c/kerberos to OLD_FILES.
| * Add support of "/{udp,tcp,proto}" suffix into $firewall_myservices, whichhrs2014-10-171-3/+20
| | | | | | | | | | | | | | | | | | | | 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. PR: 194292 MFC after: 1 week
| * HYPERV isn't available on all architectures, but just on by defaultimp2014-10-161-4/+3
| | | | | | | | | | | | | | | | for i386/amd64. Rather, it only works on i386/amd64 and should only be built there. Rather than change the default based on which architecutre, do things more directly by only building it on i386/amd64 and having it always on. This is how we handle other options that are relevant only for a few architectures.
| * s/-/_/ in name.hrs2014-10-121-1/+1
| |
| * Add an AC line monitor so power_profile can workjhibbits2014-10-121-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Add a polling loop (1Hz) to monitor the battery and AC status, to notify devd like ACPI does for power monitoring. This allows /etc/rc.d/power_profile to work on PowerPC laptops Test Plan: Tested on a Titanium PowerBook, configuring economy_cpu_freq and performance_cpu_freq, disabling powerd. Reviewers: #powerpc, nwhitehorn Reviewed By: nwhitehorn Subscribers: rpaulo Differential Revision: https://reviews.freebsd.org/D937
| * Add env and prepend to _rc_namevarlist.hrs2014-10-121-1/+1
| |
| * Add ${name}_env and ${name}_prepend. ${name}_env is an argument list whichhrs2014-10-111-1/+11
| | | | | | | | | | will be passed to env(1). ${name}_prepend is simply prepended to the command line for $command.
| * Rename s/network/netif/ and set netif_enable for namespace consistency.hrs2014-10-112-15/+17
| |
| * Add example devd configuration file for USB printers.hselasky2014-10-092-1/+19
| |
| * Integrate usr.bin/gzip/tests from NetBSD into atf/kyuangie2014-10-091-0/+2
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
| * Integrate usr.bin/diff/tests from NetBSD into atf/kyua at gnu/usr.bin/diff/testsngie2014-10-091-0/+2
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
| * Integrate usr.bin/grep/tests from NetBSD into atf/kyuangie2014-10-091-0/+2
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
| * Integrate usr.bin/cut/tests from NetBSD into atf/kyuangie2014-10-091-0/+2
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
| * Integrate bin/sleep/tests from NetBSD into atf/kyuangie2014-10-091-0/+2
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
| * Integrate usr.bin/dirname/tests from NetBSD into atf/kyuangie2014-10-091-0/+2
| | | | | | | | | | In collaboration with: pho, sjg Sponsored by: EMC / Isilon Storage Division
| * Integrate usr.bin/cmp/tests from NetBSD into atf/kyuangie2014-10-091-0/+2
| | | | | | | | | | In collaboration with: sjg Sponsored by: EMC / Isilon Storage Division
| * Integrate usr.sbin/basename/tests from NetBSD into atf/kyuangie2014-10-091-0/+2
| | | | | | | | | | In collaboration with: pho Sponsored by: EMC / Isilon Storage Division
| * Set the autoindent to 4 spaces with vim in BSD.tests.distngie2014-10-091-0/+2
| | | | | | | | | | | | | | | | This will prevent vim users from accidentally checking in buggy mtree files (mixed tabs/spaces). MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
| * Integrate usr.sbin/nmtree/tests from NetBSD into atf/kyuangie2014-10-091-0/+2
| | | | | | | | | | In collaboration with: pho Sponsored by: EMC / Isilon Storage Division
| * - Add a test for bug 191427 where pw(8) will go into an infinite loopbrd2014-10-021-0/+2
| | | | | | | | | | Reviewed by: will MFC after: 1 month
| * Resurrect set_rcvar() as a function to define a rc.conf variable.hrs2014-10-021-5/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It defines a variable and its default value in load_rc_config() just after rc.conf is loaded. "rcvar" command shows the current and the default values. This is an attempt to solve a problem that rc.d scripts from third-party software do not have entries in /etc/defaults/rc.conf. The fact that load_rc_config() reads rc.conf only once and /etc/rc invokes the function before running rc.d scripts made developers confused for a long time because load_rc_config() just before run_rc_command() in each rc.d script overrides variables only when the script is directly invoked, not from /etc/rc. Variables defined in set_rcvar are always set in load_rc_config() after loading rc.conf. An rc.d script can now be written in a self-contained manner regarding the related variables as follows: --- name=foo rcvar=foo_enable set_rcvar foo_enable YES "Enable $name" set_rcvar foo_flags "-s" "Flags to $name" ... load_rc_config $name run_rc_command "$@" ---
| * Regenerate usb.confhselasky2014-09-281-13/+115
| | | | | | | | MFC after: 3 days
| * Revised to better point to release notes and errata, security advisories,wblock2014-09-251-7/+7
| | | | | | | | | | | | and be more specific about the -questions list. MFC after: 3 days
| * Don't install /etc/rc.d/keyserv unless MK_OPENSSL == yesngie2014-09-231-1/+4
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
| * Remove settings for pkg_* scripts which are no longer present.markj2014-09-231-8/+0
| | | | | | | | MFC after: 1 week
| * The new naming scheme for keymap files for use with vt(4) introduced ase2014-09-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | collision for "no" as a country code with "NO" meaning "do not load any keymap" (which also has been the default value in etc/defaults/rc.conf for a long time). The result of this collision is, that "kbdcontrol -l no" will load the Norwegian keymap, while "keymap=no" in rc.conf was interpreted as the lower case spelling of "NO" meaning "no keyboard" (and "no.kbd" was not loaded). Fix this by matching only the upper-case spelling "NO" in rc.d/syscons when deciding whether to load a keymap file. This will lead to "no.kbd" being loaded, if the until now valid (but non-default) spelling "no" was used in an individual rc.conf file to mean "no keyboard". But all alternatives I could think of introduce a larger violation of POLA ... Reported by: Gyrd Thane Lange (gyrd-se at thanelange.no) MFC after: 3 days
| * Register /usr/tests/lib/libproc to fix build.jmmv2014-09-221-0/+2
| | | | | | | | Missed in r271937, reviewed in D710.
OpenPOWER on IntegriCloud