Red Hat Bugzilla – Bug 91097
Tmpwatch cannot handle multiple directories on command line
Last modified: 2007-04-18 12:53:49 EDT
Description of problem:
The tmpwatch documentation claims it can handle multiple directories on the
command line. It can't.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. cd /tmp
2. mkdir d1 d2
3. tmpwatch 240 d1 d2
error: lstat() of directory d2 failed: No such file or directory
I expected no complaints.
I do want to clean up multiple directories in /tmp/orbit-*,
and that seems to work as long as they aren't the relative path.
i.e. as in your example, this should be fine:
tmpwatch 240 /tmp/d1 /tmp/d2
This should be fixed in tmpwatch-2.9.1-1, to show up in rawhide shortly.