summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* sbin/devd/devd.ccasomers2013-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | Promoting the SIGINFO handler's log message from LOG_INFO to LOG_NOTICE, and promoting the "Processing event ..." message from LOG_DEBUG to LOG_INFO. Setting the logfile to LOG_NOTICE with this change will have the same result as setting it to LOG_INFO without this change. Setting it to LOG_INFO with this change will include the useful "Processing event ..." messages that were previously at LOG_DEBUG, without including useless messages like "Pushing table". The intent of this change is that one can log "Processing event ..." without logging "Pushing table" and related messages that are sent for every event. The number of lines actually logged is reduced by about 75% by making this change and setting syslog to LOG_INFO vs setting syslog to LOG_DEBUG. etc/syslog.conf Changing the recommended loglevel to notice instead of info. Sponsored by: Spectra Logic Corp MFC after: 4 weeks
* Migrate tools/regression/bin/ tests to the new layout.jmmv2013-12-111-0/+26
| | | | | | | | | | | | | | | | | | | | This change is a proof of concept on how to easily integrate existing tests from the tools/regression/ hierarchy into the /usr/tests/ test suite and on how to adapt them to the new layout for src. To achieve these goals, this change: - Moves tests from tools/regression/bin/<tool>/ to bin/<tool>/tests/. - Renames the previous regress.sh files to legacy_test.sh. - Adds Makefiles to build and install the tests and all their supporting data files into /usr/tests/bin/. - Plugs the legacy_test test programs into the test suite using the new TAP backend for Kyua (appearing in 0.8) so that the code of the test programs does not have to change. - Registers the new directories in the BSD.test.dist mtree file. Reviewed by: freebsd-testing Approved by: rpaulo (mentor)
* Rev 256256 had an undocumented side effect of breaking existing behaviorpeter2013-12-081-2/+2
| | | | | | | | for ipv6 jails. Among the harmful side effects included putting a route to an entire /64 onto an interface even if you were in a smaller network - eg: /80. This broke the freebsd.org cluster hosted at ISC which has /80 networks.
* Regen.kevlo2013-12-061-3/+3
|
* Install teken.h for userland.ray2013-12-051-0/+2
| | | | | | | | Part of VT(9) project merge. Reviewed by: nwhitehorn MFC_to_10_after: re approval Sponsored by: The FreeBSD Foundation
* The rc system aggressively caches the contents of /etc/rc.conf in order tocperciva2013-12-031-0/+5
| | | | | | | | | | | | | improve boot performance; this produces arguably astonishing (non-)results if /etc/rc.conf is modified during the boot process. Since performance considerations make it infeasible to automatically detect if the cached /etc/rc.conf parameters should be invalidated, provide a mechanism for explicitly requesting that /etc/rc.conf be reloaded: Catch SIGALRM and reload /etc/rc.conf if it is received. Discussed on: freebsd-rc MFC after: 3 days
* Add DragonFly BSD fingerprints to pf.oseadler2013-12-031-0/+8
| | | | Obtained From: DragonFly BSD (commit 321b0bb006b0857d2c212dc8cd12a36d750bcf9a)
* Add an autologin entry for the console.eadler2013-12-031-0/+2
| | | | Obtained From: DragonFly BSD (commit f95025e8c9a4471edb610557263b12acd8e7fb3a)
* Add Veritas NetBackupeadler2013-12-031-0/+2
| | | | Obtained From: DragonFly BSD
OpenPOWER on IntegriCloud