aboutsummaryrefslogtreecommitdiff
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Sync with HEAD.David E. O'Brien2013-02-0831-153/+298
|\ | | | | | | Notes: svn path=/projects/bmake/; revision=246555
| * Install <dev/agp/agpreg.h> and <dev/pci/pcireg.h> as userland headersJohn Baldwin2013-02-051-0/+4
| | | | | | | | | | | | | | | | | | in /usr/include. MFC after: 2 weeks Notes: svn path=/head/; revision=246367
| * Load the pfsync module if necessary.Dag-Erling Smørgrav2013-02-051-0/+1
| | | | | | | | | | | | | | | | Reviewed by: glebius@ MFC after: 1 week Notes: svn path=/head/; revision=246358
| * Use the default policy table of RFC 6724.Hajimu UMEMOTO2013-02-021-10/+18
| | | | | | | | | | | | | | MFC after: 1 weeks Notes: svn path=/head/; revision=246255
| * When adding the directory ownership to the METALOG do it by name ratherBrooks Davis2013-01-301-3/+4
| | | | | | | | | | | | | | | | | | | | | | than number as is done in install so as to differ binding of names to ids. Remove the -W flag from the mtree command so that the correct user and group is recorded rather than the default. Notes: svn path=/head/; revision=246127
| * Log the addition of login.conf.db, passwd, pwd.db, and spwd.db via cat -l.Brooks Davis2013-01-291-3/+15
| | | | | | | | | | | | | | Make cat a bootstrap tool to facilitate this. Notes: svn path=/head/; revision=246097
| * Increase the "memorylocked" limit for the "daemon" class.Neel Natu2013-01-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | amd(8) requires more than the 64MB that is currently available to it so bump it up to 128MB. Reviewed by: kib Discussed with: avg, kib, zont Notes: svn path=/head/; revision=246002
| * Introduce a new option -DNO_ROOT that allows install and distributionBrooks Davis2013-01-221-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | targets to be run without root privilege. Information about ownership, group, flags, and suid bits are stored in the file specified by METALOG which defaults to ${DESTDIR}/METALOG. This file can be used in conjunction with bsdtar or makefs to generate archives or file system images with correct permissions. The packageworld target has been altered to use this metadata allowing non-root releases (subject to further changes in release/Makefile.) Sponsored by: DARPA, AFRL Reviewed by: ian, ray Notes: svn path=/head/; revision=245825
| * Replace all known uses of ln in the build process with appropriateBrooks Davis2013-01-211-7/+10
| | | | | | | | | | | | | | | | | | | | | | install -l invocations via new INSTALL_LINK and INSTALL_SYMLINK variables. Sponsored by: DARPA, AFRL Reviewed by: ian, ray, rpaulo Notes: svn path=/head/; revision=245752
| * In r245571, "rm -rf <foo>; ln -s <bar> <foo>" needed to be replaced withBrooks Davis2013-01-171-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | "ln -sfh <bar> <foo>" or the links would fail when a valid link to a directly was in place at <foo>. Reported by: peter Tested by: peter Pointy hat to: brooks Notes: svn path=/head/; revision=245580
| * In preparation for logging metadata about each filesystem objectBrooks Davis2013-01-171-19/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | refactor the link section of distrib-dirs to alwasy install to a full path (the link contents remain relative as they should). Eliminate the use of the "rm -r[f] <foo>; ln -s <bar> <foo>" pattern in favor of "ln -sf <bar> <foo>". None of these links could be directories on a system installed in the last decade. Sponsored by: DARPA, AFRL Reviewed by: mtree Notes: svn path=/head/; revision=245571
| * Rework the mtree portion of etc/Makefile's distrib-dirs target to runBrooks Davis2013-01-171-12/+23
| | | | | | | | | | | | | | | | | | | | | | mtree in a shell loop so there is only one mtree commandline. Move the implementation of LOCAL_MTREE into etc/Makefile. Sponsored by: DARPA, AFRL Reviewed by: mtree :) Notes: svn path=/head/; revision=245565
| * Add a conditional sleep 1 in case we add any IPv6 addresses to interfaces.Bjoern A. Zeeb2013-01-171-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | Do this per jail started, not per address. This will allow DAD to complete and services to properly start. Before we have seen problems with services trying to start before the IPv6 address was available to use and thus erroring and failing to start. MFC after: 3 days Notes: svn path=/head/; revision=245525
| * According to the notes in ObsoleteFiles.inc we last installed sectionBrooks Davis2013-01-161-8/+0
| | | | | | | | | | | | | | 1aout manpages in 2002. Stop making the directories and links to them. Notes: svn path=/head/; revision=245513
| * Add an option DB_FROM_SRC to use src/etc's user/group databases whenBrooks Davis2013-01-151-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | installing. This allows things like running installworld for 10-CURRENT on a 9.0-RELEASE system without adding extra users and groups to the passwd and group files. To prevent potentially risky uid/gid mismatches on systems with non-standard local values, require that DESTDIR be set if DB_FROM_SRC is set. Sponsored by: DARPA, AFRL Reviewed by: peter Notes: svn path=/head/; revision=245440
| * Revert r245316. Systems with non-standard uids/gids are more prevalentBrooks Davis2013-01-111-10/+8
| | | | | | | | | | | | | | | | that I'd feared. Discussion is ongoing about the scope of a safer solution. Notes: svn path=/head/; revision=245318
| * Use the -N option to install and nmtree to eliminate the need for theBrooks Davis2013-01-111-8/+10
| | | | | | | | | | | | | | | | | | checks for missing users and groups. Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=245316
| * Allow perl scripts to be used in rc.d scriptsSteven Hartland2013-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | PR: conf/117027 Reviewed by: pjd (mentor) Approved by: hrs MFC after: 2 weeks Notes: svn path=/head/; revision=245250
| * Not using the full domain was a really bad idea.Peter Wemm2013-01-061-1/+1
| | | | | | | | Notes: svn path=/head/; revision=245107
| * Update with new IPv4 address for D root.Erwin Lansing2013-01-041-5/+5
| | | | | | | | | | | | | | Approved by: delphij (mentor) Notes: svn path=/head/; revision=245034
| * Minor changes to force commit these files so new freebsd*.cf files areGregory Neil Shapiro2012-12-292-2/+3
| | | | | | | | | | | | | | | | | | | | | | built to use the new sendmail-8.14.6/cf tree. While here, update DNSBL link once again. MFC after: 4 days Notes: svn path=/head/; revision=244835
| * Add missing closing quote on commented out exampleGregory Neil Shapiro2012-12-291-1/+1
| | | | | | | | | | | | | | | | | | PR: bin/174108 Obtained from: Julian H. Stacey MFC after: 1 day Notes: svn path=/head/; revision=244830
| * Fix location of /var/audit/dist and /var/audit/remote.Hajimu UMEMOTO2012-12-281-1/+1
| | | | | | | | | | | | | | | | | | | | Note that those who did installworld after r243752 should remove wrongly created /var/dist and /var/remote. Reviewed by: pjd Notes: svn path=/head/; revision=244770
| * Don't reload syslogd after rotating sendmail.st, as this file isn'tMark Johnston2012-12-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | managed by syslogd. PR: conf/169973 Approved by: rstone (co-mentor) MFC after: 1 week Notes: svn path=/head/; revision=244522
| * make installation of the 220.backup-pkgdb periodic script depend on PKGTOOLSBaptiste Daroussin2012-12-201-2/+2
| | | | | | | | | | | | | | knob Notes: svn path=/head/; revision=244484
| * - Set memorylocked limit to 64Kb for default login class.Andrey Zonov2012-12-181-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents unprivileged users to lock too much memory. - Set memorylocked limit to 64Mb for daemon login class. Some daemons such as amd(8) and watchdogd(8) calls mlockall(2) on startup, they are run from init(8) which uses daemon login class. - Set memorylocked limit to unlimited for root login class. Suggested by: avg Approved by: kib (mentor) MFC after: 1 week Notes: svn path=/head/; revision=244383
| * Use new savecore(8) option and limit number of kernel dumps that willPawel Jakub Dawidek2012-12-161-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | be kept around to the 10 most recent ones. Add UPDATING entry with info how to return to the previous behaviour (no limits). Obtained from: WHEEL Systems Notes: svn path=/head/; revision=244323
| * Regenerate usb.confHans Petter Selasky2012-12-151-1/+25
| | | | | | | | | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=244252
| * - When checking if a dump exists on the given device there is no need toPawel Jakub Dawidek2012-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | provide dump directory. Eliminate this redundant argument. This changes the usage, but the only risk here is that a warning will be printed about directory given as device. - Update usage of -C option. - When clearing dump header from the given device there is also no need to provide dump directory, although additional arguments for -c were not documented. - Document that -v can be used with -c and that list of devices can be given. Obtained from: WHEEL Systems Notes: svn path=/head/; revision=244218
| * Teach sysctl(8) about parsing a file (while I'm there also give itXin LI2012-12-131-37/+13
| | | | | | | | | | | | | | | | | | | | capability of parsing both = and : formats). Submitted by: hrs (initial version, bugs are mine) MFC after: 3 months Notes: svn path=/head/; revision=244198
| * Fix the location of auditdistd configuration file.Pawel Jakub Dawidek2012-12-131-1/+1
| | | | | | | | | | | | | | Reported by: Johan Hendriks <joh.hendriks@gmail.com> Notes: svn path=/head/; revision=244181
| * Sync pf.os with OpenBSD:Xin LI2012-12-101-2/+10
| | | | | | | | | | | | | | | | | | | | add a handful of linux signatures from p0fv2 and some other signatures from observation. MFC after: 2 weeks Notes: svn path=/head/; revision=244096
| * Add a new 900MHz GSM regulatory SKU for the Xagyl Communications XC900M.Adrian Chadd2012-12-071-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The XC900M acts as a Ubiquiti XR9 (and I _think_ SR9) by default; it uses the same 900MHz<->2.4GHz downconverter mapping. However it has an alternative frequency mapping which squeezes in a couple more half/quarter rate channels. Since the default HAL doesn't support fractional tuning (sub-1MHz) in 2.4GHz mode on the AR5413/AR5414, they implement it using a jumper. Datasheet: http://www.xagyl.com/download/XC900M_Datasheet.pdf Thankyou to Xagyl Communications for the XC900M NICs and Edgar Martinez for organising the donation. Tested: * XC900M <-> XC900M * Ubiquiti XR9 <-> XC900M TODO: * Test against SR9 and GZ901 if possible (the IEEE channel<->frequency mapping may not match up, thanks to the slightly different channels involved) Notes: svn path=/head/; revision=243974
| * Remove hack to emulate effective uid and just use the EUID's name in theEitan Adler2012-12-051-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | first place. I was unaware of this option when originally committing this change. Submitted by: gcooper Approved by: cperciva MFC after: 3 days Notes: svn path=/head/; revision=243893
| * Merge a number of changes required to hook up OpenBSM 1.2-alpha2'sRobert Watson2012-12-017-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | auditdistd (distributed audit daemon) to the build: - Manual cross references - Makefile for auditdistd - rc.d script, rc.conf entrie - New group and user for auditdistd; associated aliases, etc. The audit trail distribution daemon provides reliable, cryptographically protected (and sandboxed) delivery of audit tails from live clients to audit server hosts in order to both allow centralised analysis, and improve resilience in the event of client compromises: clients are not permitted to change trail contents after submission. Submitted by: pjd Sponsored by: The FreeBSD Foundation (auditdistd) Notes: svn path=/head/; revision=243752
| * Regenerate usb.confHans Petter Selasky2012-11-281-2/+13
| | | | | | | | | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=243661
| * Fix typo in weekly line which made it to rotated after reaching > 1 Kb.Gleb Smirnoff2012-11-261-1/+1
| | | | | | | | | | | | | | | | PR: conf/173857 Submitted by: Matt Smith <matt xtaz.co.uk> Notes: svn path=/head/; revision=243568
| * Revert r243228. This commit appears to cause more trouble thanChris Rees2012-11-211-1/+1
| | | | | | | | | | | | | | | | it was designed to avoid; the issue described in the PR was no longer an issue anyway. Notes: svn path=/head/; revision=243374
| * Do not put "already running" message when rc_quiet=yes.Hiroki Sato2012-11-201-1/+4
| | | | | | | | | | | | | | PR: bin/165477 Notes: svn path=/head/; revision=243324
| * cp -R misses out dotfiles; use pax instead to copy file hierarchiesChris Rees2012-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | PR: conf/99721 (based on) Submitted by: Florian Zavatzki <f_zavatzki@blue-network.org> Approved by: hrs MFC after: 1 month Notes: svn path=/head/; revision=243228
| * Fix condition to check if the maximum number of FIBs is greater than 0 or not.Hiroki Sato2012-11-181-1/+1
| | | | | | | | | | | | | | Spotted by: zont Notes: svn path=/head/; revision=243212
| * Use -fib N modifier to add/delete a route to/from multiple FIBs.Hiroki Sato2012-11-171-33/+11
| | | | | | | | Notes: svn path=/head/; revision=243188
| * Add check_namevarlist() to check if ${name}_var is reserved in rc.subr or not.Hiroki Sato2012-11-171-0/+17
| | | | | | | | Notes: svn path=/head/; revision=243184
| * last commit was a mistakeEitan Adler2012-11-161-1/+1
| | | | | | | | | | | | | | | | Pointyhat to: me (for real) Approved by: cperciva (implicit) Notes: svn path=/head/; revision=243153
| * dot.login is supposed to be for bourne shell, not cshEitan Adler2012-11-161-1/+1
| | | | | | | | | | | | | | | | Pointyhat to: me Approved by: cperciva (implicit) Notes: svn path=/head/; revision=243130
| * Using set -x produces output on stderr instead of stdout.Eitan Adler2012-11-151-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It also doesn't work with make -s. Prefer the use of builtin make features. PR: misc/126312 Reported by: Nejc Skoberne <nejc@skoberne.net> Submitted by: bdrewery Approved by: cperciva MFC after: 1 week Notes: svn path=/head/; revision=243101
| * Only pass ip[46].addr when _addrl contains a valueEitan Adler2012-11-151-1/+2
| | | | | | | | | | | | | | | | | | | | Submitted by: crees Reviewed by: Mike Jakubik <mike.jakubik@intertainservices.com> Approved by: cperciva MFC after: 2 weeks Notes: svn path=/head/; revision=243080
| * Not only load pccard_ether settings, also load network settings. ThisNick Hibma2012-11-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | is only a problem when a /etc/rc.conf.d/network file is being used. PR: conf/160373 Submitted by: n_hibma MFC after: 1 week Notes: svn path=/head/; revision=242784
| * The first line must contain "Content-Type:". Move the $FreeBSD$Marcel Moolenaar2012-11-072-2/+2
| | | | | | | | | | | | | | | | | | keyword line to the comment block underneath. Submitted by: Garrett Cooper <yanegomi@gmail.com> Notes: svn path=/head/; revision=242683
| * Change default prompt to show ~ again for the home directoryBaptiste Daroussin2012-11-041-1/+1
| | | | | | | | | | | | | | | | Submitted by: flo Approved by: eadler Notes: svn path=/head/; revision=242541