summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug which prevented mount.fstab parameter from being convertedhrs2014-09-041-4/+4
| | | | | | when jail_JID_devfs_enable=NO. Spotted by: peter
* Fix typo: s/_maske/_mask/gjb2014-09-041-1/+1
| | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation
* Create a /boot/dtb directory to house DTB blobs. The flattened deviceimp2014-09-031-0/+2
| | | | | | | | | | | tree support includes a device tree source compiler dtc(8) which converts .dts files into .dtb files. /boot/loader will load dtb files from this directory by default, allowing for fewer differences between images for different SoCs. Compiled dts files will wind up here eventually as an alternative to embedding them into the kernel. Document this in hier(7), as well as add missing entries for /boot/firmware and /boot/zfs, though the latter two should only be considered place holders if someone wants to make them better.
* Add vt(4) support to the console initialisation script, specifically:se2014-09-011-4/+115
| | | | | | | | | | | | | | | | | | | - Identify the console driver used and print syscons or vt as appropriate. - If vt is used and a keymap could not be loaded, then try to replace the keymap name configured in rc.conf based on a replacement list in this script. Warn about the fact, that a syscons keyname is configured and report the replacement used under vt. - If no replacement keymap is found, no keymap is loaded and a warning is displayed, which points at the conversion script and allows the conversion of keymaps not part of the official distribution. This patch has been sent to the -hackers list for review, but no comment has been received, yet. It is tested to work under syscons and vt on my system (on vt with either the syscons or vt keymap file name in rc.conf). MFC after: 3 days
* Use ipv6_prefer when at least one ifconfig_IF_ipv6 is configured.hrs2014-08-301-0/+2
| | | | Discussed on: -net@
* Return false status only when adding a route is failed. It couldhrs2014-08-291-26/+24
| | | | erroneously return false due to an afexists() check loop in routing_start().
* Restructure rc.d scripts for kerberos5 daemons:hrs2014-08-2910-48/+167
| | | | | | | | | | | | | | | | | | | | | | | - 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}.
* - Add a warning message when an IPv6 address is specified with no prefixlen.hrs2014-08-291-21/+17
| | | | - Use a parameter argument in jls(8) instead of doing grep.
* Fix rc.d/gssd script to define the default values in a standard way.hrs2014-08-292-4/+3
|
* - Use $local_startup to load rc.conf.d/* scripts.hrs2014-08-271-17/+16
| | | | | | - Document support of rc.conf.d/<dir>/* introduced in r270392. Discussed with: bapt
* Fix xref, pam(8) -> pam(3)gavin2014-08-261-1/+1
| | | | | | PR: 193045 Submitted by: rsimmons0 gmail com MFC after: 3 days
* Allow to configure services from ${LOCALBASE}/etc/rc.conf.dbapt2014-08-261-0/+4
| | | | | | Reviewed by: bdrewery MFC after: 1 week Relnotes: yes
* Add references to vt(4) and the configuration files in /usr7share/vt wherese2014-08-261-4/+4
| | | | | | | | | appropriate (i.e. where syscons was already mentioned and vt supports the feature). Comments in defaults/rc.conf are updated to match the contents of the modified man-page rc.conf(5). Reviewed by: pluknet, emaste MFC after: 3 days
* Add "nobrowse" option. Previously automountd(8) always behaved as iftrasz2014-08-231-1/+1
| | | | | | | | it was set, now it's conditional. PR: 192862 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
* Add support for /etc/rc.conf.d/<service> subdirectories. This isdes2014-08-232-1/+11
| | | | | | | | particularly useful for services such as "network" (netif) where each interface can now have its own separate configuration file. Add /etc/rc.conf.d to the mtree file so it is always present. MFC after: 3 days
* Setting rc_debug explicitly in /etc/defaults/rc.conf defeats its purpose.des2014-08-231-1/+1
| | | | MFC after: 3 days
* Bring in the new automounter, similar to what's provided in most othertrasz2014-08-1712-1/+150
| | | | | | | | | | | | | 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 MFC after: 2 weeks Relnotes: yes Sponsored by: The FreeBSD Foundation
* Make the USB and ZFS devd configuration files optional depending on thengie2014-08-151-1/+9
| | | | | | | | | | | values of MK_USB/MK_ZFS Making zfs.conf optional resolves PR # 186971 PR: 186971 Phabric: D606 Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division
* Convert devd's client socket to type SOCK_SEQPACKET.asomers2014-08-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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. CR: https://reviews.freebsd.org/rS266519 MFC after: 5 days Sponsored by: Spectra Logic
* Add missing BSD.tests.dist entry for lib/libutil to unbreak installworld withngie2014-08-131-0/+2
| | | | | | | | | MK_TESTS == no Phabric: D555 X-MFC with: r269904 Approved by: jmmv (mentor, implicit) Pointyhat to: ngie
* Integrate lib/libnv into the build/kyuangie2014-08-051-0/+2
| | | | | | | | | Rename all of the TAP test applications from <test> to <test>_test to match the convention described in the TestSuite wiki page Phabric: D538 Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division
* Integrate lib/libmp into the build/kyuangie2014-08-041-0/+2
| | | | | | | | | | | | | - 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
* Like with /usr/lib + /usr/lib/compat, add the optional /usr/lib32/compatpeter2014-08-011-1/+2
| | | | | | | to the ldconfig32 default path. /usr/lib32 is the 32 bit versions of *current* libraries, while old versions should be able to be in /usr/lib32/compat, like with /usr/lib/compat. The separation is meant to keep the compile time default search paths cleaner.
* Add the mtree entry for yacc testsbapt2014-07-171-0/+2
|
* Fix indentationbdrewery2014-07-171-2/+2
|
* units(1): Add basic testseadler2014-07-171-0/+2
| | | | Add some tests to help avoid breaking units
* Remove ia64.marcel2014-07-071-49/+0
| | | | | | | | | | | | | | | | | This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h Discussed at: BSDcan
* chown: add a testeadler2014-06-301-0/+2
| | | | | Add a test for the chown utility. This sets up chown(8) to be capable of being tested. As such, only add one test for now as an example.
* Remove example cvsup config files.gavin2014-06-251-2/+0
| | | | MFC after: 1 week
* Unbreak installation of the rtld tests.markj2014-06-241-0/+1
| | | | X-MFC-With: r267679
* Fix ifname normalization. ifconfig_IF_alias{es,N} did not work if ifname hashrs2014-06-241-7/+7
| | | | | | any of [.-/+]. Spotted by: jhay
* Test RTLD's new LD_LIBRARY_PATH_FDS variable.jonathan2014-06-201-0/+1
| | | | | | | | | | | | Test LD_LIBRARY_PATH_FDS by linking a binary that requires a shared library that isn't in any of the usual search paths. Ensure this fails when we don't supply LD_LIBRARY_PATH_FDS or we pass invalid information in it. Ensure it works when we pass the correct directory in various places in the variable. Approved by: rwatson (mentor) MFC after: 3 weeks Sponsored by: DARPA/AFRL
* Stop creating /etc/gnatsgavin2014-06-201-2/+0
|
* Fix address matching rule.hrs2014-06-191-1/+1
| | | | Reported by: jase
* Convert the potential console port over to using 3wire, for i386/amd64.grehan2014-06-172-2/+2
| | | | | | | (This change was already in place for other arches via r262957) Reviewed by: nwhitehorn MFC after: 1 week
* Remove send-pr, the supported interface to submit bugs is now viagavin2014-06-141-1/+0
| | | | | | | | | https://bugs.freebsd.org/submit/ Removing send-pr also removes one more piece of non-BSD-licensed software. Hat: bugmeister MFC after: 3 days
* Put the test suite in its own tests.txz distribution file.jmmv2014-06-101-1/+4
| | | | | | | | | | | | | | 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 it. To make this possible, we need two fixes: - bsd.subdir.mk needs to properly honor NO_SUBDIR in all cases so that we do not recurse into 'tests' subdirectories when we needn't. Otherwise, we end up with some Kyuafiles in base.txz. - etc/Makefile needs to skip installing tests in its 'distribute' target so that a Kyuafile doesn't leak into base.txz. Approved by: gjb
* truncate: Detect integer overflow, fix relative sizes, add tests.jilles2014-06-091-0/+2
| | | | | | | | | | | The change to expand_number (r204654) broke detection of too large sizes and relative sizes ('+'/'-'). Also add some tests. PR: 190735 Submitted by: Kirk Russell MFC after: 1 week
* Move atf-sh from /usr/bin/ to /usr/libexec/jmmv2014-06-061-4/+2
| | | | | | | | | | | | | 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.
* Install VT support filesemaste2014-06-051-0/+6
| | | | | | They can be disabled by setting WITHOUT_VT_SUPPORT=yes in src.conf. Sponsored by: The FreeBSD Foundation
* Adds the bsnmp module to export the temperature data from lm75 sensors onloos2014-06-011-0/+5
| | | | | | | | | the system. Together with lm75(4) this module allows easy temperature monitoring over SNMP, specially for embedded systems. Manual page reviewed by: brueffer (D128)
* Add missing libexec/bsdconfig subdirectoriesemaste2014-05-301-0/+4
|
* Enable a login console on ttyu0 by default if it is a serial console. Thisnwhitehorn2014-05-302-2/+2
| | | | | | | | | | | prevents surprising effects post-installation on serial-only x86 systems (e.g. bhyve) where the kernel messages will appear, rc scripts will run, and then there will be no login prompt and you will be locked out of the system. Thanks to Devin Teske and Peter Grehan for ideas and testing. With this patch, it may also be possible to unify all or most of the machine-specific ttys files.
* Create /var/unbound/conf.d for additional configuration files.des2014-05-291-0/+2
| | | | | | Ensure that it is used if present. MFH: 3 weeks
* Change libatf-c and libatf-c++ to be private libraries.jmmv2014-05-251-2/+0
| | | | | | | | | | | | | | 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
* Untabify.hselasky2014-05-241-2/+2
| | | | Found by: jmmv @
* Initial import of character device in userspace support for FreeBSD.hselasky2014-05-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CUSE library is a wrapper for the devfs kernel functionality which is exposed through /dev/cuse . In order to function the CUSE kernel code must either be enabled in the kernel configuration file or loaded separately as a module. Currently none of the committed items are connected to the default builds, except for installing the needed header files. The CUSE code will be connected to the default world and kernel builds in a follow-up commit. The CUSE module was written by Hans Petter Selasky, somewhat inspired by similar functionality found in FUSE. The CUSE library can be used for many purposes. Currently CUSE is used when running Linux kernel drivers in user-space, which need to create a character device node to communicate with its applications. CUSE has full support for almost all devfs functionality found in the kernel: - kevents - read - write - ioctl - poll - open - close - mmap - private per file handle data Requested by several people. Also see "multimedia/cuse4bsd-kmod" in ports.
* Minor changes to force commit these files so new freebsd*.cf files aregshapiro2014-05-222-2/+0
| | | | | | built to use the new sendmail-8.14.9/cf tree. MFC after: 3 days
* Fix warning messages after r252015rea2014-05-201-5/+4
| | | | | | | | | | | $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 MFC after: 1 week
* - Include /etc/newsyslog.conf.d/* and /usr/local/etc/newsyslog.conf.d/* bybdrewery2014-05-202-0/+5
| | | | | | | | | | default for newsyslog(8). The /usr/local/etc/newsyslog.conf.d will give packages an opportunity to install a default configuration to handle their own log files. MFC after: 2 weeks Relnotes: yes
OpenPOWER on IntegriCloud