From owner-freebsd-questions@freebsd.org Fri Jul 27 07:58:57 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BB5101041088 for ; Fri, 27 Jul 2018 07:58:57 +0000 (UTC) (envelope-from markoml@markoturk.info) Received: from vps.markoturk.info (vps.markoturk.info [95.154.208.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 539198A47D for ; Fri, 27 Jul 2018 07:58:57 +0000 (UTC) (envelope-from markoml@markoturk.info) Received: from vps.markoturk.info (localhost [127.0.0.1]) by vps.markoturk.info (Postfix) with ESMTPS id 693D62DE70 for ; Fri, 27 Jul 2018 09:58:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=markoturk.info; s=s1024; t=1532678328; bh=WQ5a9IwP0lwDRNwOkkzm+T2LxCcUE6qP5wDkb9EPpN0=; h=Date:From:To:Subject:References:In-Reply-To; b=bhsEjgWK1Tm9C9l7xGuHJDbLs0fovO/kmnfl4G4zu/+0Yu+UIacvBbLyjrUGCRJLw ZTxhYxuRrZzSSPSSO7pduqX9zDqX7XaqR9eJ5+/hXfZBYCEX30vMjjzpCi3J3IyrP+ O2TfMGhjHwCHJ38agKMhiWN2zi0qxV1RdX8UNaiM= Date: Fri, 27 Jul 2018 09:58:43 +0200 From: Marko Turk To: "James B. Byrne via freebsd-questions" Subject: Re: FreeBSd, Jails, Man, and Apropos Message-ID: <20180727075843.GA26090@vps.markoturk.info> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2018 07:58:57 -0000 --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Thu, Jul 26, 2018 at 02:29:52PM -0400, James B. Byrne via freebsd-questi= ons wrote: > When I am logged into a jail and I use apropos to search the man pages > I get this error: >=20 > # apropos dnssec > apropos: file is encrypted or is not a database >=20 > Running makewhatis returns what is no doubt a related error: >=20 > # 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 --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEhcgjUnLArcQCyVEgeDpsXaaozYgFAlta0LEACgkQeDpsXaao zYhcxQ/9Fs63KviQUh4z3Z4/mzwCZCY33J3JfgiQy2KJoyS8Yv70tmCxzKla00GS 1eDcqaiV67YK99eyz/+btVtMocZPodtPtFlZegc4KtPnP3e2DF0lqYg2adMKu6LF Z+OaXFrqRm5cg59/iKFjrYjC1VvFyLURLsShBnsnqiXk1+2KALyK3HHoKf8dZyBp /hmDbjqveczQ1qDDojAD3y3jfxx607lro9m3feYwbxUkW2PIU/7KDPA4ZPwcu1ay ldhRVIv7FNl1VOaW0kbSoARXT5MZBFraILwUBGi6a3bpw+Yda/DJmOYEuEJKuhti 0s+yjIRI3TgF38ZifxGperveTemlp31ZxOdqvr8ERgzBuDXUpu7wKY457YMoCj6Z 8RUKH3WkNYRgk9ySU7xzZ6tlvLI/15EX8tiyplgBl0wYlo48texhHn7lxiU9xf7X cdEAZpspZPZPHv5xg3kn7HnQuCw010zYwnpVq35IY7uYGHv6sBUfWY+3Rg/8oDhW 0C3S6pnCFr5l4d+q8TRA/CgE/JoSO6ozSnnJNH7AABaCZljsbHECVD9tef52TtFe I2fo5SfeUVhWh+HQ7f/I6YZ9M8ltPxUskYkYo+NArl4OK3i7M9moEn6XNVKh++bj ZZfwvJGMDBivMRW9D/wSfwPX+5cC8JYJhd/ITYCpetnFaTuwEco= =X4bw -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G--