svn commit: r382829 - in head/dns: bind910 bind910/files bind99 bind99/files
Mathieu Arnold
mat at FreeBSD.org
Tue Mar 31 15:03:01 UTC 2015
Author: mat
Date: Tue Mar 31 15:02:59 2015
New Revision: 382829
URL: https://svnweb.freebsd.org/changeset/ports/382829
QAT: https://qat.redports.org/buildarchive/r382829/
Log:
Enhance the error message when running from a jail without devfs.
Sponsored by: Absolight
Modified:
head/dns/bind910/Makefile
head/dns/bind910/files/named.in
head/dns/bind99/Makefile
head/dns/bind99/files/named.in
Modified: head/dns/bind910/Makefile
==============================================================================
--- head/dns/bind910/Makefile Tue Mar 31 14:56:27 2015 (r382828)
+++ head/dns/bind910/Makefile Tue Mar 31 15:02:59 2015 (r382829)
@@ -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}
Modified: head/dns/bind910/files/named.in
==============================================================================
--- head/dns/bind910/files/named.in Tue Mar 31 14:56:27 2015 (r382828)
+++ head/dns/bind910/files/named.in Tue Mar 31 15:02:59 2015 (r382829)
@@ -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
Modified: head/dns/bind99/Makefile
==============================================================================
--- head/dns/bind99/Makefile Tue Mar 31 14:56:27 2015 (r382828)
+++ head/dns/bind99/Makefile Tue Mar 31 15:02:59 2015 (r382829)
@@ -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
Modified: head/dns/bind99/files/named.in
==============================================================================
--- head/dns/bind99/files/named.in Tue Mar 31 14:56:27 2015 (r382828)
+++ head/dns/bind99/files/named.in Tue Mar 31 15:02:59 2015 (r382829)
@@ -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
More information about the svn-ports-head
mailing list