summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2022-02-13Add /usr/local/share/examples/login.conf.d to the default hierarchy.Antoine Jacoutot
ok sthen@ espie@ deraadt@
2022-02-10look for the login class in both login.conf and login.conf.d/${class}Robert Nagy
ok aja@
2022-02-10introduce support for storing capability databases in /etc/login.conf.d;Robert Nagy
anytime a class is looked up, the /etc/login.conf.d/${class} file will be checked first for a matching class definition; this will allow us to easily add custom login classes from packages ok millert@
2022-02-09Increase armv7 ramdisk size to avoid errors in installer.Visa Hankala
OK deraadt@
2022-01-17filessystems -> filesystemsJonathan Gray
2022-01-07regenJonathan Gray
2022-01-07stop creating old drm device nodesJonathan Gray
2022-01-06stop chowning old drm device nodesJonathan Gray
2022-01-05increase lifetime of wtmp, since it is annoyingly shortTheo de Raadt
discussed with millert
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