Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Apr 2012 10:53:58 +1000
From:      Da Rock <freebsd-questions@herveybayaustralia.com.au>
To:        freebsd-questions@freebsd.org
Subject:   Re: Problem installing bind in jail
Message-ID:  <4F7E3EA6.1050303@herveybayaustralia.com.au>
In-Reply-To: <47BE4A7A-E5E4-498B-A994-9CC331D3CA85@todoo.biz>
References:  <47BE4A7A-E5E4-498B-A994-9CC331D3CA85@todoo.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
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... :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F7E3EA6.1050303>