Problem installing bind in jail

Da Rock freebsd-questions at herveybayaustralia.com.au
Fri Apr 6 00:54:07 UTC 2012


On 04/06/12 03:24, bsd wrote:
> Hi,
>
> I have followed the tutorial provided in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-application.html
> I have now five jails up and running and I am very happy with the system.
>
> One of my jail is acting as an important DNS server and It needs to be up to date.
>
> I have decided to recompile bind in the latest version and I am running into a problem which is caused by bind port not following the FreeBSD requisites and trying to install things in /usr/include/isc
>
>
> making all in /s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/x86_32
> making all in /s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/x86_32/include
> making all in /s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/x86_32/include/isc
> making install in /s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/include
> making all in /s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/include/isc
> making install in /s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/include/isc
> /bin/sh ../../../../mkinstalldirs /usr/include/isc
> mkdir /usr/include/isc
> mkdir: /usr/include/isc: Read-only file system
> *** Error code 1
>
> Stop in /s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/include/isc.
> […]
>
>
>
> I am not certain of the path I should take to solve this issue…
> Most probably I should simlink from the RO part of the system to the RW… but I am not 100% sure how to proceed.
>
>
> Why is ISC trying to setup things in this location and not on /usr/local/include/ ?
>
>
> I think I would need to simlink from the RO portion of the system /usr/include/isc to /usr/local/include/isc but I am not certain how to proceed.
Assuming your replacing the base version, you cannot use symlinks but 
you can use a nullfs mount. You can make any part RW this way as long as 
its a directory.

As Matthew pointed out, all is in order here. No rule breaks happening... :)


More information about the freebsd-questions mailing list