Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Aug 2014 00:02:39 -0700
From:      David Benfell <benfell@parts-unknown.org>
To:        freebsd-questions@freebsd.org
Subject:   operation not permitted on entropy file
Message-ID:  <20140810070239.GA80734@home.parts-unknown.org>

next in thread | raw e-mail | index | archive | help

--tThc/1wpZn/ma/RB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello all,

I've continued to have serious problems with my server crashing, even
having identified and removed a bad memory card.

Now I see this....

----- Forwarded message from Cron Daemon <operator@mail.parts-unknown.org> =
-----

Date: Sat,  9 Aug 2014 23:11:00 -0700 (PDT)
=46rom: Cron Daemon <operator@mail.parts-unknown.org>
To: operator@mail.parts-unknown.org
Subject: Cron <operator@home> /usr/libexec/save-entropy

mv: rename saved-entropy.7 to saved-entropy.8: Operation not permitted

----- End forwarded message -----

and this:

Aug  9 23:08:58 home kernel: cat: /var/db/entropy/saved-entropy.7:
Input/output error
Aug  9 23:08:58 home kernel: Writing entropy file:.
Aug  9 23:08:58 home kernel: rm: /var/db/entropy/saved-entropy.7:
Operation not permitted

Something seems very much to have gone awry:

home# ls -al /var/db/entropy=20
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

Notice the group assigned to that saved-entropy.7 file. I assume the
ownership should be operator:operator, but I can't change it. I can't
remove it. I always get 'operation not permitted'.

Looking around on the Internet, I found a suggestion to do:

        chflags -R noschg

So I tacked the filename/path on the end of it, and ... still ... got
'operation not permitted'.

I assume this is getting in the way of something. Now what?

Thanks!

--=20
David Benfell <benfell@parts-unknown.org>
See https://parts-unknown.org/node/2 if you don't understand the
attachment.

--tThc/1wpZn/ma/RB
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJT5xkOAAoJEBV64x4SNmArqtwQAIDWIp2TeLr/dS83TKqwH7LW
Goc6L9nebNHUd3C41RnVnG6tKyVMeD3wZ5MrqwXUDCSJucE3CDQzx+ip62i9ARht
Ay6ZGz9ha2W+E8xqmUk5v44cXUnZxggOWc8kqmPNRmX6FRtLtLqiFljwz1j+c/S9
MKu75CZuIq5xIaetjs7MgIFzIilJKixXpAsq9C0XImVOl6iF564GznH58MxCB1LT
9noxiINrHI2/uC9MCeQxLSuua2HTQFBWgOgRTon3hTWmOonvC21esmxQ6fTLobfW
Rwk1VC5mz5ibAUKzHk2MqzSIE9/ainNWwra7k4o1bSBdrhY5IpQ3ozJmTnvHgORG
0F1z4XqD/plisscGyAZX7HmyOP/4hgcmP+G0D4FfE/s+C//B5zyNCfQEEwZoMfv0
qOgEBAMmfchtkmBvOSlFif1ODxeyaDDmde/N8DavcYal9TBGebpL8pNBrwPCBLw2
Vh/FJtoYCL+N2tYLJmcwuqdCWgT5AWzqInNMJk7MYFBB1W22br3x/EuPZZlrUlrY
AV8DzZccv+WiQdQ3Ic0s9lUgzMYgq53RfWCWUzcZiDZXthFn3lTi7RlHi30LipG9
kI3mUqwdvuKoRl9wabvVwppMpHsHbP/sju7A+LD+ou4SBlL4zsRNZF8uCq90329j
4IQ67i5WyTCuWaip/MUe
=7ZAb
-----END PGP SIGNATURE-----

--tThc/1wpZn/ma/RB--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140810070239.GA80734>