summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2022-01-04- add LDAPJason McIntyre
- capitalise RADIUS when referring to the protocol - remove tis from raf czlonka ok sthen ajacoutot
2021-12-08wtmp doesn't need to reload syslogd.Martijn van Duren
From Anton Kasimov <kasimov <dot> an <at> gmail <dot> com> OK bluhm@
2021-11-15Tidy up; no change.Antoine Jacoutot
2021-11-14Improve and simplify timer handling in "stop" and "reload".Antoine Jacoutot
Rename _rc_wait to _rc_wait_for_start since only "start" uses this now (to handle rc_bg daemons). In any situation, none of these actions should be able to hang boot or shutdown. We should now be able to manage most corner cases out there ("most" because it's unreasonable to assume we can cope with all the non-default rc_{start,stop,reload} crazyness). Several tests have been made and no obvious regression has been found. But that doesn't mean there isn't; if some behavior changed for the worst, talk to me. ok robert@ sthen@
2021-11-12Bump maxproc-cur to 512 for the pbuild user.Antoine Jacoutot
This will prevent recurring failures in bulks ('cannot fork'). ok tb@ sthen@ deraadt@
2021-11-12Consistency in test; no behavior change.Antoine Jacoutot
2021-11-12Set SECONDS to 0 in _rc_wait.Antoine Jacoutot
While this is not strictly required, it's a failsafe and more fair to daemon_timeout as we will effectively wait for the start/stop/reload sequence instead of the duration of the rc.d script itself.
2021-11-12Simplify _rc_exit.Antoine Jacoutot
2021-11-11Run "_rc_wait stop" _before_ stopping the daemon and not after...Antoine Jacoutot
This doesn't change the default behavior but fixes rc.d scripts with a home made rc_stop() function that can block and potentially hangs halt/reboot forever. ok robert@
2021-11-11Return 0 in case we reach KILL; this allows "restart" to work as expectedAntoine Jacoutot
in this situation. reported by and ok robert@
2021-11-11Regen after switch(4) removalClaudio Jeker
2021-11-11/dev/switch[0-4] is no longer needed.Claudio Jeker
2021-11-11switch(4) and switchd(8) are retiering. Unhook them from variousClaudio Jeker
configuration files. OK sthen@ kn@ patrick@
2021-11-09check that the rc script including rc.subr is using ksh; rc.subr uses kshStuart Henderson
features and scripts will not work correctly with sh. tweak jca/ok kn/ ok with direction aja
2021-11-08rc_reload_signal & rc_stop_signal are not rc.conf(8) variables; they'reAntoine Jacoutot
only for rc.d scripts.
2021-11-07increase ramdisk space for another driverTheo de Raadt
2021-11-07Speed up _rc_wait: only sleep 1/2 second between rc_check tries and make sureAntoine Jacoutot
we have at least 1s for SIGTERM to do its job.
2021-11-07Use built-in SECONDS instead of hand roller timer.Antoine Jacoutot
with a tweak from kn@ ok sthen@
2021-11-06Always run _rc_rm_runfile when process is sent a SIGKILL or rc_post fails (atAntoine Jacoutot
this point the process has been terminated).
2021-11-06Drop uneeded sleep.Antoine Jacoutot
2021-11-06Allow passing a different signal than SIGTERM in the default rc_stop()Antoine Jacoutot
function. This will allow to simplify some rc.d script that cook there own function to gracefully stop a process (e.g. web servers). There are other use cases as well. And do the same for rc_reload because it's cheap and can also simplify a handful of rc.d scripts. Behave like shutdown and if the process is still not down after daemon_timeout (configurable; default to 30s), then send a SIGKILL. While here, factorise pkill invocations into a _rc_sendsig() function that can potentially be used by rc.d scripts instead of cooking pkill lines; this will benefit from the configured routing table etc. tested & ok robert@
2021-10-31Shuffle things around to have FUNCS_ONLY higher in the script so consummersAntoine Jacoutot
source only what they really needs. Only expose the following which are used by /etc/rc, netstart and rcctl: _rc_parse_conf _rc_check_name _rc_err _rc_do _rc_quirk ok sthen@
2021-10-27create directory for libxcvt headersMatthieu Herrb
2021-10-23btrace dirTheo de Raadt
2021-10-13Change syslog.conf comments relating to network logging to focus on clientStuart Henderson
setup which is configured in the file itself, rather than talking partly about client (set in the file), command-line flags used for servers which are better suited to the syslogd(8) manual, and ISDN. In the commented-out examples, use tls rather than the plaintext protocol. If users don't need tls they can change it, but it's a sane default, and a good place to show that we have the feature. ok bluhm@
2021-10-12make armv7 fit again after bootblock growth; discussed with jsgTheo de Raadt
2021-10-09grow media for additional firmwaresTheo de Raadt
2021-10-05syncTheo de Raadt
2021-10-05wd(4) supportTheo de Raadt
ok kettenis
2021-10-05syncTheo de Raadt
2021-10-05wd(4) device node support was missing, add it.Theo de Raadt
2021-10-04grow i386 media for new realtek firmwaresTheo de Raadt
2021-09-28Import regenerated moduli.Darren Tucker
2021-09-20Fix release day and emacs versionTheo Buehler
ok deraadt
2021-09-19adjust dateTheo de Raadt
2021-09-19login.conf: raise datasize-cur limits for pbuild on macppc to 1536MBCharlene Wendling
Required at least by www/webkitgtk4. "commit right away" deraadt@
2021-09-13no longer neededTheo de Raadt
2021-09-13add 7.1 syspatch pubkeyRobert Nagy
2021-09-13introduce /etc/bsd.re-config which can be used to configure the kernelRobert Nagy
using config(8); the contents of this configuration file will be fed to config(8) after kernel relinking is done, so on the next boot the new kernel will have all the configuration changes set by the user this comes handy if you still want to use KARL while making changes to the GENERIC kernel diff from Paul de Weerd with input from several developers
2021-09-02Do not create loopback interfaces lo1, lo2, ... upfront. They areAlexander Bluhm
automatically set up by the kernel when a routing domain is created. An existing lo1 in rdomain 0 would prevent to add any interfaces in rdomain 1. OK kn@
2021-09-02nameserver alias on domain (53) collided with true nameserver (42)Theo de Raadt
which would be parsed earlier in any case. what a weird piece of history. from Raf Czlonka
2021-09-02delete reference to X11 README file which is no longer installed.Theo de Raadt
from Raf Czlonka
2021-09-01quietly attempt mounting of /var/log early, in case someone creates suchTheo de Raadt
a partition to avoid /var overflow issues ok benno beck
2021-08-30Improve dubgging in /etc/netstart. Enable print only in ifcreate.Alexander Bluhm
Add debugging output for ipv6 routes. Make localhost and multicast code aware of the print only switch. Allow netstart -n to work also if no interface is given. OK kn@
2021-08-177.1 fw keyStuart Henderson
2021-08-177.1 packages keyChristian Weisgerber
2021-08-177.1 base keyTheo de Raadt
2021-08-177.0-betaTheo de Raadt
2021-08-08Rework examples/snmpd.conf; show more things that people are likely toStuart Henderson
actually need, and fewer things that they won't need. In particular don't rely on default auth/enc settings; SNMPv3 isn't algorithm-agile, it must be defined on both ends, so relying on a default is going to cause some problems if it ever does change.
2021-08-06s/updatedb(8)/locate.updatedb(8)/ in commentTim van der Molen
OK schwarze@