summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2011-10-07The new ypbind changes requires that the domainname be set beforeTheo de Raadt
rc.conf is run. There's no real downside. ok aja
2011-10-07Check if we are root right from the start.Antoine Jacoutot
ok robert@
2011-10-07Prepend an underscore to internal variable names; this was reverted byAntoine Jacoutot
mistake in the previous commit. No functionnal change. ok robert@
2011-10-07Fix a small regression reported by nicm@: when domainname is set butAntoine 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-06syncTheo de Raadt
2011-10-06ccd goes to the atticTheo de Raadt
discussed with jsing and millert
2011-10-06rc_reload is valid here.Antoine Jacoutot
ok robert@
2011-10-05Add /usr/local/sbin to the default path (/sbin and /usr/sbin areAntoine Jacoutot
already there). ok sthen@ millert@ gilles@ deraadt@
2011-10-04Stop spreading lies about the usage of 'nobody', it's confusing to link itJasper Lievisse Adriaanse
with NFS here. Result of a discussion with several. ok deraadt@ millert@
2011-09-25revert previous and pass on the RC_DEBUG and RC_FORCE flags in the start+stopAlexander Hall
dance on restart rather than exporting them and expose the script to a potentially polluted environment ok ajacoutot@ robert@
2011-09-24Repair "restart" debug and force modes (we need to export RC_DEBUG andAntoine 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-22since we are chrooting nginx by default let's set a sane default docrootRobert Nagy
2011-09-22add config files for nginx, but keep them unlinked because they wouldRobert Nagy
overlap with the port's config files
2011-09-22Add missing "*)" case statement and make sure RC_DEBUG and RC_FORCE areAntoine Jacoutot
unset beforehands; prodded by halex@ Add rc_usage(). ok halex@
2011-09-22install infnan(3/VAX) into man3/vax/ on all archs;Ingo Schwarze
clean make build tested on i386; ok deraadt@, no objections from martynas@
2011-09-20Remove the "portmap" variable, it's unused now (use portmap_flags).Antoine Jacoutot
ok deraadt@ robert@
2011-09-20use a pexp here too; noted by MERIGHI Marcus <mcmer-openbsd@tor.at>Robert Nagy
2011-09-19Set defaults daemon_flags (same as advertised in rc.conf.local(5) soAntoine 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-19Use arugments for rc script instead of environment variables to indicateRobert 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-19remove the /usr/share/man/ps* hierarchy and supporting variables; MANPSOkan Demirmen
disappeared during the source manuals switch. no objections from schwarze@ jmc@ deraadt@
2011-09-16use the correct regexp to find the ldapd server processRobert Nagy
from MERIGHI Marcus <mcmer-openbsd@tor.at>
2011-09-16Add a script for popa3d to support running it outside of inetd.Robert Nagy
2011-09-14ntpd doesn't really support reload, so don't allow it in the rc script.william
ok ajacoutot robert
2011-09-08Sync protocols 43 (ipv6-route) & 44 (ipv6-frag) names with IANA database.Matthieu Herrb
ok henning@, bluhm@
2011-09-03regenMiod Vallat
2011-09-03Add audio devices.Miod Vallat
2011-08-28Add support for the netid.byname YP map. This map is used by getgrouplist(3),aschrijver
which is used by (amongst other things) initgroups(3) to set the supplemantary groups on login. OK pyr@
2011-08-22Read amd_master using print -rn, fixes problems if the file has multipleNicholas Marriott
lines. Problem noticed by me, this solution from halex@. ok halex aja
2011-08-21Add IANA allocated port for sieve: 4190.Antoine Jacoutot
ok sthen@ deraadt@
2011-08-08create pflog0 if pf is enabled just like we do in the pflogd scriptRobert Nagy
from sthen@
2011-08-02handle /var/db/mountdtab in the mountd script and not in nfsdRobert Nagy
2011-08-02catch all the three different process names in pexpRobert Nagy
2011-07-31when reloading do an rc_wait instead of just an rc_checkRobert Nagy
from david@, okay sthen@ and input from schwarze@
2011-07-31redirect rc_err() output to stderr, from david@Robert Nagy
2011-07-30Fix kernels listMiod Vallat
2011-07-29regenMark Kettenis
2011-07-29Make sure /dev/diskmap ends of on ramdisk filesystems.Mark Kettenis
Pointed out by miod@
2011-07-28supress empty rc.firsttime email and add hostname to the subject lineAlexander Hall
ok deraadt krw
2011-07-26Show an example of overriding a limit for a specific daemon with rc.d(8).Stuart Henderson
Use bgpd(8) for this which on a peering router often needs openfiles-cur to be higher than the default. ok henning@ claudio@ deraadt@
2011-07-24use the right sysctl, doh!Federico G. Schwindt
pointed out by Moritz Grimm (mgrimm-at-mrsserver-dot-net)
2011-07-23Print the daemon name before starting, and ok/failed afterwards, providingStuart Henderson
better visual cues as to what's happening. Feedback/ok aja@ schwarze@
2011-07-23mention net.inet6.ip6.rediraccept as well around rtsold_flags.Federico G. Schwindt
sthen@ ok.
2011-07-22unify kernel building on various platforms.Marc Espie
feedback from miod@ and deraadt@
2011-07-20remove an unneeded trailing semicolonAlexander Hall
2011-07-20cleanup of fill_baddynamic()Alexander Hall
ok krw@
2011-07-19random seed handling can now be done fairly early, well, as soon asTheo de Raadt
we are beyond the nfs diskless /var and /usr mounting. Issue also spotted by Hugo Villeneuve, attempt at repair by me. Let's see how it works out in practice... looked at by krw, too
2011-07-19Now that fill_baddynamic() is being called much earlier, it cannot useTheo de Raadt
grep in a NFS diskless environment. Found and fixed by Hugo Villeneuve
2011-07-18put aucat with network daemons for now, until a better solution is foundTheo de Raadt
2011-07-18crank to 5.0Theo de Raadt
2011-07-18move aucat very early, to cope with pkgs; ok ajaTheo de Raadt