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.
signature.asc
Description: OpenPGP digital signature

