[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
System/version specific rc.d scripts?
Sorry if I am missing something obvious (I am bad at pkgsrc compatibility):
in netbsd-8 and newer we need to wait for the "tentative" flag on
network addresses to clear before we can bind a socket to that address.
Some deamons (mostly those dealing with interfaces coming and going)
deal with that via routing messages themselves, but some have a very
limited (and fixed) set of addresses/interfaces configured. NSD is one
of the latter.
This fails for me when starting nsd from pkgsrc on every boot on my primary
DNS. The fix is simple, but it likely is NetBSD (and 8.0 or newer) specific.
How is this most easily handled in the pkg?
--- nsd 2019-08-04 10:35:49.988425697 +0200
+++ /usr/pkg/share/examples/rc.d/nsd 2018-12-28 11:03:27.000000000 +0100
@@ -18,7 +18,6 @@
- ifconfig -w 30
if [ ! -d /var/run/nsd ]; then
/bin/mkdir -p /var/run/nsd
/bin/chmod 0750 /var/run/nsd
Main Index |
Thread Index |