On Sat 26 Apr 2008, Robert Luberda wrote:
> 
> `infinity' and `inifinite' seem to be valid values for TMPTIME in
> /etc/default/rcS. At least /lib/init/bootclean.sh supports them.
> 
> However with such settings tmpreaper's cron/.daily job gives following 
> warning: 
> 
> /etc/cron.daily/tmpreaper: line 40: [: infinity: integer expression expected

Thanks for pointing this out.

What would in your opinion be the best thing for tmpreaper to do, when
presented with "infinity"?

- don't do anything
- ignore that value, and use whatever is defined in /etc/tmpreaper.conf
  If there is no value there, don't do anything.
  (Perhaps a warning message, so users can find out why tmpreaper is not
  doing anything? Don't install tmpreaper, if you don't want it to do
  anything...)

The second option would seem the sensible way to go, but I'm interested
what someone who has "infinity" there and has installed tmpreaper would
think.


Thanks,
Paul Slootman



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to