Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-09-20 | Enable npppd and npppctl in default build. Add npppd to rc and | YASUOKA Masahiko | |
install sample configs to /etc/. ok claudio deraadt henning mcbride | |||
2012-09-13 | Simplify the way we call the rc.d(8) script in "restart". | Antoine Jacoutot | |
ok sthen@ | |||
2012-09-01 | Make '-f' only affects the "start" action. | Antoine Jacoutot | |
There is no reason we couldn't reload|stop a daemon even when _flags is set to NO. As a bonus side effect, we can now see usage() on disabled scripts. discussed with sthen@ and espie@ ok sthen@ | |||
2012-08-21 | Use the new "-q" option of pgrep(1) instead of redirecting stdout | Antoine Jacoutot | |
to /dev/null. | |||
2012-08-20 | wire up the bits for tftp-proxy, which is called tftpproxy from rc.d's | David Gwynne | |
point of view. mostly ok sthen@ ajacoutot@, who were discussing the feng shui of the start_daemons chunk | |||
2012-08-14 | Optimize checks for /etc/exports. | Antoine Jacoutot | |
from robert at peichaer dot org discussed with and ok halex@ | |||
2012-08-13 | unset _rcflags and _rcuser so that they don't get inherited by rc.d(8) | Antoine Jacoutot | |
scripts; from robert at peichaer dot org ok halex@ While here, put the "sanitation" commands in their own block. | |||
2012-08-13 | Set the daemon_class as readonly as it should be (and is documented as | Antoine Jacoutot | |
such). from robert at peichaer dot org modified after a discussion with halex@ ok halex@ robert@ | |||
2012-08-11 | Make a couple of variables local. | Antoine Jacoutot | |
from robert at peichaer dot org ok halex@ | |||
2012-08-04 | Add a new rc_usercheck variable (default to YES). When set to no, root | Antoine Jacoutot | |
privilege is needed to run rc_check. In effect this means /etc/rc.d/foobar check can now be run as a regular user. Discussed with robert@ during g2k12. ok todd@ | |||
2012-08-04 | Set rc_usercheck to NO. | Antoine Jacoutot | |
2012-07-10 | fix pexp | Alexander Hall | |
ok robert@ | |||
2012-07-10 | fix regexp in pexp | Alexander Hall | |
ok robert@ | |||
2012-07-07 | Simplify rc_wait() (no functionnal change). | Antoine Jacoutot | |
initially from robert at peichaer dot org with some enhancement by halex@ ok halex@ | |||
2012-07-07 | Restore default tftpd(8) argument to use "/tftpboot" so that is works | Antoine Jacoutot | |
out of the box. ok deraadt@ pirofti@ | |||
2012-05-30 | in -d mode, display an error message before exiting, in the case the | Marc Espie | |
daemon is not active (happens often to me, as I forget which box has which daemons). okay ajacoutot@ | |||
2012-04-01 | btd went away | Theo de Raadt | |
2012-03-05 | add rc.d bits for the new standalone tftpd daemon. | David Gwynne | |
mostly from Kent R. Spillner ok sthen@ robert@ | |||
2012-02-19 | enable nginx | Robert Nagy | |
2012-01-20 | Fix pexp for sendmail; it can be "sendmail: rejecting" as well as accepting. | Stuart Henderson | |
From danh@, ok aja@ giovanni@ | |||
2012-01-16 | Use nsdc to reliably stop nsd. | Camiel Dobbelaar | |
ok ajacoutot sthen | |||
2011-12-28 | sndiod(1) does not 'reload', so set rc_reload to NO. | Antoine Jacoutot | |
ok ratchov@ | |||
2011-12-21 | Move mandatory flags from daemon_flags to daemon. | Antoine Jacoutot | |
ok sthen@ | |||
2011-12-13 | Set rc_reload to NO. In rc.d(8), `reload' means reloading the | Antoine Jacoutot | |
configuration without service disruption which is not what -HUP does for nsd(8). Anyway, zone operations (...) should be done using nsdc(8) and not with an rc script. discussed with and ok sthen@ | |||
2011-12-09 | Handle aucat -> sndiod name change, and enable sndiod by default. Mostly | Alexandre Ratchov | |
from ajacoutot@. ok deraadt ajacoutot | |||
2011-11-30 | Fix an issue when uid != euid (e.g. when running shutdown(8) as a | Antoine Jacoutot | |
regular user, member of the operator group); rm(1) was waiting for interactive input to remove the runfiles which made no sense, so just use `-f'. issue spotted by weerd@ ok weerd@ robert@ | |||
2011-10-15 | either set or unset variables that are to be examined further on, don't | Alexander Hall | |
just leave them untouched ok ajacoutot@ sthen@ schwarze@ | |||
2011-10-13 | Start ldapd(8) earlier so that ypldap(8) can properly run (an LDAP | Antoine Jacoutot | |
server _must_ be running and accessible before ypldap is started). Add a proper pexp in the ypldap rc script. discussed with pyr@ robert@ deraadt@ ok deraadt@ | |||
2011-10-12 | Localize _new_pexp unconditionally, or rc_read_runfile() | Ingo Schwarze | |
might pick it up from a polluted environment. Requested by halex@, ok ajacoutot@ halex@ | |||
2011-10-09 | When the _RC_RUNFILE (by some ill chance) happened to be empty or | Ingo Schwarze | |
reading it failed, ${pexp} ended up as the empty string and the script would send SIGTERM to init(1), which was really inconvenient. Fix that by never allowing pexp to become empty. My patch considerably simplified by and ok ajacoutot@. | |||
2011-10-09 | Finally make it possible to restart/stop a daemon after having changed | Antoine Jacoutot | |
its _flags in rc.conf(8). When the rc.d(8) system starts a daemon, it will record its pexp under /var/run/rc.d/rcscriptname and use that to interact with it (errors in creating /var/run/rc.d or missing pexp file are non fatal, the framework will just fallback to what it currently does). deraadt@ doesn't mind a long as it doesn't come in the way of people manually managing their daemons. discussed with and input from sthen@ halex@ robert@ schwarze@ ok sthen@ robert@ | |||
2011-10-07 | Check if we are root right from the start. | Antoine Jacoutot | |
ok robert@ | |||
2011-10-07 | Prepend an underscore to internal variable names; this was reverted by | Antoine Jacoutot | |
mistake in the previous commit. No functionnal change. ok robert@ | |||
2011-10-07 | Fix a small regression reported by nicm@: when domainname is set but | Antoine Jacoutot | |
/var/yp/binding does not exist, do _not_ try to start ypbind. Make it possible to start ypbind the same way as the other daemons (using ypbind_flags) while preserving the historical startup behavior. tested by deraadt@ | |||
2011-10-06 | rc_reload is valid here. | Antoine Jacoutot | |
ok robert@ | |||
2011-09-25 | revert previous and pass on the RC_DEBUG and RC_FORCE flags in the start+stop | Alexander Hall | |
dance on restart rather than exporting them and expose the script to a potentially polluted environment ok ajacoutot@ robert@ | |||
2011-09-24 | Repair "restart" debug and force modes (we need to export RC_DEBUG and | Antoine Jacoutot | |
RC_FORCE since "restart" calls "stop" then "start"). While here, append "_" to these variable names to make it clear they are internal. ok robert@ | |||
2011-09-22 | Add missing "*)" case statement and make sure RC_DEBUG and RC_FORCE are | Antoine Jacoutot | |
unset beforehands; prodded by halex@ Add rc_usage(). ok halex@ | |||
2011-09-20 | use a pexp here too; noted by MERIGHI Marcus <mcmer-openbsd@tor.at> | Robert Nagy | |
2011-09-19 | Set defaults daemon_flags (same as advertised in rc.conf.local(5) so | Antoine Jacoutot | |
that we can use these scripts right away with /etc/rc.d/XXX -f without having to manually set _flags. ok robert@ | |||
2011-09-19 | Use arugments for rc script instead of environment variables to indicate | Robert Nagy | |
debug mode. This commit also adds a force mode for the script to allow one to force operations even if daemon_flags is set to NO. In this case the sane default values will be used for each script. e.g.: "/etc/rc.d/foo -f start" will start sshd even if it's disabled ok ajacoutot@ | |||
2011-09-16 | use the correct regexp to find the ldapd server process | Robert Nagy | |
from MERIGHI Marcus <mcmer-openbsd@tor.at> | |||
2011-09-16 | Add a script for popa3d to support running it outside of inetd. | Robert Nagy | |
2011-09-14 | ntpd doesn't really support reload, so don't allow it in the rc script. | william | |
ok ajacoutot robert | |||
2011-08-22 | Read amd_master using print -rn, fixes problems if the file has multiple | Nicholas Marriott | |
lines. Problem noticed by me, this solution from halex@. ok halex aja | |||
2011-08-08 | create pflog0 if pf is enabled just like we do in the pflogd script | Robert Nagy | |
from sthen@ | |||
2011-08-02 | handle /var/db/mountdtab in the mountd script and not in nfsd | Robert Nagy | |
2011-08-02 | catch all the three different process names in pexp | Robert Nagy | |
2011-07-31 | when reloading do an rc_wait instead of just an rc_check | Robert Nagy | |
from david@, okay sthen@ and input from schwarze@ | |||
2011-07-31 | redirect rc_err() output to stderr, from david@ | Robert Nagy | |