From owner-freebsd-questions@FreeBSD.ORG Sun Aug 10 07:02:47 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 4BF36495 for ; Sun, 10 Aug 2014 07:02:47 +0000 (UTC) Received: from mail.parts-unknown.org (home.parts-unknown.org [50.250.218.161]) (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 2E7D52EF5 for ; Sun, 10 Aug 2014 07:02:46 +0000 (UTC) Received: from mail.parts-unknown.org (unknown [127.0.0.1]) by mail.parts-unknown.org (Postfix) with ESMTP id 65CD4598CDCF for ; Sun, 10 Aug 2014 00:02:39 -0700 (PDT) Received: by mail.parts-unknown.org (Postfix, from userid 1001) id 491C8598CDCC; Sun, 10 Aug 2014 00:02:39 -0700 (PDT) Date: Sun, 10 Aug 2014 00:02:39 -0700 From: David Benfell To: freebsd-questions@freebsd.org Subject: operation not permitted on entropy file Message-ID: <20140810070239.GA80734@home.parts-unknown.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: ClamAV using ClamSMTP on home.parts-unknown.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 07:02:47 -0000 --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 = ----- Date: Sat, 9 Aug 2014 23:11:00 -0700 (PDT) =46rom: Cron Daemon To: operator@mail.parts-unknown.org Subject: Cron /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 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--