ajacoutot
20eae469d3
Add /usr/local/sbin to the default path (/sbin and /usr/sbin are
already there).
ok sthen@ millert@ gilles@ deraadt@
13 years ago
jasper
5501d18581
Stop spreading lies about the usage of 'nobody', it's confusing to link it
with NFS here. Result of a discussion with several.
ok deraadt@ millert@
13 years ago
halex
bb9d3c7e37
revert previous and pass on the RC_DEBUG and RC_FORCE flags in the start+stop
dance on restart rather than exporting them and expose the script to a
potentially polluted environment
ok ajacoutot@ robert@
13 years ago
ajacoutot
91843b8c72
Repair "restart" debug and force modes (we need to export RC_DEBUG and
RC_FORCE since "restart" calls "stop" then "start").
While here, append "_" to these variable names to make it clear they are
internal.
ok robert@
13 years ago
robert
d93f4ae7d0
since we are chrooting nginx by default let's set a sane default docroot
13 years ago
robert
86d1b89f6c
add config files for nginx, but keep them unlinked because they would
overlap with the port's config files
13 years ago
ajacoutot
cf230ea0bc
Add missing "*)" case statement and make sure RC_DEBUG and RC_FORCE are
unset beforehands; prodded by halex@
Add rc_usage().
ok halex@
13 years ago
schwarze
94a03919f6
install infnan(3/VAX) into man3/vax/ on all archs;
clean make build tested on i386;
ok deraadt@, no objections from martynas@
13 years ago
ajacoutot
9874076075
Remove the "portmap" variable, it's unused now (use portmap_flags).
ok deraadt@ robert@
13 years ago
robert
a47d4b4278
use a pexp here too; noted by MERIGHI Marcus <mcmer-openbsd@tor.at>
13 years ago
ajacoutot
0ebd8d99c9
Set defaults daemon_flags (same as advertised in rc.conf.local(5) so
that we can use these scripts right away with /etc/rc.d/XXX -f without
having to manually set _flags.
ok robert@
13 years ago
robert
658cf4e69a
Use arugments for rc script instead of environment variables to indicate
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@
13 years ago
okan
cdc16e8022
remove the /usr/share/man/ps* hierarchy and supporting variables; MANPS
disappeared during the source manuals switch.
no objections from schwarze@ jmc@ deraadt@
13 years ago
robert
58c707781f
use the correct regexp to find the ldapd server process
from MERIGHI Marcus <mcmer-openbsd@tor.at>
13 years ago
robert
84626692a3
Add a script for popa3d to support running it outside of inetd.
13 years ago
william
4df0422656
ntpd doesn't really support reload, so don't allow it in the rc script.
ok ajacoutot robert
13 years ago
matthieu
8fe165f391
Sync protocols 43 (ipv6-route) & 44 (ipv6-frag) names with IANA database.
ok henning@, bluhm@
13 years ago
miod
e9d0d325e3
regen
13 years ago
miod
2a61dccde4
Add audio devices.
13 years ago
aschrijver
a07b5115e0
Add support for the netid.byname YP map. This map is used by getgrouplist(3),
which is used by (amongst other things) initgroups(3) to set the supplemantary
groups on login.
OK pyr@
13 years ago
nicm
629fd2b83a
Read amd_master using print -rn, fixes problems if the file has multiple
lines. Problem noticed by me, this solution from halex@.
ok halex aja
13 years ago
ajacoutot
1c55be2758
Add IANA allocated port for sieve: 4190.
ok sthen@ deraadt@
13 years ago
robert
84efc8ed17
create pflog0 if pf is enabled just like we do in the pflogd script
from sthen@
13 years ago
robert
8c0d3db40f
handle /var/db/mountdtab in the mountd script and not in nfsd
13 years ago
robert
16f8f5639d
catch all the three different process names in pexp
13 years ago
robert
1779710298
when reloading do an rc_wait instead of just an rc_check
from david@, okay sthen@ and input from schwarze@
13 years ago
robert
23647f1532
redirect rc_err() output to stderr, from david@
13 years ago
miod
f04401e1db
Fix kernels list
13 years ago
kettenis
319526b4e1
regen
13 years ago
kettenis
69a387f92d
Make sure /dev/diskmap ends of on ramdisk filesystems.
Pointed out by miod@
13 years ago
halex
6ff9d79ec0
supress empty rc.firsttime email and add hostname to the subject line
ok deraadt krw
13 years ago
sthen
b9da1730d8
Show an example of overriding a limit for a specific daemon with rc.d(8).
Use bgpd(8) for this which on a peering router often needs openfiles-cur
to be higher than the default. ok henning@ claudio@ deraadt@
13 years ago
fgsch
2c7cbc642d
use the right sysctl, doh!
pointed out by Moritz Grimm (mgrimm-at-mrsserver-dot-net)
13 years ago
sthen
715651b5de
Print the daemon name before starting, and ok/failed afterwards, providing
better visual cues as to what's happening. Feedback/ok aja@ schwarze@
13 years ago
fgsch
3c764b5a63
mention net.inet6.ip6.rediraccept as well around rtsold_flags.
sthen@ ok.
13 years ago
espie
74427696fc
unify kernel building on various platforms.
feedback from miod@ and deraadt@
13 years ago
halex
1fd55b8efc
remove an unneeded trailing semicolon
13 years ago
halex
9b0e191138
cleanup of fill_baddynamic()
ok krw@
13 years ago
deraadt
f31ecbf0cc
random seed handling can now be done fairly early, well, as soon as
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
13 years ago
deraadt
d1eeef20be
Now that fill_baddynamic() is being called much earlier, it cannot use
grep in a NFS diskless environment. Found and fixed by Hugo Villeneuve
13 years ago
deraadt
60b39bc594
put aucat with network daemons for now, until a better solution is found
13 years ago
deraadt
c0a4179719
crank to 5.0
13 years ago
deraadt
27c88c69d2
move aucat very early, to cope with pkgs; ok aja
13 years ago
ajacoutot
1175d8bb0d
Zap rdate_flags, it's not used anymore.
ok deraadt@
13 years ago
david
f7915a69d7
fix ${pf} variable so that the special pflogd check works; ok deraadt@
13 years ago
david
f1649afe16
add ospfd ospf6d to RCDAEMONS so they get installed; ok deraadt@
13 years ago
david
dffadec31c
use correct spelling of ospf6d script; ok deraadt@
13 years ago
sthen
1fcd42b5d9
Start amd in /etc/amd so it can find maps in files. ok robert@
13 years ago
robert
8f3a158529
use a better regexp provided by guenther@
13 years ago
deraadt
61fad1001e
there is a usage case where ypldap can be used without the local
domainname being set. adjust the scripts to start it in that way.
discussed with pyr
13 years ago