Bug 214034 - tmpwatch complains about non-existen directories
tmpwatch complains about non-existen directories
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: tmpwatch (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Miloslav Trmač
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-04 16:39 EST by Michal Jaegermann
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 2.9.10-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-11-04 20:53:37 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Michal Jaegermann 2006-11-04 16:39:25 EST
Description of problem:

After an update to tmpwatch-2.9.9-1 a tmpwatch run on /tmp in
/etc/cron.daily/tmpwatch bails out with:

error: cannot resolve /tmp/.XIM-unix: No such file or directory

A check with strace shows that after this error truly terminates
this invocation.  In such case something like that is needed in
/etc/cron.daily/tmpwatch to make it somewhat useful:

skiplist="
/tmp/.X11-unix
/tmp/.XIM-unix
/tmp/.font-unix
/tmp/.ICE-unix
/tmp/.Test-unix
"

skipopts=$( for d in ${skiplist} ; do
   [ -d $d ] && echo -n " -x $d"
done )

/usr/sbin/tmpwatch ${skipopts} 10d /tmp

After such changes it will work.

Version-Release number of selected component (if applicable):
tmpwatch-2.9.9-1

How reproducible:
always
Comment 1 Miloslav Trmač 2006-11-04 20:53:37 EST
Oops, I should have noticed this.  Fixed in rawhide tmpwatch-2.9.10.

Thanks for your report.

Note You need to log in before you can comment on or make changes to this bug.