Problems with periodic scripts in jails [Cron <operator@sosai> /usr/libexec/save-entropy]

Josef Karthauser joe at FreeBSD.org
Wed Jun 2 14:01:49 GMT 2004


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. =================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040602/17f76556/attachment-0001.bin


More information about the freebsd-current mailing list