summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate extraneous pipelines and tr calls.jpaetzel2011-06-151-1/+1
| | | | | Approved by: kib (mentor) MFC after: 3 days
* Minor change to force commit this file so new freebsd*.cf files aregshapiro2011-06-141-1/+0
| | | | | | built to use the new sendmail-8.14.5/cf tree. MFC after: 4 days
* Update DNSBL information (MAPS has been acquired, used a generic example)gshapiro2011-06-141-5/+3
|
* Convert the allowed characters '-', '.', and ':' in a ZFS pool name to _jpaetzel2011-06-131-1/+1
| | | | | | | | | to avoid causing errors in the shell script. Submitted by: William Grzybowski <william88@gmail.com> Approved by: kib (mentor) MFC after: 7 days Sponsored by: iXsystems
* - Remove $ipv6_gateway_enable check.hrs2011-06-111-7/+1
| | | | - Use list_net_interfaces() instead of "ifconfig -l".
* Add a helper function to check kern.features.* sysctls.hrs2011-06-112-5/+24
| | | | Discussed with: dougb
* Make three one line changes to the rc scripts so thatrmacklem2011-06-113-3/+3
| | | | | | they work with the new NFS client being the default, since the new NFS client's module name is nfscl and not nfsclient.
* Do not mark lo0 as IFDISABLED even if there is no $ifconfig_lo0_ipv6 line.hrs2011-06-061-1/+1
|
* Remove "ifconfig IF inet6 -accept_rtadv" when ipv6_gateway_enable=YES becausehrs2011-06-061-16/+10
| | | | this is no longer needed.
* No logner set an IPv4 loopback address by default in defaults/rc.conf.bz2011-05-312-9/+21
| | | | | | | | | | | | | | | | | | If not specified, network.subr will add it automatically if we have INET support (1). In network.subr only call the address family up/down functions if the respective AF is available. Switch to new kern.features variables for inet and inet6 as the inet sysctl tree is also available for IPv6-only kernels leading to unexpected results. Suggested by: hrs (1) Reviewed by: hrs Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 20 days
* Remove redundant keywords.hrs2011-05-172-2/+2
| | | | Submitted by: wxs
* network.subr: Use printf(1) builtin for hexprint function.jilles2011-05-141-26/+2
| | | | | | | | | Now that printf(1) is a shell builtin, there is no need to emulate it anymore. The external printf(1) is /usr/bin/printf and therefore may not be available in early boot. It may be faster to use printf directly but the function is useful for compatibility.
* Change the new NFS server so that it uses vfs.nfsd namingrmacklem2011-05-081-3/+3
| | | | | for its sysctls instead of vfs.newnfs. This separates the names from the ones used by the client.
* 1. If PKG_DBDIR cannot be determined from make, set the defaultdougb2011-05-051-2/+3
| | | | | | | | 2. Add the -H flag to tar in case /var/db/pkg itself is a symlink 3. Direct stderr to /dev/null to suppress the leading slash warning [1] PR: ports/156810 [1] Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com> [1]
* The security run requests unmaskable output, even if the only output is tonetchild2011-05-041-5/+6
| | | | | | | | | | | | | | | | tell that there is a separate email or that the output is logged to a file. This commit changes the return code for the non-inline case to tell that this message is not important enough and can be masked if necessary. The messages from the security checks themself are not affected by this and show up as before in the periodic security email/file. The inline case still requests to not mask the output, as with the current way of handling this there is no easy way to handle this. PR: 138692 Analysis/patch atch by: Chris Cowart <ccowart@timesinks.net> X-MFC after: on request
* Use proper return codes (valuable output, invalid config, problems).netchild2011-05-041-3/+5
| | | | MFC after: 1 week
* Upgrade to OpenSSH 5.8p2.des2011-05-041-1/+10
|
* Updated `flags' field description.ru2011-05-031-1/+1
|
* Upgrade our copy of llvm/clang to r130700, from upstream's trunk.dim2011-05-021-1/+1
|
* Rather than trusting that nothing is going to sneak in before thedougb2011-04-291-7/+4
| | | | | | | | | | | | | | | early_late_divider in the second run (and thus be skipped altogether), keep a list of the scripts run early, and use that list to skip things in the second run. This has the primary benefit of not skipping a local script that gets ordered too early in the second run. It also gives an opportunity to clean up/simplify the code a bit. Use a space-separated list rather than the more traditional colon for maximum insurance against creativity in local naming conventions. Reviewed by: brooks
* Fix module names and dependencies so the NFS clients willrmacklem2011-04-271-1/+1
| | | | load correctly as modules after r221124.
* Update the /etc/rc.d scripts for mountd and nfsd so theyrmacklem2011-04-263-17/+30
| | | | | | | | | | can use the "-o" option to force the old NFS server to run. Running the old NFS server is enabled by setting oldnfs_server_enable="YES". The scripts will only enable providing service for NFSv4 if nfsv4_server_enable="YES" is set. Reviewed by: dougb (rc)
* Create a function for the code from r192246 so that it can be used bothdougb2011-04-251-11/+15
| | | | | | | | times mount is called. Limit the automatic behavior to when AUTO is specified (as it is in etc/defaults/rc.conf) and for everything else take advantage of all of the goodness in checkyesno.
* Add svn:executable propertydougb2011-04-251-0/+0
|
* As previously advertised, remove the error message for enable_quotasdougb2011-04-231-4/+0
| | | | | | prior to 9.0-RELEASE. This change should not be MFC'ed.
* Improve the error handling for the new get_pidfile_from_conf()dougb2011-04-231-2/+6
|
* Introduce to rc.subr get_pidfile_from_conf(). It does just what it soundsdougb2011-04-234-3/+68
| | | | | | | | | like, determines the path to a pid file as it is specified in a conf file. Use the new feature for rc.d/named and rc.d/devd, the 2 services in the base that list their pid files in their conf files. Remove the now-obsolete named_pidfile, and warn users if they have it set.
* The change in r206686 to allow the stop argument to work for a servicedougb2011-04-171-1/+2
| | | | | | | | | | | | | | that is running even though not _enable'd had an annoying side effect. If the service was already started at boot time by another means when the related script came around again in rcorder it would start again, regardless of _enable, because there was a valid pid. [1] So, split the test into 2 parts, one for (!rcvar && !stop), and one for (stop && !valid_pid). This preserves the behavior from r206686 while preventing the undesired side effect. PR: conf/156427 [1] Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru> [1]
* Remove libobjc and other Objective-C related components, as these aredim2011-04-171-2/+0
| | | | | | extremely outdated, and not used by anything in the base system. Silence from: current@
* * Add the readline(3) API to libedit. The libedit versions ofobrien2011-04-051-0/+4
| | | | | | | | | | | | | | | | {readline,history}.h are in /usr/include/edit so as to not conflict with the GNU libreadline versions. To use the libedit readline(3) one should add "-I/usr/include/edit" to their Makefile (spelled "-I${DESTDIR}/${INCLUDEDIR}/edit" within the FreeBSD source tree). * Enable its use in the BSD licensed utilities that support readline(3). * To make it easier to sync libedit development with NetBSD, histedit.h is moved into libedit's directory as history shows shown we keep merging it into that location. Obtained from: NetBSD Sponsored by: Juniper Networks
* Add example devd.conf entry.trasz2011-03-301-0/+10
|
* Add startup script, to load rules from /etc/rctl.conf.trasz2011-03-302-1/+40
| | | | | Sponsored by: The FreeBSD Foundation Reviewed by: kib (ealier version)
* Remove the reference to pseudo-terminals from the description.ed2011-03-308-24/+16
| | | | | Pseudo-terminals are no longer listed in this file, since the utmpx implementation doesn't depend on ttyslot().
* Replace ${SYSCTL_W} with ${SYSCTL} in rc.d scripts, as they are identical.emaste2011-03-308-51/+51
| | | | | | This is a further clean up after r202988. SYSCTL_W is still initialized in rc.subr as some ports may still use it.
* Hook the 220.backup-pkgdb script I added to the build unconditionallydougb2011-03-272-0/+2
| | | | | | Hook up 610.ipf6denied based on MK_IPFILTER as 510.ipfdenied is now Poked by: Andrzej Tobola <ato@iem.pw.edu.pl>
* Add svn:executable property on remaining period scripts without itdougb2011-03-276-0/+0
|
* Add a daily period script to back up /var/db/pkgdougb2011-03-262-0/+54
| | | | | | | | | | The final product contains work from the originator, and Florent Thoumie <florent.thoumie@gmail.com>. The final product contains considerable re-working by me, so all responsibility for bugs rests under my pointy hat. PR: ports/145957 Submitted by: Eitan Adler <EitanAdlerList@gmail.com>
* Add the svn:executable property to the scripts that are missing itdougb2011-03-267-0/+0
|
* MFgraid/head:mav2011-03-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new RAID GEOM class, that is going to replace ataraid(4) in supporting various BIOS-based software RAIDs. Unlike ataraid(4) this implementation does not depend on legacy ata(4) subsystem and can be used with any disk drivers, including new CAM-based ones (ahci(4), siis(4), mvs(4), ata(4) with `options ATA_CAM`). To make code more readable and extensible, this implementation follows modular design, including core part and two sets of modules, implementing support for different metadata formats and RAID levels. Support for such popular metadata formats is now implemented: Intel, JMicron, NVIDIA, Promise (also used by AMD/ATI) and SiliconImage. Such RAID levels are now supported: RAID0, RAID1, RAID1E, RAID10, SINGLE, CONCAT. For any all of these RAID levels and metadata formats this class supports full cycle of volume operations: reading, writing, creation, deletion, disk removal and insertion, rebuilding, dirty shutdown detection and resynchronization, bad sector recovery, faulty disks tracking, hot-spare disks. For Intel and Promise formats there is support multiple volumes per disk set. Look graid(8) manual page for additional details. Co-authored by: imp Sponsored by: Cisco Systems, Inc. and iXsystems, Inc.
* - Merge in OFED 1.5.3 from projects/ofed/headjeff2011-03-215-0/+47
|
* Add resolvconf(8) which manages resolv.conf.ume2011-03-181-0/+2
|
* Forgot to commit this change along with r219563: pam_group(8) now issuesdes2011-03-151-1/+1
| | | | | | | a warning if neither luser nor ruser is specified. The correct option for su(1) is ruser. MFC after: 1 month
* Thanks to sysinstall for its 15 years of service. And now to sleep,nwhitehorn2011-03-141-2/+1
| | | | perchance to dream...
* Revert r219578dougb2011-03-131-3/+3
|
* Remove the svn:executable property on Makefiledougb2011-03-132-0/+0
| | | | Add it on hastd
* Use the allexport option in load_rc_config() in order to avoid havingdougb2011-03-121-3/+3
| | | | | | | | | | | | | | to repeatedly read the conf files. Depending on what is enabled the files are being read anywhere from 15, 30, or more times currently. By loading the values in the environment this is reduced to 1, with perhaps a couple more, again depending on what is enabled. The speed-up for boot and shutdown is negligible when rc.conf is on local disk, noticable when accessing files over NFS, and dramatic when pulling rc.conf values from a database. This change also includes a minor optimization to the conditional for $_rc_conf_loaded.
* Commit two more files missed in r219089.pjd2011-02-271-2/+0
| | | | MFC after: 1 month
* Recognize 'reload' command, as hastd can be reloaded with the SIGHUP signal.pjd2011-02-271-0/+1
| | | | MFC after: 1 week
* Add the BSD-licensed Citrus iconv to the base system with default offgabor2011-02-251-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setting. It can be built by setting the WITH_ICONV knob. While this knob is unset, the library part, the binaries, the header file and the metadata files will not be built or installed so it makes no impact on the system if left turned off. This work is based on the iconv implementation in NetBSD but a great number of improvements and feature additions have been included: - Some utilities have been added. There is a conversion table generator, which can compare conversion tables to reference data generated by GNU libiconv. This helps ensuring conversion compatibility. - UTF-16 surrogate support and some endianness issues have been fixed. - The rather chaotic Makefiles to build metadata have been refactored and cleaned up, now it is easy to read and it is also easier to add support for new encodings. - A bunch of new encodings and encoding aliases have been added. - Support for 1->2, 1->3 and 1->4 mappings, which is needed for transliterating with flying accents as GNU does, like "u. - Lots of warnings have been fixed, the major part of the code is now WARNS=6 clean. - New section 1 and section 5 manual pages have been added. - Some GNU-specific calls have been implemented: iconvlist(), iconvctl(), iconv_canonicalize(), iconv_open_into() - Support for GNU's //IGNORE suffix has been added. - The "-" argument for stdin is now recognized in iconv(1) as per POSIX. - The Big5 conversion module has been fixed. - The iconv.h header files is supposed to be compatible with the GNU version, i.e. sources should build with base iconv.h and GNU libiconv. It also includes a macro magic to deal with the char ** and const char ** incompatibility. - GNU compatibility: "" or "char" means the current local encoding in use - Various cleanups and style(9) fixes. Approved by: delphij (mentor) Obtained from: The NetBSD Project Sponsored by: Google Summer of Code 2009
* Enable the check for negative permissions (the group on a file can't dobrooks2011-02-241-1/+1
| | | | | | something "everyone" can) by default. X-MFC after: never
OpenPOWER on IntegriCloud