Hello,

this bug report is now twelve years old.

As Christian Kastner proposed a reasonable workaround for xavier
renaut's use case, and as xavier renaut sent no reply for many years, I
close this bug report.

Best regards,                   Georges.

Christian Kastner a écrit :
> Hi,
> 
> On 2011-10-31 15:32, xavier renaut wrote:
> > I  hard link /etc/crontab to track it under svn, but 
> > to have the checkout somewhere else than /etc/
> > 
> > So /etc/crontab has 2 hardlinks,
> > and cron is now complaining about it :
> > Oct  3 09:35:01 natch /usr/sbin/cron[3878]: (*system*) NUMBER OF HARD LINKS 
> > > 1 (/etc/crontab)
> >
> > Is there something to do ? or the security gain is too high for this to be 
> > fixed ?
> 
> I'm afraid it's the latter; we can't allow that for security reasons.
> 
> What you could do is make /etc/crontab a symlink to the file in svn. The
> symlink owner must be root, see cron(8).
> 
> Christian
> 
> PS: Personally, I can highly recommend the use a configuration
> management system such as puppet or cfengine. etckeeper might also be of
> interest to you.
> 
> 



-- 
Georges KHAZNADAR et Jocelyne FOURNIER
22 rue des mouettes, 59240 Dunkerque France.
Téléphone +33 (0)3 28 29 17 70

Attachment: signature.asc
Description: PGP signature

Reply via email to