summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* MFC 296943:ian2016-03-161-1/+1
| | | | | | | | Require firewall setup before running rc.d/netwait, otherwise the ping packets sent by netwait may not get through. PR: 207916 Approved by: re (marius)
* MFS r296797:dchagin2016-03-151-0/+5
| | | | | | | | MFC r296542: Load linux64 module for amd64 if Linux abi enabled. Reviewed by: emaste@ Approved by: re (marius) Differential Revision: https://reviews.freebsd.org/D5567
* MFC r295495 - Update leapsecond file in non-chroot environments.cy2016-02-141-4/+4
| | | | | | PR: 207095 Submitted by: madpilot Approved by: re (marius)
* MFC r289421, r293037, r294773, and r294884.cy2016-02-101-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ntp leap-leapseconds support. r289421: Add default leap-seconds file. This should help ntp networks get the leap second date correct Updates to the file can be obtained from ftp://time.nist.gov/pub/ or ftp://tycho.usno.navy.mil/pub/ntp/. r293037: Update leap-seconds to latest. This will satisfy the ntpd leap-second version check. r294773: Add support for automatic leap-second file updates. The working copy of leapfile resides in /var/dbntpd.leap-seconds.list. /etc/ntp/leap-seconds (periodically updated from ftp://time.nist.gov/pub/ or ftp://tycho.usno.navy.mil/pub/ntp/) contains the master copy should automatic leapfile updates be disabled (default). Automatic leapfile updates are fetched from $ntp_leapfile_sources, defaulting to https://www.ietf.org/timezones/data/leap-seconds.list, within $ntp_leapfile_expiry_days (default 30 days) from leap-seconds file expiry. Automatic updates can be enabled by setting $daily_ntpd_leapfile_enable="YES" in periodic.conf. To avoid congesting the ntp leapfile source the automatic update randomized by default but can be disabled through daily_ntpd_avoid_congestion="NO" in periodic.conf. r294884: Allow specification of fetch options for ntp leap-seconds fetch. Approved by: re (gjb)
* MFC r294749:jamie2016-01-281-3/+3
| | | | | | | | Allow the (old rc-style) exec_afterstart jail parameters to start numbering at 0, like exec_prestart and the others do. Make param0 optional, i.e. still look for param1. PR: 142973
* MFH (r277706): allow the user to specify the location of control.confdes2016-01-261-0/+2
|
* MFH (r290008): load_rc_config no longer requires a service namedes2016-01-261-1/+1
|
* MFC r292752:ian2016-01-242-57/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enhance rc.d/netwait script to wait for late-attaching interfaces such as USB NICs. USB network hardware may not be enumerated and available when the rc.d networking scripts run. Eventually the USB attachment completes and devd events cause the network initialization to happen, but by then other rc.d scripts have already failed, because services which depend on NETWORKING (such as mountcritremote) may end up running before the network is actually ready. There is an existing netwait script, but because it is dependent on NETWORKING it runs too late to prevent failure of some other rc scripts. This change flips the order so that NETWORKING depends on netwait, and netwait now depends on devd and routing (the former is needed to make interfaces appear, and the latter is needed to run the ping tests in netwait). The netwait script used to be oriented primarily towards "as soon as any host is reachable the network is fully functional", so you gave it a list of IPs to try and you could optionally name an interface and it would wait for carrier on that interface. That functionality still works the same, but now you can provide a list of interfaces to wait for and it waits until each one of them is available. The ping logic still completes as soon as the first IP on the list responds. These changes were submitted by Brenden Molloy <brendan+freebsd@bbqsrc.net> in PR 205186, and lightly modified by me to allow a list of interfaces instead of just one. PR: 205186 Relnotes: yes
* MFC r287220:jamie2015-12-311-1/+1
| | | | Fix a conversion error in rc.d/jail
* MFC r292759:jamie2015-12-311-60/+66
| | | | | | | | | | | | | Let old-style (shell-based) jail configuration handle jail names that contain characters not allowed in a shell variable (such as "-"). These will be replaced by an underscore in jail config variables, e.g. for jail "foo-bar" you would set "jail_foo_bar_hostname". This is separate from the current code that changes the jail names if they contain "." or "/". It also doesn't apply to jails defined in a jail.conf file. PR: 191181
* MFC: r291536rmacklem2015-12-142-1/+14
| | | | | | | | Add support for the new "-manage-gids" option for the nfsuserd daemon to the rc scripts. With these changes, setting nfs_server_managegids="YES" in /etc/rc.conf will enable this capability. Relnotes: yes
* MFH (r287917, r287918, r289063): upgrade to latest Unbounddes2015-12-041-3/+24
| | | | | | | | MFH (r283301, r289592, r291582): rc script improvements MFH (r287880): respect manually configured forwarders when using DHCP MFH (r289321): deconfuse man page PR: 184047 203580 204931
* MFC r290163: Ignore per-mdN settings in mdconfig[2] startupdteske2015-11-022-0/+4
| | | | | PR: base/189696 Submitted by: ganael.laplanche@martymac.org
* Fix indentation in etc/rc.d/fsck.vangyzen2015-10-271-1/+1
|
* MFC r287951:trasz2015-10-183-3/+3
| | | | | | | The "automount" rc script should depend on "automountd", not the other way around. Sponsored by: The FreeBSD Foundation
* MFC r288390:bdrewery2015-10-131-1/+10
| | | | | | | | When stopping ugidfw, it is not enough to just try unloading the module. If the module is built-in to the kernel then the kldunload will fail. Rather than do this just check if there are rules and then remove them all. Relnotes: yes
* MFC 287615:hrs2015-09-131-5/+4
| | | | Use read to parse a line instead of set.
* MFC 287614:hrs2015-09-131-4/+11
| | | | | - Add uid check. - Report delay<0 as a warning.
* MFC 287613:hrs2015-09-131-1/+1
| | | | | | | Update only static routes when an interface is specified. This fixed a bad side-effect reported in PR 202144. PR: 202144
* MFC r273955,274060,274164: Add /etc/rc.d/growfs script.cperciva2015-06-052-0/+97
|
* MFC 281112, 281166jpaetzel2015-04-121-33/+37
| | | | | | | | | | | | Bug fixes and feature adds - Remove extranious echo that breaks puppet - Handle restarts of multiple pflog devices correctly - Add the ability to perform actions on specific pflog devices. Typo Fix. PR: 199150
* MFC r271893,r271895,r272043,r278249,r278282,r278466:ngie2015-03-241-14/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r271893: Don't install /etc/rc.d/rwho unless MK_RCMDS == yes Sponsored by: EMC / Isilon Storage Division r271895: Don't install /etc/rc.d/ftp-proxy unless MK_PF == yes Sponsored by: EMC / Isilon Storage Division r272043: Don't install /etc/rc.d/keyserv unless MK_OPENSSL == yes Sponsored by: EMC / Isilon Storage Division r278249: Honor the following flags with the following rc.d scripts for services that can be easily decoupled from the boot process without disrupting other services - MK_APM && MK_ACPI: powerd - MK_BOOTPARAMD: bootparams - MK_FTP: ftpd - MK_INETD: inetd - MK_LEGACY_CONSOLE: moused, syscons - MK_MAIL: othermta - MK_NS_CACHING: nscd - MK_NTP: ntpd (ntpdate is required by other services and can't be easily conditionalized -- yet..) - MK_ROUTED: routed - MK_SENDMAIL: sendmail - MK_TIMED: timed - MK_VI: virecover Sponsored by: EMC / Isilon Storage Division r278282: Use FILES+= idiom instead of _inetd when referencing inetd rc.d script This was a discrepancy between ^/projects/building-blocks and ^/head that I didn't resolve before committing the change to ^/head Pointyhat to: me Reported by: jhb Sponsored by: EMC / Isilon Storage Division r278466: Remove explicit routing/sendmail rc.d inclusion in FILES Reported by: Guy Yur <guyyur@gmail.com> Sponsored by: EMC / Isilon Storage Division
* MFC r278704:ngie2015-03-012-1/+2
| | | | | Unbreak rcorder when MK_UNBOUND == no by moving local_unbound from REQUIRE: in NETWORKING to BEFORE: in the script
* Unbreak rcorUnbreak rcorder when MK_UTX == no by moving utx from REQUIRE: in ↵ngie2015-03-012-1/+2
| | | | | | LOGIN to BEFORE: in utx
* MFC r273999:hrs2015-02-141-1/+1
| | | | | | Do not try to create a /dev/log symlink in a jail. PR: 179828
* MFC r277678:ngie2015-02-131-3/+6
| | | | | | | | r277678: Add MK_CCD knob for building and installing ccd(4), ccdconfig, etc Sponsored by: EMC / Isilon Storage Division
* MFC r278302:rpaulo2015-02-131-2/+3
| | | | | Don't add static IPv6 routes when to all FIBs when net.add_addr_allfibs is 0.
* Remove etc/rc.d/accounting from FILESngie2015-02-111-1/+0
|
* MFC r277736:ngie2015-02-111-0/+4
| | | | | | | | r277736: Honor MK_ACCT with etc/rc.d/accounting Sponsored by: EMC / Isilon Storage Division
* MFC r277741:ngie2015-02-111-2/+2
| | | | | | | | r277741: Respect MK_KERBEROS with etc/rc.d/ipropd_master and etc/rc.d/ipropd_slave Sponsored by: EMC / Isilon Storage Division
* MFC r277728:ngie2015-02-111-3/+6
| | | | | | | | r277728: Add MK_AUTOFS knob for building and installing autofs(4), et al Sponsored by: EMC / Isilon Storage Division
* MFC r277725:ngie2015-02-111-1/+4
| | | | | | | | r277725: Add MK_HAST knob for building and installing hastd(8), et al Sponsored by: EMC / Isilon Storage Division
* MFC r277675,r277726,r278070:ngie2015-02-111-2/+5
| | | | | | | | | | | | | | | | | | | | | | r277675: Add MK_ISCSI knob for building the iscsi initiator, iscsi daemon, kernel modules, etc Sponsored by: EMC / Isilon Storage Division r277726: Build sbin/iscontrol again if MK_ISCSI != no Pointyhat to: me r278070: Remove duplicate MK_ISCSI block and sort the conditional blocks so this error won't crop up again in the future Reported by: gjb
* MFC r277854:cy2015-02-111-1/+0
| | | | | | | | | ipfilter 5.1.2 (vs 4.1.28 in previous releases of FreeBSD) stores IPv4 and IPv6 rules in a single table. ipf -6 -Fa will flush the whole table, including IPv4 rules. This patch removes the redundant ipf -I -6 -Fa statement. PR: 188318
* MFC r278323:jamie2015-02-101-3/+2
| | | | | | | | | Add mount.procfs jail parameter, so procfs can be mounted when a prison's root is in its fstab. Also fix a typo while I'm at it. PR: 197237 197066
* MFC r277730:ngie2015-02-051-1/+4
| | | | | | | | r277730: Honor MK_ACPI in etc/devd and etc/rc.d Sponsored by: EMC / Isilon Storage Division
* MFC r277740,r278053:ngie2015-02-051-2/+5
| | | | | | | | | | | | | r277740: Honor MK_WIRELESS with etc/rc.d/hostapd and etc/rc.d/wpa_supplicant Sponsored by: EMC / Isilon Storage Division r278053: Remove hostapd and wpa_supplicant from FILES so they're installed conditionally if MK_WIRELESS != no
* MFC r277733:ngie2015-02-041-1/+4
| | | | | | | | r277733: Honor MK_AMD with etc/rc.d/amd Sponsored by: EMC / Isilon Storage Division
* MFC r277732:ngie2015-02-041-2/+5
| | | | | | | | r277732: Honor MK_API in etc/rc.d Sponsored by: EMC / Isilon Storage Division
* MFC r277731,r277734:ngie2015-02-041-1/+4
| | | | | | | | | | | | | | r277731: Honor MK_LPR with etc/rc.d/lpd Sponsored by: EMC / Isilon Storage Division r277734: Remove explicit inclusion of lpd from FILES Sponsored by: EMC / Isilon Storage Division
* MFC r277739:ngie2015-02-041-1/+4
| | | | | | | | r277739: Honor MK_JAIL with etc/rc.d/jail Sponsored by: EMC / Isilon Storage Division
* MFC r277686,r277687:ngie2015-02-021-1/+4
| | | | | | | | | | | | | | r277686: Install bsnmp rc.d script if MK_BSNMP != no Sponsored by: EMC / Isilon Storage Division r277687: Fill in entries for MK_BSNMP == no Sponsored by: EMC / Isilon Storage Division
* MFC r271892:ngie2015-02-021-11/+11
| | | | | | | | r271892 (by ngie): Sort the optional rc.d scripts by their knobs Sponsored by: EMC / Isilon Storage Division
* MFC r274965:trasz2015-01-011-1/+1
| | | | | | Make it possible to specify flags for autofs daemons in rc.conf. Sponsored by: The FreeBSD Foundation
* MFC: 258080jpaetzel2014-11-092-8/+111
| | | | | | | | Add support for multiple instances of ftp-proxy and pflog devices. PR: conf/158171 Submitted by: Thomas Johnson <tom@claimlynx.com>
* MFC r273285:hrs2014-10-191-4/+11
| | | | | - Honer MK_KERBEROS for Heimdal rc.d scripts. - Add rc.c/kerberos to OLD_FILES.
* MFC r271663:hrs2014-10-091-3/+3
| | | | Fix a typo; master server for iprop service should be singular.
* MFC r271145:hrs2014-10-091-4/+4
| | | | | Fix a bug which prevented mount.fstab parameter from being converted when jail_JID_devfs_enable=NO.
* MFC r270836:hrs2014-10-091-0/+2
| | | | Use ipv6_prefer when at least one ifconfig_IF_ipv6 is configured.
* MFC r270783:hrs2014-10-091-26/+24
| | | | | Return false status only when adding a route is failed. It could erroneously return false due to an afexists() check loop in routing_start().
OpenPOWER on IntegriCloud