aboutsummaryrefslogtreecommitdiff
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Revert the default value of net.inet6.ip6.auto_linklocal to 1.Hajimu UMEMOTO2006-10-131-2/+8
| | | | | | | | | | | If ipv6_enable is not set to "YES", net.inet6.ip6.auto_linklocal is turned to 0 at boot. Discussed with: re@, gnn@ MFC after: 3 days Notes: svn path=/head/; revision=163306
* Fix a regression: let natd load libalias modules before /usr is mountedPaolo Pisati2006-10-081-7/+7
| | | | | | | | | | renaming /lib/libalias_*.so.4 to /lib/libalias_*.so. Approved by: glebius Reviewed by: glebius, ru Notes: svn path=/head/; revision=163128
* Restore the behavior that net.inet6.ip6.auto_linklocal=0 couldHajimu UMEMOTO2006-10-073-5/+19
| | | | | | | | | be coexist with ipv6_enable="YES". MFC after: 3 days Notes: svn path=/head/; revision=163083
* Introduce mixer_enable (default: YES).Florent Thoumie2006-10-062-0/+2
| | | | | | | | | | | PR: conf/101268 Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru> Approved by: cperciva (mentor) X-MFC after: 6.2-RELEASE Sponsored by: FreeBSD Test-Bugathon Notes: svn path=/head/; revision=163063
* A GEOM cache can speed up read performance by sending fixed sizeRuslan Ermilov2006-10-061-0/+2
| | | | | | | | | | | | | read requests to its consumer. It has been developed to address the problem of a horrible read performance of a 64k blocksize FS residing on a RAID3 array with 8 data components, where a single disk component would only get 8k read requests, thus effectively killing disk performance under high load. Documentation will be provided later. I'd like to thank Vsevolod Lobko for his bright ideas, and Pawel Jakub Dawidek for helping me fix the nasty bug. Notes: svn path=/head/; revision=163048
* Pull in /etc/rc.conf.d/network so that ifconfig_<if> variables can beBrooks Davis2006-10-021-0/+1
| | | | | | | | | | | set there. This is required for consistency with /etc/rc.d/netif. PR: conf/103893 Submitted by: Nick Hibma <nick at anywi.com> MFC after: 3 days Notes: svn path=/head/; revision=162972
* Turn off automatic link local address if ipv6_enable is not set to YESGeorge V. Neville-Neil2006-10-021-0/+4
| | | | | | | | | | in rc.conf Reviewed by: KAME core team, cperciva MFC after: 3 days Notes: svn path=/head/; revision=162949
* debug() shouldn't misidentify itself to logger(1).Yaroslav Tykhiy2006-10-021-1/+1
| | | | | | | Noticed by: David Thompson <dat1965 yahoo com> Notes: svn path=/head/; revision=162947
* Add mn_MN.UTF-8Andrey A. Chernov2006-10-022-0/+6
| | | | Notes: svn path=/head/; revision=162939
* Create section 8 man subdirectories for PowerPC.Ruslan Ermilov2006-09-301-0/+6
| | | | Notes: svn path=/head/; revision=162836
* Push removal of mrouted down to the rest of the tree.Bruce M Simpson2006-09-292-2/+6
| | | | Notes: svn path=/head/; revision=162794
* Summer of Code 2005: improve libalias - part 1 of 2Paolo Pisati2006-09-262-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the first part of my previous Summer of Code work, we get: -made libalias modular: -support for 'particular' protocols (like ftp/irc/etcetc) is no more hardcoded inside libalias, but it's available through external modules loadable at runtime -modules are available both in kernel (/boot/kernel/alias_*.ko) and user land (/lib/libalias_*) -protocols/applications modularized are: cuseeme, ftp, irc, nbt, pptp, skinny and smedia -added logging support for kernel side -cleanup After a buildworld, do a 'mergemaster -i' to install the file libalias.conf in /etc or manually copy it. During startup (and after every HUP signal) user land applications running the new libalias will try to read a file in /etc called libalias.conf: that file contains the list of modules to load. User land applications affected by this commit are ppp and natd: if libalias.conf is present in /etc you won't notice any difference. The only kernel land bit affected by this commit is ng_nat: if you are using ng_nat, and it doesn't correctly handle ftp/irc/etcetc sessions anymore, remember to kldload the correspondent module (i.e. kldload alias_ftp). General information and details about the inner working are available in the libalias man page under the section 'MODULAR ARCHITECTURE (AND ipfw(4) SUPPORT)'. NOTA BENE: this commit affects _ONLY_ libalias, ipfw in-kernel nat support will be part of the next libalias-related commit. Approved by: glebius Reviewed by: glebius, ru Notes: svn path=/head/; revision=162674
* Sleep for one second after calling audit -t to give the audit daemon aRobert Watson2006-09-241-0/+1
| | | | | | | | | | | | | | | | | chance to actually terminate the audit service and exit. Otherwise, on an rc.d/auditd restart, the new audit daemon instance may try to start auditing while the previous session is still running. Likewise, this ensures a chance for auditd to terminate the audit trail at system shutdown. Perhaps more ideally, the script would wait synchronously for auditd to exit rather than for an arbitrary but short period of time. MFC after: 3 days Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=162605
* network_ipv6 also does some interface configuration so require it to runBrooks Davis2006-09-211-1/+1
| | | | | | | | | before starting devd so they don't trip over each other. PR: conf/103428 Notes: svn path=/head/; revision=162522
* Introduce a new method ipv6if which attemptes to figure out if anBrooks Davis2006-09-212-1/+29
| | | | | | | | | | | | | | | | | interface is an IPv6 interface. Use this method to decide if we should attempt to configure an interface with an IPv6 address in pccard_ether. The mechanism pccard_ether uses to do this is unsuited to the task because it assumes the list of interfaces it is passed is the full list of IPv6 interfaces and makes decissions based on that. This is at least a step in the right direction and is probably about as much as we can MFC safely. PR: conf/103428 MFC after: 3 days Notes: svn path=/head/; revision=162490
* Flushing all IPv4 routes when an interface is removed or unconfiguredBrooks Davis2006-09-202-6/+0
| | | | | | | | | | makes no sense. Remove the undocumented removable_route_flush feature from pccard_ether. X-MFC after: never Notes: svn path=/head/; revision=162481
* Search the list of up interfaces provided by "ifconfig -ul" instead ofBrooks Davis2006-09-201-5/+7
| | | | | | | | greping for UP in "ifconfig $ifn". This eliminates a dependancy on /usr. Notes: svn path=/head/; revision=162480
* Add bthidd(8) rc(8) scriptMaksim Yevmenkin2006-09-073-1/+38
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=162131
* Prepare for upcoming bthidd(8) update. Install vkbd(4) header into dev/vkbd.Maksim Yevmenkin2006-09-071-0/+2
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=162117
* Unbreak PowerPC build after addition of powermac_nvram(4powerpc).Marcel Moolenaar2006-09-021-0/+6
| | | | Notes: svn path=/head/; revision=161921
* - Document /conf/diskless_remount in the list of special files.Brooks Davis2006-09-011-3/+11
| | | | | | | | | | | | - Note that diskless_remount files may use ".." to support mounts above the root path. - Copy dot files when populating directories from /conf. [1] PR: misc/102724 [1] Submitted by: Attila Nagy <bra at fsn.hu> [1] Notes: svn path=/head/; revision=161824
* Kill the default phone numbers.Ruslan Ermilov2006-08-311-6/+3
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=161786
* Re-add lukemftpd. It has: PAM, MAC, per-class nologin files,David E. O'Brien2006-08-311-0/+2
| | | | | | | login.conf resource limits and features. Notes: svn path=/head/; revision=161773
* Add FreeBSD Update 2.0 client code. The build code is in the projectsColin Percival2006-08-313-1/+52
| | | | | | | | | repository. Sponsored by: FreeBSD security development fundraiser Notes: svn path=/head/; revision=161748
* Comment out lines that use example addresses and example.com names soRuslan Ermilov2006-08-291-15/+15
| | | | | | | | that local changes can be made more easily (without having to comment these lines, and making the diff more readable). Notes: svn path=/head/; revision=161710
* The kvm_mkdb(8) is long dead.Ruslan Ermilov2006-08-293-56/+1
| | | | Notes: svn path=/head/; revision=161708
* When stopping powerd, set the CPU frequency back to its maximum valueColin Percival2006-08-271-0/+7
| | | | | | | | | | (i.e., what it was almost certainly at before powerd was started). Submitted by: R.B. Riddick MFC after: 3 days Notes: svn path=/head/; revision=161667
* Use ports INDEX-7 instead of INDEX-6Doug Barton2006-08-271-1/+1
| | | | | | | Submitted by: Niclas Zeising <lothrandil@n00b.apagnu.se> Notes: svn path=/head/; revision=161664
* Add login.conf checking to periodic security scripts. If the login.conf fileTom Rhodes2006-08-253-0/+56
| | | | | | | | | is not UID/GID 0, limits will be ignored and a strange error sent to auth.log. Head nod: ru, rwatson Notes: svn path=/head/; revision=161602
* Send more Alpha bits to the bin.Tom Rhodes2006-08-251-311/+0
| | | | Notes: svn path=/head/; revision=161595
* Fix example:Ruslan Ermilov2006-08-221-13/+13
| | | | | | | | | /conf/base/diskless_remount -> /conf/base/etc/diskless_remount MFC after: 3 days Notes: svn path=/head/; revision=161533
* - Add ypserv to the REQUIRE list.Florent Thoumie2006-08-221-1/+1
| | | | | | | | | | Reported by: David Thompson <dat1965@yahoo.com> Discussed on: -rc (brooks) Approved by: cperciva (mentor, implicit) MFC after: 3 days Notes: svn path=/head/; revision=161532
* Backout this commit since it breaks startup and some scripts inFlorent Thoumie2006-08-222-47/+21
| | | | | | | | | | | | | | | | | | | | certain conditions. I haven't been able to find a better solution yet: - Set a two read-only variables (${prefix} and ${etcdir}). This is especially useful when using /etc/rc.d scripts with third-party software installed from ports. - Fix rc.d/sshd to work with openssh from ports using ${etcdir} instead of hardcoded /etc. - Reflect prefix/etcdir changes in rc.subr.8. src/etc/rc.d/sshd: rev 1.9 -> 1.10 src/etc/rc.subr: rev 1.51 -> 1.52 src/share/man/man8/rc.subr.8: rev 1.11 -> 1.12 Approved by: cperciva (mentor) Notes: svn path=/head/; revision=161530
* - Remove ramdisk rc.d scripts since they've been replaced by mdconfig{,2}.Florent Thoumie2006-08-223-125/+1
| | | | | | | | | - Update ObsoleteFiles.inc. Approved by: cperciva (mentor) Notes: svn path=/head/; revision=161529
* Don't try to start interfaces that don't exist.Brooks Davis2006-08-181-0/+2
| | | | | | | Reported by: Dominique Goncalves <dominique.goncalves at gmail.com> Notes: svn path=/head/; revision=161437
* Eliminate header line(s) from ps(1) output instead of skipping over them.Yaroslav Tykhiy2006-08-181-5/+2
| | | | Notes: svn path=/head/; revision=161436
* The ps(1) command is unfriendly to scripts by default becauseYaroslav Tykhiy2006-08-181-3/+4
| | | | | | | | | | | | | it limits the width of its output to the value of $COLUMNS, or what TIOCGWINSZ reports, or 79 columns. We should specify -ww to ps(1) so that it removes the limit and prints lines in full. Otherwise very long command pathnames could be mishandled, e.g., by _find_processes(). MFC after: 1 week Notes: svn path=/head/; revision=161435
* Make it a little clearer that interface-specific flags aren't additionalBrian Somers2006-08-171-2/+3
| | | | | | | | | | | to specified dhclient flags. Mention background_dhclient_iface. Suggested by: ru Notes: svn path=/head/; revision=161418
* Add a missing quoteBrian Somers2006-08-171-1/+1
| | | | | | | Spotted by: ru Notes: svn path=/head/; revision=161415
* Add a -p switch to dhclient. The switch tells dhclient to persistBrian Somers2006-08-172-1/+13
| | | | | | | | | | | | | despite the interface link status. Add dhclient_flags_iface and background_dhclient_iface rc.conf options. (where iface is a specific interface). These can be used to give interface specific flags to dhclient. Reviewed by: brooks@ Notes: svn path=/head/; revision=161410
* Allow for setting negative priority (niceness) when $foo_user is non-root.Yaroslav Tykhiy2006-08-171-2/+7
| | | | | | | | | | | The order in _doit must be "nice su", not "su nice", for that. In addition, don't ignore the exit status from "cd $foo_chdir". Reviewed by: freebsd-rc (silence) MFC after: 1 week Notes: svn path=/head/; revision=161396
* Introduce a new function, ifexists and use it to avoid attempting toBrooks Davis2006-08-172-27/+42
| | | | | | | | | | | touch interfaces that don't actually exist in the stop case. In the process move some IPv4 specific code from ifconfig_down to ipv4_down. This should solve problems with ifconfig: error messages on boot when interfaces are renamed. Notes: svn path=/head/; revision=161386
* Set removable_route_flush to NO be default. It's clearly the wrongBrooks Davis2006-08-161-1/+1
| | | | | | | | | | | thing to do in most (all?) cases and certainly should not be the default now that we're running pccard_ether on all interface creates and destroys. MFC after: 3 days Notes: svn path=/head/; revision=161363
* Back out 1.272. The LAPIC timer conflicts with C2/3 on various systems,Nate Lawson2006-08-051-2/+2
| | | | | | | | | and so users get hangs until interrupts are generated another way. We'll have to find a way to make the 2 work together before re-enabling this by default. Notes: svn path=/head/; revision=161007
* Forgot to add mountlate to the Makefile.Dag-Erling Smørgrav2006-08-041-1/+1
| | | | Notes: svn path=/head/; revision=160975
* Not allowed to use tabs. The rule that proves the rule. Heh.John Birrell2006-08-031-2/+2
| | | | Notes: svn path=/head/; revision=160945
* Alphabetical order is probably better.John Birrell2006-08-031-2/+2
| | | | Notes: svn path=/head/; revision=160937
* Add the library directory where DTrace library scripts live.John Birrell2006-08-031-0/+2
| | | | Notes: svn path=/head/; revision=160936
* Remove remnants of Alpha.Marcel Moolenaar2006-08-022-16/+0
| | | | Notes: svn path=/head/; revision=160930
* Add device to access and modify Open Firmware NVRAM settings inMaxim Sobolev2006-08-011-0/+2
| | | | | | | | | | | | PowerPC-based Apple's machines and small utility to do it from userland modelled after the similar utility in Darwin/OSX. Only tested on 1.25GHz G4 Mac Mini. MFC after: 1 month Notes: svn path=/head/; revision=160892