summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2012-01-20Fix pexp for sendmail; it can be "sendmail: rejecting" as well as accepting.Stuart Henderson
From danh@, ok aja@ giovanni@
2012-01-16Use nsdc to reliably stop nsd.Camiel Dobbelaar
ok ajacoutot sthen
2012-01-11crank to 5.1-betaTheo de Raadt
2012-01-09Add disabled getty lines for acpi(4) and dca(4) lines, better late than never.Miod Vallat
2011-12-28sndiod(1) does not 'reload', so set rc_reload to NO.Antoine Jacoutot
ok ratchov@
2011-12-21regenMiod Vallat
2011-12-21Add audio nodes on hp300.Miod Vallat
2011-12-21Adapt after recent rc scripts change.Antoine Jacoutot
with input from and ok sthen@
2011-12-21Move mandatory flags from daemon_flags to daemon.Antoine Jacoutot
ok sthen@
2011-12-15use a FQDN (i.e. one ending with a period) as tsig key example's name;Igor Sobrado
rename key1 to tsig1 to clearly identify this name as a transaction signature digest; consistently use tsig key name on slave zone. ok jakob@
2011-12-13Set rc_reload to NO. In rc.d(8), `reload' means reloading theAntoine 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-09Handle aucat -> sndiod name change, and enable sndiod by default. MostlyAlexandre Ratchov
from ajacoutot@. ok deraadt ajacoutot
2011-12-06closing fd 0-2 is indeed bad style and potentially dangerous, as pointedAlexander Hall
out by Arne Becker, who also supplied the diff, thanks! ok schwarze@ agreed by many
2011-11-30Fix an issue when uid != euid (e.g. when running shutdown(8) as aAntoine 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-11-04regenerated moduli file; ok deraadtDarren Tucker
2011-10-29Add a sample mixerctl.conf(5).Antoine Jacoutot
Pretty terse for now but will eventually come with some more complex examples when ratchov@ finishes some ongoing work on aucat(1). ok ratchov@ jmc@ deraadt@
2011-10-22regenMiod Vallat
2011-10-22Move the audio* device creation stanzas from MI to MD, and reduce theMiod Vallat
number of audio* nodes from 3 to 1 on vax, since none of the audio-capable vax can receive another audio device as expansion (until we get TURBOchannel support with DMA on VS4k/90). ok deraadt@ todd@
2011-10-19Add etc/etc.beagle (copied from armish); ok drahn@Uwe Stuehler
2011-10-17srv_ctrl isn't a directory in xkeyboard-config 2.4.1Matthieu Herrb
2011-10-15either set or unset variables that are to be examined further on, don'tAlexander Hall
just leave them untouched ok ajacoutot@ sthen@ schwarze@
2011-10-13Start ldapd(8) earlier so that ypldap(8) can properly run (an LDAPAntoine 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-12Localize _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-09When the _RC_RUNFILE (by some ill chance) happened to be empty orIngo 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-09Finally make it possible to restart/stop a daemon after having changedAntoine 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-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