Re: Problems with periodic scripts in jails [Cron <operator_at_sosai> /usr/libexec/save-entropy]

From: Josef Karthauser <joe_at_FreeBSD.org>
Date: Wed, 2 Jun 2004 15:01:48 +0100
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.
> 
> Hmmm.
> 
> > 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.5? =
> > (y/n [n]) not overwritten
> > override r--------  operator/operator for /var/db/entropy/saved-entropy.4? =
> > (y/n [n]) not overwritten
> > override r--------  operator/operator for /var/db/entropy/saved-entropy.3? =
> > (y/n [n]) not overwritten
> > override r--------  operator/operator for /var/db/entropy/saved-entropy.2? =
> > (y/n [n]) not overwritten
> 
> 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.
> 

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
-- 
Josef Karthauser (joe_at_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/
================ An eclectic mix of fact and theory. =================

Received on Wed Jun 02 2004 - 05:01:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:55 UTC