summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2022-04-04move release date a littleTheo de Raadt
2022-03-26grow i386 mediaTheo de Raadt
2022-03-04fix year, from mikhailTheo de Raadt
2022-03-02Add openvpn ports (udp/1194 & tcp/1194) to /etc/servicesLandry Breuil
Registered at IANA since 2004, also present on Linux & FreeBSD ok sthen@ stsp@ jca@
2022-02-28provide a login class for vmd, the "daemon" class now has a datasizeStuart Henderson
limit which is a bit low for VMs. only done on amd64 as vmd is only provided there. ok deraadt@
2022-02-22add some more tunnels to the list of interfaces that rely on routing.David Gwynne
2022-02-21cap the daemon login class' datasize at either 1G or 4G depending onRobert Nagy
the architecture and set the bgpd class' datasize to either 16G or 1G ok sthen@ and discussed with many
2022-02-207.2 packages keyChristian Weisgerber
2022-02-207.2 base keyTheo de Raadt
2022-02-20move to 7.1-betaTheo de Raadt
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