Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 53327

Summary: spurius mail to root when /var/cache/man/X11R6/cat? missing
Product: [Retired] Red Hat Linux Reporter: Bowe Strickland <bowe>
Component: tmpwatchAssignee: Preston Brown <pbrown>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: low    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-09-06 19:10:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bowe Strickland 2001-09-06 19:10:00 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-2 i686)

Description of problem:
Because glob in /etc/cron.daily/tmpwatch misses, bash passes ? into
tmpwatch, and tmpwatch generates error
message for nonexistant /var/cache/man/X11R6/cat\?.  

received one/day in root's mail:

>> Date: Thu, 6 Sep 2001 15:20:31 -0400
>> From: root <root>
>> To: root.com
>> Subject: tmpwatch error
>> 
>> /etc/cron.daily/tmpwatch:
>> 
>> error: lstat() of directory /var/cache/man/X11R6/cat? failed: No such
file or directory


suggested fix:

[ -d /var/cache/man/X11R6 ] && ... (or something like)

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


How reproducible:
Always

Steps to Reproduce:
1. up2date updated man rpm to man-1.5i2-0.7x, removing directories and
causing problems 
2.
3.
	

Actual Results:  /etc/cron.daily/tmpwatch began generating spurius mail

Additional info:

Comment 1 Preston Brown 2001-09-06 19:24:44 UTC

*** This bug has been marked as a duplicate of 47784 ***