diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-06-01 10:13:58 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-06-01 10:13:58 +0000 |
commit | 3f0ba6f8203d3fbeee6832e6ccba0c598afa66a2 (patch) | |
tree | 068cf9de22ae190b59cf3ccafc272c86f4f57d5c /dns | |
parent | 21346d5316fa98888daad771add5bc3dbd1d1997 (diff) |
Make BIND start a bit later (and really *after* ldconfig.) [1]
Add an option to have it start way later.
PR: 200375 [1]
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=388211
Diffstat (limited to 'dns')
-rw-r--r-- | dns/bind910/Makefile | 10 | ||||
-rw-r--r-- | dns/bind910/files/named.in | 4 | ||||
-rw-r--r-- | dns/bind910/pkg-help | 6 | ||||
-rw-r--r-- | dns/bind99/Makefile | 10 | ||||
-rw-r--r-- | dns/bind99/files/named.in | 4 | ||||
-rw-r--r-- | dns/bind99/pkg-help | 6 |
6 files changed, 32 insertions, 8 deletions
diff --git a/dns/bind910/Makefile b/dns/bind910/Makefile index e337e6abca7c..863a4890f8eb 100644 --- a/dns/bind910/Makefile +++ b/dns/bind910/Makefile @@ -8,7 +8,7 @@ PORTVERSION= ${ISCVERSION:S/-P/P/} PORTREVISION= 0 .else # dns/bind910 here -PORTREVISION= 4 +PORTREVISION= 5 .endif CATEGORIES= dns net ipv6 MASTER_SITES= ISC/bind9/${ISCVERSION} @@ -50,7 +50,7 @@ SUB_FILES= pkg-message .endif OPTIONS_DEFAULT= IPV6 SSL THREADS SIGCHASE IDN GSSAPI_NONE -OPTIONS_DEFINE= IDN LARGE_FILE PYTHON \ +OPTIONS_DEFINE= IDN LARGE_FILE PYTHON START_LATE \ FIXED_RRSET SIGCHASE IPV6 THREADS FILTER_AAAA OPTIONS_RADIO= CRYPTO GOSTDEF OPTIONS_RADIO_CRYPTO= SSL NATIVE_PKCS11 @@ -80,6 +80,7 @@ GOSTDEF_DESC= Enable GOST ciphers, needs SSL (see help on 8 and 9) GOST_DESC= GOST raw keys (new default) GOST_ASN1_DESC= GOST using ASN.1 PYTHON_DESC= Build with Python utilities +START_LATE_DESC= Start BIND late in the boot process LINKS_DESC= Create conf file symlinks in ${PREFIX} NEWSTATS_DESC= Enable alternate xml statistics channel format @@ -156,6 +157,11 @@ DLZ_FILESYSTEM_CONFIGURE_ON= --with-dlz-filesystem=yes DLZ_STUB_CONFIGURE_ON= --with-dlz-stub=yes +START_LATE_SUB_LIST= NAMED_REQUIRE="SERVERS cleanvar" \ + NAMED_BEFORE="LOGIN" +START_LATE_SUB_LIST_OFF=NAMED_REQUIRE="NETWORKING ldconfig syslogd" \ + NAMED_BEFORE="SERVERS" + GSSAPI_BASE_USES= gssapi GSSAPI_BASE_CONFIGURE_ON= \ --with-gssapi=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS} diff --git a/dns/bind910/files/named.in b/dns/bind910/files/named.in index 94fa4ce35857..cd809f5173c9 100644 --- a/dns/bind910/files/named.in +++ b/dns/bind910/files/named.in @@ -4,8 +4,8 @@ # # PROVIDE: named -# REQUIRE: FILESYSTEMS defaultroute ldconfig -# BEFORE: NETWORKING +# REQUIRE: %%NAMED_REQUIRE%% +# BEFORE: %%NAMED_BEFORE%% # KEYWORD: shutdown # diff --git a/dns/bind910/pkg-help b/dns/bind910/pkg-help index 2b1f1ee0eb8d..aa85330b21d7 100644 --- a/dns/bind910/pkg-help +++ b/dns/bind910/pkg-help @@ -22,3 +22,9 @@ either copying content of /usr/local/lib/engines into /var/named/usr/local/lib/engines, or by creating that directory and adding this line to /etc/fstab: /usr/local/lib/engines /var/named/usr/local/lib/engines nullfs ro 0 0 + + + START_LATE +Most of the time, BIND needs to start early in the boot +process. Enable this if BIND starts too early for you and +you need it to start later. diff --git a/dns/bind99/Makefile b/dns/bind99/Makefile index 88dda643bbda..bead4d26800d 100644 --- a/dns/bind99/Makefile +++ b/dns/bind99/Makefile @@ -3,7 +3,7 @@ PORTNAME= bind PORTVERSION= ${ISCVERSION:S/-P/P/} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= dns net ipv6 MASTER_SITES= ISC/bind9/${ISCVERSION} PKGNAMESUFFIX= 99 @@ -43,7 +43,7 @@ SUB_FILES= pkg-message OPTIONS_DEFAULT= IPV6 SSL THREADS SIGCHASE IDN GSSAPI_NONE RRL OPTIONS_DEFINE= SSL IDN REPLACE_BASE LARGE_FILE FIXED_RRSET SIGCHASE \ - IPV6 THREADS FILTER_AAAA GOST PYTHON \ + IPV6 THREADS FILTER_AAAA GOST PYTHON START_LATE \ LINKS RPZ_NSIP RPZ_NSDNAME RRL DOCS RPZ_PATCH NEWSTATS OPTIONS_GROUP= DLZ OPTIONS_GROUP_DLZ= DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \ @@ -61,6 +61,7 @@ SIGCHASE_DESC= dig/host/nslookup will do DNSSEC validation FILTER_AAAA_DESC= Enable filtering of AAAA records GOST_DESC= Enable GOST ciphers, needs SSL (see help on 8 and 9) PYTHON_DESC= Build with Python utilities +START_LATE_DESC= Start BIND late in the boot process LINKS_DESC= Create conf file symlinks in ${PREFIX} NEWSTATS_DESC= Enable alternate xml statistics channel format @@ -131,6 +132,11 @@ DLZ_FILESYSTEM_CONFIGURE_ON= --with-dlz-filesystem=yes DLZ_STUB_CONFIGURE_ON= --with-dlz-stub=yes +START_LATE_SUB_LIST= NAMED_REQUIRE="SERVERS cleanvar" \ + NAMED_BEFORE="LOGIN" +START_LATE_SUB_LIST_OFF=NAMED_REQUIRE="NETWORKING ldconfig syslogd" \ + NAMED_BEFORE="SERVERS" + GSSAPI_BASE_USES= gssapi GSSAPI_BASE_CONFIGURE_ON= \ --with-gssapi=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS} diff --git a/dns/bind99/files/named.in b/dns/bind99/files/named.in index da1c333e4641..fbf61cdb11db 100644 --- a/dns/bind99/files/named.in +++ b/dns/bind99/files/named.in @@ -4,8 +4,8 @@ # # PROVIDE: named -# REQUIRE: FILESYSTEMS defaultroute ldconfig -# BEFORE: NETWORKING +# REQUIRE: %%NAMED_REQUIRE%% +# BEFORE: %%NAMED_BEFORE%% # KEYWORD: shutdown # diff --git a/dns/bind99/pkg-help b/dns/bind99/pkg-help index b1ce5c512910..55cdb63c117c 100644 --- a/dns/bind99/pkg-help +++ b/dns/bind99/pkg-help @@ -6,3 +6,9 @@ either copying content of /usr/local/lib/engines into /var/named/usr/local/lib/engines, or by creating that directory and adding this line to /etc/fstab: /usr/local/lib/engines /var/named/usr/local/lib/engines nullfs ro 0 0 + + + START_LATE +Most of the time, BIND needs to start early in the boot +process. Enable this if BIND starts too early for you and +you need it to start later. |