summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* MFC r272974,272976:hrs2014-11-021-2/+12
| | | | | | Add ${name}_env and ${name}_prepend. ${name}_env is an argument list which will be passed to env(1). ${name}_prepend is simply prepended to the command line for $command.
* MFC r271057: Create a /boot/dtb directory to house DTB blobs.ian2014-10-261-0/+2
|
* MFC r272778:ngie2014-10-231-0/+2
| | | | | | | | | Set the autoindent to 4 spaces with vim in BSD.tests.dist This will prevent vim users from accidentally checking in buggy mtree files (mixed tabs/spaces). Sponsored by: EMC / Isilon Storage Division
* MFC r273285:hrs2014-10-191-4/+11
| | | | | - Honer MK_KERBEROS for Heimdal rc.d scripts. - Add rc.c/kerberos to OLD_FILES.
* Merge: r268812rodrigc2014-10-111-0/+2
| | | | Add the mtree entry for yacc tests
* MFC r272393:hrs2014-10-091-5/+38
| | | | | | Resurrect set_rcvar() as a function to define a rc.conf variable. 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.
* MFC r271663:hrs2014-10-092-4/+4
| | | | Fix a typo; master server for iprop service should be singular.
* MFC r271545, 271610:hrs2014-10-091-0/+16
| | | | | Make net.inet.ip.sourceroute, net.inet.ip.accept_sourceroute, and net.inet.ip.process_options vnet-aware.
* MFC r271145:hrs2014-10-091-4/+4
| | | | | Fix a bug which prevented mount.fstab parameter from being converted when jail_JID_devfs_enable=NO.
* MFC r270836:hrs2014-10-091-0/+2
| | | | Use ipv6_prefer when at least one ifconfig_IF_ipv6 is configured.
* MFC r270783:hrs2014-10-091-26/+24
| | | | | Return false status only when adding a route is failed. It could erroneously return false due to an afexists() check loop in routing_start().
* MFC r270782:hrs2014-10-0910-48/+167
| | | | | | | | | | | | | | | | | | | | | | | | | Restructure rc.d scripts for kerberos5 daemons: - Rename $kerberos5_server_enable with $kdc_enable and rename rc.d/kerberos with rc.d/kdc. - Rename $kadmin5_server_enable with $kadmind_enable. - Rename ${kerberos5,kpasswdd}_server with ${kdc,kpasswdd}_program. - Fix rc.d/{kadmind,kerberos,kpasswdd,kfd} scripts not to change variables after load_rc_config(). - Add rc.d/ipropd_master and rc.d/ipropd_slave scripts. These are for iprop-master(8) and iprop-slave(8). Keytab used for iprop service is defined in ipropd_{master,slave}_keytab (/etc/krb5.keytab by default). - Add dependency on rc.d/kdc to SERVERS. rc.d/kdc must be invoked as early as possible before scripts divided by rc.d/SERVERS. Note that changes to rc.d/{kdc,kpasswdd,kadmind} are backward-compatible with the old configuration variables: ${kerberos5,kpasswdd,kadmin5}_server{,_enable,_flags}.
* MFC r270780:hrs2014-10-093-25/+18
| | | | | | | | Fix rc.d/gssd script to define the default values in a standard way. MFC r270781: - Add a warning message when an IPv6 address is specified with no prefixlen. - Use a parameter argument in jls(8) instead of doing grep.
* MFC r266267, r267636:hrs2014-10-091-2/+2
| | | | | Fix an issue in range specification handling when a "-foo" is specified in ifconfig_IF_aliasN.
* MFC r265225:hrs2014-10-091-7/+10
| | | | | | Move configuration of IPv6 NDP flags to a point before handling ifconfig_IF. This fixes a race that a non-IPv4 interface can get an EUI64 LLA even if it has IFDISABLED nd6 flag at boot time.
* MFC r261894: move devd rules for zfs events into a separate fileavg2014-10-073-32/+78
| | | | ... and fix stale event types
* MFC r271424:bdrewery2014-10-052-7/+6
| | | | | | | | - Add $netif_ipexpand_max to specify the upper limit for the number of addresses generated by an address range specification. The default value is 2048. This can be increased by setting $netif_ipexpand_max in rc.conf. PR: 186841
* MFC r271321:bdrewery2014-10-021-2/+2
| | | | | | | Don't cross mount boundaries when cleaning tmp files. Approved by: re (gjb) Relnotes: yes
* MFC r272253:hselasky2014-10-021-13/+115
| | | | | | Regenerate usb.conf Approved by: re, gjb
* MFC r271493,271688-271689,271696,271854,272139-272143:delphij2014-09-304-0/+29
| | | | | | | | | | | | Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft, many thanks for their continued support of FreeBSD. While I'm there, also implement a new build knob, WITHOUT_HYPERV to disable building and installing of the HyperV utilities when necessary. The HyperV utilities are only built for i386 and amd64 targets. Approved by: re (gjb)
* MFC r272137:wblock2014-09-281-7/+7
| | | | | | | Revised to better point to release notes and errata, security advisories, and be more specific about the -questions list. Approved by: re (gjb)
* Properly revert r272128.gjb2014-09-264-27/+0
| | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* Revert r272149, which introduces obscure vestiges from thegjb2014-09-264-0/+27
| | | | | | | r272128 reversal. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* Revert r272128:gjb2014-09-264-27/+0
| | | | | | | | | | | Though this passes the buildworld test, this fails during installworld with: make[3]: "/releng/scripts-release/chroots/10/i386/release/etc/devd/Makefile" line 13: Malformed conditional (${MK_HYPERV} != "no") Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* MFC r271493,271688,271689,271696,271854:delphij2014-09-254-0/+27
| | | | | | | | | | | | Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft, many thanks for their continued support of FreeBSD. While I'm there, also implement a new build knob, WITHOUT_HYPERV to disable building and installing of the HyperV utilities when necessary. The HyperV utilities are only built for i386 and amd64 targets. Approved by: re (gjb)
* MFC r271958:se2014-09-251-1/+1
| | | | | | | | Permit use of "no" as specification of a Norwegian keymap file. Only "keymap=NO" (the default in defaults/rc.conf) or "keymap=" (an empty value) will prevent loading of a keymap file. Approved by: re (gjb)
* MFC r269392: Add /usr/lib32/compat to the default ld-elf32.so.1 path.peter2014-09-241-1/+2
| | | | Approved by: re (gjb, delphij)
* Define NO_TESTS instead of WITHOUT_TESTS for the etc/gjb2014-09-141-1/+1
| | | | | | | | | | 'distribute' target to fix the WITH_TESTS=1 build. This is a direct commit to stable/10. Submitted by: ngie Approved by: re (rodrigc) Sponsored by: The FreeBSD Foundation
* MFC r271434:wblock2014-09-141-17/+13
| | | | | | | Update motd, clarifying the information and adding pointers to other resources. Approved by: re@ (marius@)
* MFC r267176, r267181, r268445 (ATF-related commits):ngie2014-09-091-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Phabric: https://reviews.freebsd.org/D706 Approved by: rpaulo (mentor) Approved by: re (gjb) Reviewed by: jmmv Sponsored by: EMC / Isilon Storage Division r267176: Add the *_TESTS_SH_SED_* functionality to atf.test.mk. This exists already in plain.test.mk and tap.test.mk and should have been added to atf.test.mk too when the feature was first introduced. (It is probably time to address the related TODOs but I will do that separately.) r267181: Move atf-sh from /usr/bin/ to /usr/libexec/ In r266650, we made libatf-c and libatf-c++ private libraries so that no components outside of the source tree could unintendedly depend on them. This change does the same for the "atf-sh library" by moving the atf-sh interpreter from its public location in /usr/bin/ to the private location in /usr/libexec/. Our build system will ensure that our own test programs use the right binary, but users won't be able to depend on atf-sh by "mistake". Committing this now to ride the UPDATING notice added with r267172 today. r268445: Fix atf-sh's integration_test With the move of atf-sh into /usr/libexec in r267181, some of the tests in the integration_test program broke because they could not execute atf-sh from the path any longer. This slipped through because I do have a local atf installation in my home directory that appears in my path, hence the tests could still execute my own version. Fix this by forcing /usr/libexec to appear at the beginning of the path when attempting to execute atf-sh. To make upgrading easy (and to avoid an unnecessary entry in UPDATING), make integration_test depend on the Makefile so that a rebuild of the shell script is triggered. This requires a hack in the *.test.mk files to ensure the Makefile is not treated as a source to the generated program. Ugly, I know, but I don't have a better way of doing this at the moment. Will think of one once I address the TODO in the *.test.mk files that suggests generalizing the file generation functionality. PR: 191052 Reviewed by: Garrett Cooper
* MFH (r270392, r270676, r270679, r270698): add support for subdirectories in ↵des2014-09-082-5/+18
| | | | | | rc.conf.d Approved by: re (glebius)
* MFC r271078:gjb2014-09-071-1/+1
| | | | | | | Fix typo: s/_maske/_mask/ Approved by: re (rodrigc) Sponsored by: The FreeBSD Foundation
* MFC r270647: Add references to vt(4) and the configuration files in /usr/shase2014-09-042-8/+119
| | | | | | | | | | | | | | | | | | | | | | MFC r270653: Update man-pages to correctly refer to changed pathes and namin MFC r270657: More man pages that need to know about vt in addition to syscon MFC r270659: (by pluknet@) Missed comma. MFC r270660: Back-out the references to vt(4) from this man-page. It appears MFC r270933: Add references to vt(4) to further man-pages. MFC r270934: Final patches to the tools used to convert syscons keymaps for MFC r270935: Add vt(4) support to the console initialisation script, specifi Second batch of MFCs to add support for Unicode keymaps for use with vt(4). It contains the following changes: - Add references to vt(4) to relevant man-pages. - Update comment in defaults/rc.conf to mention vt - Update rc.d/syscons to warn about syscons keymaps used under vt. An attempt is made to identify the vt keymap to load instead. - Minor changes to the conversion tool based on mail comments on keymaps. Relnotes: yes
* Merge r270677 from head:gavin2014-09-031-1/+1
| | | | | | | Fix xref, pam(8) -> pam(3) PR: 193045 Submitted by: rsimmons0 gmail com
* MFC r266650, r267172 (both by jmmv):ngie2014-08-311-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r266650: Change libatf-c and libatf-c++ to be private libraries. We should not be leaking these interfaces to the outside world given that it's much easier for third-party components to use the devel/atf package from ports. As a side-effect, we can also drop the ATF pkgconfig and aclocal files from the base system. Nothing in the base system needs these, and it was quite ugly to have to get them installed only so that a few ports could build. The offending ports have been fixed to depend on devel/atf explicitly. Reviewed by: bapt r267172: Homogenize libatf-* version numbers with upstream. The libatf-* major version numbers in FreeBSD were one version ahead of upstream because, when atf was first imported into FreeBSD, the upstream numbers were not respected. This is just confusing and bound to cause problems down the road. Fix this by taking advantage of the fact that libatf-* are now private and that atf is not yet built by default. However, and unfortunately, a clean build is needed for tests to continue working once "make delete-old-libs" has been run; hence the note in UPDATING. Phabric: D701 Approved by: jmmv (maintainer, mentor)
* MFC r270406:trasz2014-08-311-1/+1
| | | | | | | | Add "nobrowse" option. Previously automountd(8) always behaved as if it was set, now it's conditional. PR: 192862 Sponsored by: The FreeBSD Foundation
* MFC r270096:trasz2014-08-3112-1/+150
| | | | | | | | | | | | | Bring in the new automounter, similar to what's provided in most other UNIX systems, eg. MacOS X and Solaris. It uses Sun-compatible map format, has proper kernel support, and LDAP integration. There are still a few outstanding problems; they will be fixed shortly. Reviewed by: allanjude@, emaste@, kib@, wblock@ (earlier versions) Phabric: D523 Relnotes: yes Sponsored by: The FreeBSD Foundation
* MFC r270180:ngie2014-08-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r269906: Add missing BSD.tests.dist entry for lib/libutil to unbreak installworld with MK_TESTS == no Phabric: D555 Approved by: jmmv (mentor, implicit) Pointyhat to: ngie r269904: Integrate lib/libutil into the build/kyua Remove the .t wrappers Rename all of the TAP test applications from test-<test> to <test>_test to match the convention described in the TestSuite wiki page humanize_number_test.c: - Fix -Wformat warnings with counter variables - Fix minor style(9) issues: -- Header sorting -- Variable declaration alignment/sorting in main(..) -- Fit the lines in <80 columns - Fix an off by one index error in the testcase output [*] - Remove unnecessary `extern char * optarg;` (this is already provided by unistd.h) Phabric: D555 Approved by: jmmv (mentor) Obtained from: EMC / Isilon Storage Division [*] Submitted by: Casey Peel <cpeel@isilon.com> [*] Sponsored by: EMC / Isilon Storage Division
* Use 'WITHOUT_TESTS=1' instead of 'MK_TESTS=no' in thegjb2014-08-221-1/+1
| | | | | | | | | | 'distribute' target of etc/Makefile, because we do not allow command-line use of 'make MK_TESTS=no' in stable/10. This fixes a regression introduced in r270187 that causes the release build to fail, and a direct commit to stable/10. Sponsored by: The FreeBSD Foundation
* MFC r269534:ngie2014-08-211-0/+2
| | | | | | | | | | | | | | | | | | Integrate lib/libmp into the build/kyua - Remove the .t wrapper - Fix -Wreturn-type warnings with clang This change has been tested on amd64/i386 Phabric: D530 Reviewed by: jmmv Approved by: jmmv (co--mentor) MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division MFC note: src.opts.mk in the original commit was changed to bsd.own.mk.
* MFC devd-related changesasomers2014-08-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r270004 Convert devd's client socket to type SOCK_SEQPACKET. This change consists of two merges from projects/zfsd/head along with the addition of an ATF test case for the new functionality. sbin/devd/tests/Makefile sbin/devd/tests/client_test.c Add ATF test cases for reading events from both devd socket types. r266519: sbin/devd/devd.8 sbin/devd/devd.cc Create a new socket, of type SOCK_SEQPACKET, for communicating with clients. SOCK_SEQPACKET sockets preserve record boundaries, simplying code in the client. The old SOCK_STREAM socket is retained for backwards-compatibility with existing clients. r269993: sbin/devd/devd.8 Fix grammar bug. r270019 (from bz) Remove bogus ; at the end of the if condition in order to unbreak gcc builds after r270004. MFC after: 4 days X-MFX with: r270004
* MFC r266473,267331,267511:ian2014-08-191-1/+4
| | | | | | | | | | | | | | | | Use an intermediate target to associate with _SUBDIR which is marked .MAKE this allows make -n to do tree walks as expected without doing anything else (as intended). Use prefix _sub. to help avoid conflict with any real target. Put the test suite in its own tests.txz distribution file. Force all the contents of /usr/tests to go into a separate distribution file so that users of binary releases can easily choose to not install Create a mechanism for providing fine-grained build order dependencies during SUBDIR_PARALLEL builds. This augments the coarse .WAIT mechanism, which is still useful if you've got a situation such as "almost everything depends on A and B".
* Merge r267867 from head:gavin2014-08-131-2/+0
| | | | Remove example cvsup config files.
* Define both ttyu0 and ttyu1 as onifconsole. This is ideal for ia64marcel2014-08-021-2/+2
| | | | where the console can be on either, depending on the platform.
* MFC r266902: Add missing libexec/bsdconfig subdirectoriesemaste2014-08-011-0/+4
|
* MFH (r266114, r266138): upgrade to latest ldns and unbounddes2014-07-291-0/+2
| | | | | | | | | | | MFH (r266139-r266143, r266145, r266149, r266150): fix props MFH (r266179, r266180, r266193, r266238, r266777): misc cleanup MFH (r266863): create and use /var/unbound/conf.d MFH (r268839): import unblock-lan-zones patch from upstream MFH (r268840): fix reverse lookups on private networks MFH (r268883): avoid spamming source tree during build PR: 190739 (for r268883)
* MFC r267812 (hrs): Fix ifname normalization. ifconfig_IF_alias{es,N} did notdteske2014-07-231-11/+10
| | | | | | | | | | | | | | | | | | | | work if ifname has any of [.-/+]. While here, also perform the following to reduce diff size between major branches for etc/network.subr: MFC r266475 (rea): Fix warning messages after r252015 $alias used to hold alias number, but now it carries full variable name, so messages were tuned to account for that. Other fixes: - eliminate unneeded double spaces; - tell user where inet/inet6 keywords are expected to be. Reviewed by: hrs Spotted by: jhay PR: conf/191961
* MFC r267124, r267582:emaste2014-06-231-0/+6
| | | | | | Install VT support files They can be disabled by setting WITHOUT_VT_SUPPORT=yes in src.conf.
* Merge r267482,r267483,r267486,r267577,r267671,r267672 from head:gavin2014-06-222-3/+0
| | | | | Remove send-pr and fix up all references to it. Replace it with a stub send-pr directing people towards the web site.
* MFC r260913,266895:nwhitehorn2014-06-082-2/+2
| | | | | | | | | | Add a new flag to /etc/ttys: onifconsole. This is equivalent to "on" if the device is an active kernel console and "off" otherwise. This is designed to allow serial-booting x86 systems to provide a login prompt on the serial line by default without providing one on all systems by default. Set this flag on x86 systems for ttyu0. Comments and suggestions by: grehan, dteske, jilles
OpenPOWER on IntegriCloud