aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-03-31 15:02:59 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-03-31 15:02:59 +0000
commit79c5baadd0302d3ce188131d36ee86ffd9c66359 (patch)
treedfd982d301b58024cc7eb9dc7b515c03c27b91f7
parent1957589cb69c89e452a6b78f92373662f02a8b74 (diff)
Enhance the error message when running from a jail without devfs.
Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=382829
-rw-r--r--dns/bind910/Makefile2
-rw-r--r--dns/bind910/files/named.in11
-rw-r--r--dns/bind99/Makefile2
-rw-r--r--dns/bind99/files/named.in11
4 files changed, 14 insertions, 12 deletions
diff --git a/dns/bind910/Makefile b/dns/bind910/Makefile
index 88288e8f502c..a6d7f635ee3b 100644
--- a/dns/bind910/Makefile
+++ b/dns/bind910/Makefile
@@ -7,7 +7,7 @@ PORTVERSION= ${ISCVERSION:S/-P/P/}
PORTREVISION= 0
.else
# dns/bind910 here
-PORTREVISION= 1
+PORTREVISION= 2
.endif
CATEGORIES= dns net ipv6
MASTER_SITES= ISC/bind9/${ISCVERSION}
diff --git a/dns/bind910/files/named.in b/dns/bind910/files/named.in
index 6b2e48bf6de4..b5a0fdbd2158 100644
--- a/dns/bind910/files/named.in
+++ b/dns/bind910/files/named.in
@@ -130,11 +130,12 @@ chroot_autoupdate()
-c ${named_chrootdir}/dev/random ]; then
info "named chroot: using pre-mounted devfs."
else
- err 1 "named chroot: devfs cannot be mounted from" \
- "within a jail. Thus a chrooted named cannot" \
- "be run from within a jail." \
- "To run named without chrooting it, set" \
- "named_chrootdir=\"\" in /etc/rc.conf."
+ err 1 "named chroot: devfs cannot be mounted from " \
+ "within a jail. Thus a chrooted named cannot " \
+ "be run from within a jail. Either mount the " \
+ "devfs with null and random from the host, or " \
+ "run named without chrooting it, set" \
+ "named_chrootdir=\"\" in /etc/rc.conf."
fi
fi
diff --git a/dns/bind99/Makefile b/dns/bind99/Makefile
index 033595690aff..a35a227147a4 100644
--- a/dns/bind99/Makefile
+++ b/dns/bind99/Makefile
@@ -2,7 +2,7 @@
PORTNAME= bind
PORTVERSION= ${ISCVERSION:S/-P/P/}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= dns net ipv6
MASTER_SITES= ISC/bind9/${ISCVERSION}
PKGNAMESUFFIX= 99
diff --git a/dns/bind99/files/named.in b/dns/bind99/files/named.in
index 6b9d5871da90..f3359b705c49 100644
--- a/dns/bind99/files/named.in
+++ b/dns/bind99/files/named.in
@@ -128,11 +128,12 @@ chroot_autoupdate()
-c ${named_chrootdir}/dev/random ]; then
info "named chroot: using pre-mounted devfs."
else
- err 1 "named chroot: devfs cannot be mounted from" \
- "within a jail. Thus a chrooted named cannot" \
- "be run from within a jail." \
- "To run named without chrooting it, set" \
- "named_chrootdir=\"\" in /etc/rc.conf."
+ err 1 "named chroot: devfs cannot be mounted from " \
+ "within a jail. Thus a chrooted named cannot " \
+ "be run from within a jail. Either mount the " \
+ "devfs with null and random from the host, or " \
+ "run named without chrooting it, set " \
+ "named_chrootdir=\"\" in /etc/rc.conf."
fi
fi