From owner-freebsd-questions@FreeBSD.ORG Sun Aug 10 10:31:29 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0E0B89A4 for ; Sun, 10 Aug 2014 10:31:29 +0000 (UTC) Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9E3F32415 for ; Sun, 10 Aug 2014 10:31:28 +0000 (UTC) Received: from slackbox.erewhon.home (slackbox.xs4all.nl [83.162.243.5]) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id s7AAVJZR074291; Sun, 10 Aug 2014 12:31:19 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.home (Postfix, from userid 1001) id ABA3812387; Sun, 10 Aug 2014 12:31:19 +0200 (CEST) Date: Sun, 10 Aug 2014 12:31:19 +0200 From: Roland Smith To: David Benfell Subject: Re: operation not permitted on entropy file Message-ID: <20140810103119.GA26958@slackbox.erewhon.home> Mail-Followup-To: David Benfell , freebsd-questions@freebsd.org References: <20140810070239.GA80734@home.parts-unknown.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline In-Reply-To: <20140810070239.GA80734@home.parts-unknown.org> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2014 10:31:29 -0000 --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 10, 2014 at 12:02:39AM -0700, David Benfell wrote: > Something seems very much to have gone awry: >=20 > home# ls -al /var/db/entropy > total 40 > drwx------ 2 operator operator 512 Aug 9 23:55 . > drwxr-xr-x 23 root wheel 1024 Aug 9 22:49 .. > -r-------- 1 operator operator 2048 Aug 9 23:55 > saved-entropy.1 > -r-------- 1 operator operator 2048 Aug 9 23:44 > saved-entropy.2 > -r-------- 23 operator 4194309 9308160 Aug 9 22:00 > saved-entropy.7 > home#=20 >=20 > Notice the group assigned to that saved-entropy.7 file. This looks like a classical example of filesystem corruption. If a filesystem isn't dismounted properly (e.g. because of a crash), you should get a warning during the next boot. And the system would run a filesystem check in "preen" mode (see fsck(8)). If it finds serious errors that cannot be repaired in preen mode, you should get an error message. As others have mentioned, run a full fsck of the filesystem that /var is on =66rom single user mode. Trying to make a backup in this state will probably not work. Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0) --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJT50n3AAoJEED21dyjijPgToYQAJfXA43MnOslYdA1KJLfClIA vrs8lhciRXSYAux3QzQDSUZyTNTHb9BKL59P2IA32DyLbbCWKrsm3WaIHQcrAgB3 9oOLgOWB27kH0TrCm6rGHzozlTMXAuuXKWZZ5fLla86pGbbChd/yK3kaYJB08uuL putwTc1ozk6wnMfndXa+mYOzYTplyazByWBkEvBmQrJFJmXlzBt6/5raBtPLy6ac KkIplCi65JbOZkwzSKbRwTyYsnEc22SmQLIK+BeOLm7HKpSNYLfkEnMCpx7ujSp5 Ba/G5A4rW6SJi3jdPR1IlGJPFFDITds/4B8kdRB6bSjjshC/Ak+apJLsQKlAzqSl j1J3/7AebpSF8WYcj+ghU1/Nu1mJ71Cz/mTsYQFur81eYykt64T2xsGRTJ/N9xzq msldmUJG1tbhwmdp9K3zEe6XljylXL5E+XATUkIuYzlGc1nFri1l9/I701t5KiX8 oE18dAGsHsiOIceDnlsFx5HTgjs1jDGj8hYVx/wMZKknZ1tQV0JtdsuPabVk4pzE bYvjj44r4HdqMwgkPQdTLupAvlS4u4IFqaaicPd3ztuDH+liHFXr8ECHWiUKJnIa jbFnqlotVj8ssQp2ztJmOReFJ1a/miKylJz+5+A6YE7oj+9gM/4AIs8xB4NWmzVW dfNSCrNY0h8WpbRnaUYJ =EA6Q -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6--