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
robert
4d6d5b5e7e
unset amd_flags so that backward compat (amd=YES) works
13 years ago
deraadt
e3e5833bdb
we need ypldap_flags=NO by default
13 years ago
halex
0752b380a5
tee the output from rc.firsttime to /dev/tty before passing it to mail(1)
so we can enjoy it on the screen as well
ok deraadt@
13 years ago
deraadt
11d112d0da
re-add ospfd/ospf6d support which got lost, and build scripts for them
13 years ago
deraadt
56934b0dc5
early daemons fit on a line
13 years ago
robert
e6caed4cbf
move the pflog0 setup to the pflogd script and only
do that if pf is actually enabled (rely on pfctl -si)
requested by deraadt@
13 years ago
ajacoutot
f9e2216c4d
Sort RC_DAEMONS.
ok robert@
13 years ago
robert
f1179a1b33
add license, ok ajacoutot@, deraadt@
13 years ago
ajacoutot
76c394ad71
Remove outdated comment.
ok robert@ deraadt@
13 years ago
ajacoutot
6127eee214
Forgot to commit that part yesterday, spotted by sthen@
13 years ago
deraadt
8bad19509b
simplify, shorten, and "subtly and cleverly" rearrange some daemon
startups according to rules that some of us understand. it may come of
sounding cocky, but any step beyond that would end up with a dependency
graph which will never happen. this file is now ~60% of the length a
week ago.
ok guenther, robert, aja and people who will not test it until it is in
13 years ago
ajacoutot
dda2d603b7
We unconditionnally add -l to the daemon_flags, so fix our pexp
accordingly.
ok robert@
13 years ago
robert
1593f7f2a8
fix boot output and make sure spamlogd is only started when needed
13 years ago
ajacoutot
2b61e3d55f
Cleanups and fixes.
ok robert@
13 years ago
robert
8cdc8eb386
Switch amd and spamlogd to rc scripts and make sure that the
rc_pre() functions are returning correctly. This change
also simplyfies the changes because false || return 1 can be replaced
with false if that's the last call. thanks halex@!
13 years ago
deraadt
250fc02d80
Small bits of fluff before the final re-organization
ok halex
13 years ago
deraadt
8aa252b3a2
ARGH! the third part: socket handling cleanup
13 years ago
deraadt
a4d5d79e92
Oops, the second half of moving the key chunks
13 years ago
deraadt
24135a5a5d
Move various bits of key generation in rc into one function, which we
can run surprisingly early. Move the X socket directory creation code
into a function too.
robert liked it
13 years ago