From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 07:01:49 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CB2416A4CE for ; Wed, 2 Jun 2004 07:01:49 -0700 (PDT) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8E2D43D48 for ; Wed, 2 Jun 2004 07:01:48 -0700 (PDT) (envelope-from joe@tao.org.uk) Received: by genius.tao.org.uk (Postfix, from userid 100) id 1FBCB4257; Wed, 2 Jun 2004 15:01:48 +0100 (BST) Date: Wed, 2 Jun 2004 15:01:48 +0100 From: Josef Karthauser To: Mark Murray Message-ID: <20040602140148.GA27036@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , Mark Murray , current@FreeBSD.ORG References: <20040602134523.GA26835@genius.tao.org.uk> <200406021357.i52DvCIn002903@grimreaper.grondar.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <200406021357.i52DvCIn002903@grimreaper.grondar.org> User-Agent: Mutt/1.5.6i cc: current@FreeBSD.ORG Subject: Re: Problems with periodic scripts in jails [Cron /usr/libexec/save-entropy] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 14:01:49 -0000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 02, 2004 at 02:57:12PM +0100, Mark Murray wrote: > Josef Karthauser writes: > > I'm getting some wierd emails from a jail (5.2.1) that I've got running. > > It appears that permissions are messed up periodically. >=20 > Hmmm. >=20 > > mv: /var/db/entropy/saved-entropy.7: No such file or directory > > mv: /var/db/entropy/saved-entropy.5: No such file or directory > > override r-------- operator/operator for /var/db/entropy/saved-entropy= =2E5? =3D > > (y/n [n]) not overwritten > > override r-------- operator/operator for /var/db/entropy/saved-entropy= =2E4? =3D > > (y/n [n]) not overwritten > > override r-------- operator/operator for /var/db/entropy/saved-entropy= =2E3? =3D > > (y/n [n]) not overwritten > > override r-------- operator/operator for /var/db/entropy/saved-entropy= =2E2? =3D > > (y/n [n]) not overwritten >=20 > Not the answer you are looking for, but the entropy cronjob is an example > of the type of cronjob that IMVHO should not be run in jails. >=20 Probably not :) The point is though that there is no reason why we should be getting permission errors here, save some kind of race condition. Joe --=20 Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/ FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/ Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An eclectic mix of fact an= d theory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iEYEARECAAYFAkC93csACgkQXVIcjOaxUBYdXwCglCknsI3/G97r69cpeokFUNqZ MBgAoK6QRpb6Zj7nOPxf9FTPeZaYj6uB =kQAS -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--