FreeBSd, Jails, Man, and Apropos

Marko Turk markoml at
Fri Jul 27 07:58:57 UTC 2018


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <>

More information about the freebsd-questions mailing list