FreeBSd, Jails, Man, and Apropos
Marko Turk
markoml at markoturk.info
Fri Jul 27 07:58:57 UTC 2018
Hi,
On Thu, Jul 26, 2018 at 02:29:52PM -0400, James B. Byrne via freebsd-questions wrote:
> When I am logged into a jail and I use apropos to search the man pages
> I get this error:
>
> # apropos dnssec
> apropos: file is encrypted or is not a database
>
> Running makewhatis returns what is no doubt a related error:
>
> # makewhatis
> /basejail/usr/share/man//mandoc.db:
> Data changed, but cannot replace database
> /basejail/usr/share/openssl/man//mandoc.db:
> Data changed, but cannot replace database
You're using basejail and probably mount it read-only in the jail.
That's why you can't change this file.
This is the setup that ezjail also uses and mandoc in ezjail gets
updated when you do 'ezjail-admin update -i'. I think installworld calls
makewhatis automatically.
BR,
Marko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20180727/2f8abb52/attachment.sig>
More information about the freebsd-questions
mailing list