From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010701 Description of problem: I get "error: lstat() of directory /var/cache/man/X11R6/cat? failed: No such file or directory" when running /etc/cron.daily/tmpwatch. This problem stated after upgrading to man-1.5i2-0.7x How reproducible: Always Steps to Reproduce: 1. rpm -Uvh man-1.5i2-0.7x.i386.rpm 2. /etc/cron.daily/tmpwatch Actual Results: error: lstat() of directory /var/cache/man/X11R6/cat? failed: No such file or directory Expected Results: No error Additional info:
Created attachment 24127 [details] Replacement /etc/cron.daily/tmpwatch
Created attachment 24130 [details] Replacement /etc/cron.daily/tmpwatch (fixed)
The problem is caused by an attempt to use the ? wildcard to match directories that don't exist. (When this happens, the question mark is left in the parameter unchanged.) In this case, the check for the existence of / var/cache/man is insufficient (on my machine, that directory only contains the whatis file). The second attachment is a replacement /etc/cron.daily/tmpwatch. It solves the problem by filtering out the entries that contain a ?. The attachment prior to that is a buggy, older version. Whoops, sorry. ^_^;
*** This bug has been marked as a duplicate of 47784 ***