Date: Sun, 10 Aug 2014 12:31:19 +0200 From: Roland Smith <rsmith@xs4all.nl> To: David Benfell <benfell@parts-unknown.org> Cc: freebsd-questions@freebsd.org Subject: Re: operation not permitted on entropy file Message-ID: <20140810103119.GA26958@slackbox.erewhon.home> In-Reply-To: <20140810070239.GA80734@home.parts-unknown.org> References: <20140810070239.GA80734@home.parts-unknown.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140810103119.GA26958>