summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Fix devfs rules not applied by default for jails.delphij2014-04-301-1/+1
| | | | | Security: FreeBSD-SA-14:07.devfs Security: CVE-2014-3001
* Add placeholder Kyuafiles for various top-level hierarchies.jmmv2014-04-213-0/+44
| | | | | | | | | | | | This change adds tests/ directories in the source tree to create various subdirectories in /usr/tests/ and to install placeholder Kyuafiles for them. the relevant hierarchies are: cddl, etc, games, gnu and secure. The reason for this is to simplify the addition of new test programs for utilities or libraries under any of these directories. Doing so on a case by case basis is unnecessary and is quite an obscure process.
* when watchdogd is asked to exit nicely (via SIGTERM) it willemax2014-04-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | stop timer. since watchdogd rc.d script is marked as 'shutdown' it will exit (on shutdown) and stop timer. if system happens to hung after watchdogd exited, manual reset is required. when one operates in "lights-out" type of environments and without readily available "remote hands" it could create a problem. this provides ability to override "stop signal" for watchdogd. default behavior is preserved, i.e. watchdogd will still be killed via SIGTERM and timer will be stopped. in order to activate new feature, one needs to put watchdogd_sig_stop="KILL" into /etc/rc.conf and also make sure watchdogd timeout is set to long enough value allowing system to come back online before timeout fires. Obtained from: Netflix MFC after: 1 week
* Always install pkg.conf. Don't depend on MK_PKGBOOTSTRAP.bdrewery2014-04-131-2/+0
| | | | | | | | | This file is used by pkg(8) from ports as well. Someone may choose to not install pkg(7) but still want to consume official packages by building or installing pkg(8) manually. Discussed with: bapt MFC after: 1 day (Working on EN)
* Loosen the processing of *_IF_aliasN vars to be less strict. Previously,dteske2014-04-074-38/+293
| | | | | | | | | | | the first alias had to be _alias0 and processing stopped at the first non- defined variable (preventing gaps). Allowing gaps gives the administrator the ability to group aliases in an adhoc manner and also lifts the requirement to renumber aliases simply to comment-out an existing one. Aliases are processed in numerical ascending order. Discussed on: -rc MFC after: 1 week
* Add atf m4 files from the vendor branch.jmmv2014-04-011-0/+2
| | | | | | | These were originally deleted as "not important" but, actually we need them in place if we want to be able to use autoconf on software that provides atf-based tests. (That includes being able to rebuild autotest from scratch on the Kyua cluster machines, as the automated setup does.)
* Give hint on how to disable the default repository.bdrewery2014-03-301-0/+8
| | | | | Discussed with: bapt MFC after: instantly (preparing EN)
* Update userspace users of hw.bus.devctl_disable.mjg2014-03-261-2/+3
| | | | | | | | This fixes breakage resulting from r263754. Reported by: AN <andy@neu.net> Reviewed by: imp Pointy hat to: me
* Add several ATF tests that deal with multiple fibs. They're described inasomers2014-03-201-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | several different PRs, but the tests share some common code, so I'm committing them together. sbin/ifconfig/tests sbin/ifconfig/tests/fibs_test.sh sbin/ifconfig/tests/Makefile sbin/ifconfig/Makefile Add fibs_test.sh, which regresses bin/187551 tests/sys/netinet tests/sys/netinet/fibs_test.sh tests/sys/netinet/udp_dontroute.c tests/sys/netinet/Makefile tests/sys/Makefile Add fibs_test.sh, which regresses kern/167947, kern/187552 kern/187549, kern/187550, and kern/187553 etc/mtree/BSD.tests.dist Add newly created directories PR: bin/187551 PR: kern/167947 PR: kern/187552 PR: kern/187549 PR: kern/187550 PR: kern/187553 Discussed with: melifaro MFC after: 3 weeks Sponsored by: Spectra Logic Corporation
* Migrate tools/regression/usr.bin/pkill to the new tests layout.jmmv2014-03-191-0/+2
| | | | | | Interestingly, the pkill tool lives in bin, not usr.bin. Haven't bothered to check if this is because the tool moved or because the tests were originally added in the wrong place.
* Migrate tools/regression/usr.bin/make/ to the new tests layout.jmmv2014-03-191-0/+98
| | | | | | | | | | | | | Note that these tests are for fmake, not bmake, and thus they are not installed nor run when bmake is selected (the default). Yes, I have wasted a *ton* of time on moving tests for no real reason other than ensuring they are not left behind. But maybe, just maybe, it was not work in vain: the majority of these tests also work with bmake and the few that don't may point at broken stuff. For example, the tests for the "archive" feature do not work with bmake, but bmake's manpage and source tree seem to imply that they should. So... to be investigated later; need to poke sjg@.
* Expand tabs that sneaked in into spaces.jmmv2014-03-191-2/+2
| | | | Problem introduced by r263227. Spotted by Alan Somers.
* Migrate most of tools/regression/usr.bin/ to the new tests layout.jmmv2014-03-161-0/+32
| | | | | | | | | | | | | | | I'm starting with the easy cases. The leftovers need to be looked at a bit more closely. Note that this change _does_ modify the code of the old tests. This is required in order to allow the code to locate the data files in the source directory instead of the current directory, because Kyua automatically changes the latter to a temporary directory. Also note that at least one test is known to be broken here. Actually, the test is not really broken: it's marked as a TODO but unfortunately Kyua's TAP parser currently does not understand that. Will have to be fixed separately.
* Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout.jmmv2014-03-161-0/+10
| | | | | | | | | | | This change was originally going to only migrate the usr.sbin tests but, as it turns out, the usr.sbin/sa/ tests require files from usr.bin/lastcomm/ so it's better to just also migrate the latter at the same time. The other usr.bin tests will be moved separately. To make these tests work within the test suite, some of them have required changes to prevent modifying the source directory and instead just rely on the current directory for file manipulation.
* Migrate tools/regression/sbin/ to the new tests layout.jmmv2014-03-161-0/+8
| | | | | Pretty much all that this change does is shuffles the code around and hooks it into the regular build. The code of the old tests has not changed.
* Remove AppleTalk support.glebius2014-03-141-2/+0
| | | | | | | | | | AppleTalk was a network transport protocol for Apple Macintosh devices in 80s and then 90s. Starting with Mac OS X in 2000 the AppleTalk was a legacy protocol and primary networking protocol is TCP/IP. The last Mac OS X release to support AppleTalk happened in 2009. The same year routing equipment vendors (namely Cisco) end their support. Thus, AppleTalk won't be supported in FreeBSD 11.0-RELEASE.
* Remove IPX support.glebius2014-03-147-116/+6
| | | | | | | | | | | IPX was a network transport protocol in Novell's NetWare network operating system from late 80s and then 90s. The NetWare itself switched to TCP/IP as default transport in 1998. Later, in this century the Novell Open Enterprise Server became successor of Novell NetWare. The last release that claimed to still support IPX was OES 2 in 2007. Routing equipment vendors (e.g. Cisco) discontinued support for IPX in 2011. Thus, IPX won't be supported in FreeBSD 11.0-RELEASE.
* Add a mailer.conf example to use dmabapt2014-03-101-0/+2
|
* Change the terminal type/class for enabled serial lines to 3wire. Thismarcel2014-03-095-8/+8
| | | | | | | | | | | | | | | | | | | | 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. Likewise, when uart(4) does not fixate the baudrate, one can change the terminal type/class to set a specific baudrate. An operator can use this to change the console speed mid-flight, without needing a reboot. Of course it helps in this respect if and when the firmware can be configured from the OS. The above mentioned capabilities depend on uart(4) being changed, which is to happen next.
* Add 3wire and std as terminal types/classes. These are similar tomarcel2014-03-091-0/+4
| | | | | | | | | | | | | the existing terminal types/classes that have the baudrate suffix, but differ in that no baudrate is set/defined. The purpose of these new types/classes is to allow them to be used for the serial console. Currently the uart(4) driver fixates the baudrate and the CLOCAL flag, which means that it doesn't matter whether you give it std.<baud> or 3wire.<baud> as the terminal type to getty and what exactly <baud> is set to. It's being overridden by uart(4). The goal is to change uart(4) not to override these settings.
* Disable libwrap (TCP wrappers) support in rpcbind by default, introducingmav2014-03-061-0/+1
| | | | | | | | new command line options -W, to enable it when needed. On my tests this change by almost ten times improves rpcbind performance. No objections: many, net@
* Rename WITHOUT_DMA into WITHOUT_DMAGENT to avoid confusionbapt2014-02-221-1/+1
| | | | Requested by: ian
* Install a default configuration file for dmabapt2014-02-213-0/+75
| | | | Suggested by: flo
* Fix typobapt2014-02-211-1/+1
|
* Import Dragonfly Mail Agent into base systembapt2014-02-212-0/+4
| | | | | | | | | | | | It is a small and lightweight Mail Transport Agent. It accepts mails from locally installed Mail User Agents (MUA) and delivers the mails either locally or to a remote destination. Remote delivery includes several features like TLS/SSL support, SMTP authentication and NULLCLIENT. Make dma conditional to new WITHOUT_DMA option and make it respect WITHOUT_MAIL Reviewed by: peter Discussed with: emaste, bz, peter
* Further refine the auth fail regex to catch more auth failures andbrueffer2014-02-201-1/+1
| | | | | | | | | | | | | reduce false positives. The committed patch was provided by Christian Marg. PR: 91732 Submitted by: Daniel O'Connor <doconnor at gsoft.com.au> Skye Poier <spoier at gmail.com> Alan Amesbury <amesbury at umn.edu> Christian Marg <marg at rz.tu-clausthal.de> MFC after: 1 month
* Upgrade our copy of llvm/clang to 3.4 release. This version supportsdim2014-02-161-1/+1
| | | | | | | | | | | | | | | | | all of the features in the current working draft of the upcoming C++ standard, provisionally named C++1y. The code generator's performance is greatly increased, and the loop auto-vectorizer is now enabled at -Os and -O2 in addition to -O3. The PowerPC backend has made several major improvements to code generation quality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZ backends have all seen major feature work. Release notes for llvm and clang can be found here: <http://llvm.org/releases/3.4/docs/ReleaseNotes.html> <http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html> MFC after: 1 month
* Start getty(8) on ttyu1 as well. It's not uncommon for HP hardwaremarcel2014-02-161-1/+1
| | | | to have that be the iLO console (e.g. pluto).
* Allow overriding rctl.conf(5) file location for /etc/rc.d/rctlbdrewery2014-02-152-2/+6
| | | | | | Reviewed by: trasz Approved by: bapt (mentor) MFC after: 1 week
* move devd rules for zfs events into a separate file and fix stale event typesavg2014-02-143-32/+78
| | | | | | | | | | Also, extend with some new events. Additionally, tag syslog messages with 'ZFS' instead of using explicit "ZFS: " prefix in the messages themselves. Tested by: Daniel O'Connor <doconnor@gsoft.com.au> MFC after: 8 days Sponsored by: HybridCluster
* Regenerate usb.confhselasky2014-02-061-1/+19
| | | | MFC after: 2 weeks
* Regenerate usb.confhselasky2014-02-041-19/+35
| | | | MFC after: 2 days
* Upgrade to OpenSSH 6.5p1.des2014-01-311-1/+3
|
* Import libc++ 3.4 release. This contains a lot of bugfixes, and somedim2014-01-301-0/+2
| | | | | | preliminary support for C++1y. MFC after: 3 weeks
* Add support for trackpads found in Apple MacBook products. While at ithselasky2014-01-291-0/+18
| | | | | | | add some missing devd entries. Submitted by: Huang Wen Hui <huanghwh@gmail.com> MFC after: 1 week
* Minor changes to force commit these files so new freebsd*.cf files aregshapiro2014-01-262-0/+2
| | | | | | built to use the new sendmail-8.14.8/cf tree. MFC after: 5 days
* Temporarily turn off the services.db generation during distributeworld.gjb2014-01-251-2/+0
| | | | | | | I'll work on an update to test for endianness-compatibility. Submitted by: many Sponsored by: The FreeBSD Foundation
* Replace the old unix_seqpacket and unix_seqpacket_exercise tests, whichasomers2014-01-231-0/+4
| | | | | | | | | | | were a little broken and not automatable, with unix_seqpacket_test. It's coverage is a superset of the old tests and it uses ATF. It includes test cases for bugs kern/185813 and kern/185812. PR: kern/185812 PR: kern/185813 Sponsored by: Spectra Logic MFC after: 2 weeks
* Disable output about duplicate services, which were not output duringgjb2014-01-221-1/+1
| | | | | | | | testing. MFC after: 1 month X-MFC-After: r261031 Sponsored by: The FreeBSD Foundation
* Generate /var/db/services.db during 'make distribution' so that it isjhb2014-01-221-0/+2
| | | | | | | | present during new installs. Update etcupdate and mergemaster to ignore the generated file. Tested by: gjb (release build) MFC after: 1 month
* Remove pkg_* related info from periodic.confbapt2014-01-221-9/+0
| | | | | Reported by: Robin Brocks <robin.brocks@brocks.de> MFC after: 3 days
* Do not exit with non-zero return code if sysctl.conf or sysctl.conf.local filesdemon2014-01-211-1/+3
| | | | | | are absent. Approved by: delphij
* Respect the original layout of the atf-{c,c++} tests.jmmv2014-01-101-0/+4
| | | | | | | | | Put test programs for internal modules into a 'detail' subdirectory of the libatf-c and libatf-c++ test directories, just as the upstream distribution does. This is necessary because the tests assume such layout to find the process_helper program, and currently fail because of this divergence. MFC after: 1 week
* Remove very low default limit of 4 nfsd threads. nfsd's own default ismav2014-01-091-1/+1
| | | | 8 * hw.ncpu, that sounds more appropriate for these SMP/NCQ/... days.
* Regen.kevlo2014-01-031-4/+28
|
* Tighten default restrictions for ntpd(8) server and provide a linkdelphij2013-12-271-9/+25
| | | | | | | | | | | | | | to NTP access restriction documentation. The new default restrictions would allow only time queries from a remote system and will KoD all other requests, but still allow localhost to do make all requests. These restrictions are also recommended for all Internet-facing public NTP servers. This changeset is intended for an instant MFC to stable/10 and releng/10.0.
* Regen.kevlo2013-12-271-2/+2
|
* Honor WITHOUT_CASPER.gjb2013-12-211-1/+5
| | | | Sponsored by: The FreeBSD Foundation
* Make the world a bit more secure place (hopefully) and turn the casperd onpjd2013-12-191-1/+1
| | | | | | by default. Sponsored by: The FreeBSD Foundation
* Start-up script for casperd daemon.pjd2013-12-163-0/+21
| | | | Sponsored by: The FreeBSD Foundation
OpenPOWER on IntegriCloud