operation not permitted on entropy file

Roland Smith rsmith at xs4all.nl
Sun Aug 10 10:31:29 UTC 2014


On Sun, Aug 10, 2014 at 12:02:39AM -0700, David Benfell wrote:
> Something seems very much to have gone awry:
> 
> 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# 
> 
> 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
from single user mode.

Trying to make a backup in this state will probably not work.


Roland
-- 
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20140810/f371cb99/attachment.sig>


More information about the freebsd-questions mailing list