deraadt
9fd93fdf64
welcome GENERIC.IP27 MP (dual cpu on O350 now)
ok visa
9 years ago
chl
0edf23d663
remove unused variable
ok tedu@
9 years ago
ajacoutot
2beb001665
Remove blank line for consistency with other rc.d scripts; no change in
behavior.
9 years ago
krw
d690be1bf1
mountd(8) changes require a pexp.
ok deraadt@
9 years ago
gsoares
a9b2bc5dde
add rcsid
9 years ago
sunil
83a87d3451
Now that default smtpd.conf aliases table has been switched to
'file' backend, we no longer have to generate the .db files.
Ok gilles@
9 years ago
sf
63d3463618
regen MAKEDEV
9 years ago
sf
afc2f24c19
add virtio-console driver
This patch adds a new driver for use of virtio-console devices as
ttys. It's still in an early state and not compiled by default, yet.
Currently it is only wired into amd64. i386 is still missing.
Discussed with uebayasi@, deraadt@
9 years ago
sf
6af539cb41
regen MAKEDEV
9 years ago
sunil
68066c2528
Switch to 'file' backend for aliases table for default configuration.
Ok gilles@ jung@ millert@
9 years ago
ajacoutot
b2419890c3
Revert, rc.d scripts have been fixed.
9 years ago
ajacoutot
27456e7c13
Comment the wait for start until I fix the x11 managers rc.d script.
9 years ago
ratchov
2377bf8149
Expose internal functions necessary to open audio devices and midi
ports using existing file descriptors.
9 years ago
reyk
0dc6f9d6e2
No need for an extra log.h
OK bcook@
9 years ago
deraadt
094b6ba06e
move to 5.9-beta
9 years ago
reyk
97252e04ad
Switch and sync to the log.c variant from httpd/relayd/iked/snmpd/vmd.
OK bcook@ jung@
9 years ago
ajacoutot
643ff62e07
After starting, unconditionally wait up to $daemon_timeout seconds to check that
the daemon is actually running (instead of only when using rc_bg).
This *may* trigger the following side effect: if a daemon starts then stops
right away (because of a config parsing issue for e.g.), then it will slow down
the boot process because rc will wait a bit before considering the start action
failed. But at least it will allow us to detect those daemons and fix them or
their rc.d(8) script.
At least as far as I can tell, all base daemons should cope with it just fine.
ok sthen@ robert@ on an earlier diff
9 years ago
reyk
b8496badea
Move log_sockaddr() to from log.c to util.c as it is a local addition
and actually not a "logging" function. No functional change.
9 years ago
ajacoutot
55908109a4
Child will not return a config parsing error to the parent so rc.d will lie and
tell you that the daemon succesfully started; prevent this by running a config
check first.
Note that we only do this for those particular daemons, not all that support a
config test mode.
ok benno@ phessler@
9 years ago
ajacoutot
da0a0680c3
Tidy up _rc_wait().
ok sthen@ robert@
9 years ago
ajacoutot
d156959a8d
Tweak pexp.
9 years ago
tb
90b17882f1
Simplify return call of rand() and rand_r() to make it easier to read.
This is slightly less robust, but RAND_MAX must be one below a power
of two in both variants anyway.
Based on a suggestion by Matthew Martin.
ok tedu@
9 years ago
ajacoutot
1e90611816
Drop the now useless multicast setup comment.
prodded by tim@, ok mpi@
9 years ago
ajacoutot
3628daa062
Simplify multicast option handling (10 less lines) by matching /etc/rc behavior
towards other YES|NO options and drop the error warning.
with and ok tim@, ok rpe@ on an earlier diff
9 years ago
ratchov
0dbf1530bb
Add _sndiop user and group for (future) privileged sndiod process.
ok deraadt
9 years ago
jturner
84f196c498
Add pexp match otherwise rcctl stop vmd doesn't work. OK deraadt@
9 years ago
sthen
e8c24d0335
add commented-out unbound.conf entries for dns64 (sitting in my tree and ok'd
some time ago by phessler and IIRC also mikeb), and for qname-minimisation
9 years ago
deraadt
d697a492aa
automatic HOSTALIASES setup is a bad idea
9 years ago
tedu
acb3665fb0
tiny sanity check on file size
9 years ago
bcook
a1172a2c6e
bump the major for libcrypto/ssl/tls for a CRYPTO_chacha_20 ABI change
ok jsing@, deraadt@, beck@
9 years ago
tb
a02ad43121
Add a cast to silence a compiler warning by clang on FreeBSD.
From Craig Rodrigues.
ok tedu@
9 years ago
deraadt
eb43e0a37f
vmm node only needs mode 600
9 years ago
tedu
1bd8c9e70f
Integrate two patches originally from Daniel Micay.
1. Optionally add random "canaries" to the end of an allocation. This
requires increasing the internal size of the allocation slightly, which
probably results in a large effective increase with current power of two
sizing. Therefore, this option is only enabled via 'C'.
2. When writing junk (0xdf) to freed chunks (current default behavior),
check that the junk is still intact when finally freeing the delayed chunk
to catch some potential use after free. This should be pretty cheap so
there's no option to control it separately.
ok deraadt tb
9 years ago
deraadt
c73606106c
libexec/smtpd dir no longer needed; ok gilles
9 years ago
sunil
fe815f777e
Use mailwrapper path instead of smtpd.
Ok tb@ jung@
9 years ago
reyk
67ade0d215
Previously forgot another /var in the comment
9 years ago
reyk
c107e6cdeb
/var/vm is a terrible idea, the images are filled on demand, they are
not backed by blocks until used.
So I'll use /home/vm instead.
Pointed out by deraadt@
9 years ago
reyk
07eac4e2f3
Add initial vm.conf(5) example. But please note that the grammar is
not fixed yet.
9 years ago
sunil
a1901af870
Now that makemap(8)/newaliases(8) are merged into smtpctl(8), update
the paths.
Ok gilles@, jung@
9 years ago
rpe
4281692bf7
Add missing rc bits for rebound.
rc-wise OK aja@ jasper@
9 years ago
ajacoutot
38163061a4
multicast_router -> multicast
9 years ago
mpi
d372622fa0
It does not make sense to insert a specific route for 224/4 when the
default one is good enough.
So merge rc.conf(8)'s 'multicast_router' and 'multicast_host' into a
single 'multicast'. If set to YES the reject route for 224/4 is not
inserted by netstart(8).
Manual bits from jmc@
ok henning@, ajacoutot@
9 years ago
claudio
d6e39ab1f4
EAGAIN handling for imsg_read. OK henning@ benno@
9 years ago
claudio
a3ecc333c4
Do not loop on EAGAIN in imsg_read(). Better to return the error to the
caller and let him do another poll loop. This fixes spinning relayd
processes seen on busy TLS relays. OK benno@ henning@
9 years ago
jasper
defd0fdf0b
add rcscript for vmd
ok mlarkin@
prompted by deraadt@
9 years ago
tedu
50650f2a7b
remove doas.conf since the permission check is too onerous.
the doas program itself will refuse to use an insecure config file.
(changelist will continue to watch for changes, as well.)
9 years ago
rpe
c3b3b643ef
Since version 1.467 of /etc/rc, it was no longer possible to add
shlib_dirs using /etc/rc.conf.local.
Fix from Jan Johansson, thanks.
OK krw@, halex@
9 years ago
deraadt
d6a94a221b
Send Aviion to same place as Nova II
9 years ago
deraadt
c12490e447
Send Aviion to same place as Nova II
discussed with jsg
9 years ago
deraadt
8808d80c07
create new independent uid/gid for tftp_proxy and ftp_proxy.
They should not share a uid. Leave the proxy uid for later mop-up
(sysmerge does not handle uid renamings well enough)
ok dlg, ok aja a while back
9 years ago