Bug 54566 - tmpwatch generates mail reporting error due to script error
Summary: tmpwatch generates mail reporting error due to script error
Status: CLOSED DUPLICATE of bug 47784
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: tmpwatch
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Preston Brown
QA Contact: Ben Levenson
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-10-12 15:38 UTC by bebryant
Modified: 2007-04-18 16:37 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2001-10-15 00:27:09 UTC


Attachments (Terms of Use)

Description bebryant 2001-10-12 15:38:10 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.2-2 i586)

Description of problem:
Gratuitous mail to root is generated when tmpwatch in run (under anacron)
if certain directories do not exist.  Due to a script error in
/etc/cron.daily/tmpwatch.

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


How reproducible:
Always

Steps to Reproduce:
1.Happens when anacron runs in absence of e.g.  "/var/cache/man/X11R6/cat?"
2.
3.
	

Actual Results:  root gets mail listing error.

Expected Results:  should be no error

Additional info:

change the script:

for foo in X11R6/cat?  cat?  local/cat?
do
[ -d /var/cache/man/$foo ] && /usr/sbin/tmp/watch -f 240 
/var/cache/man/$foo

etc. etc.

Comment 1 Michael Schwendt 2001-10-15 00:27:04 UTC
To reporter:

Install this:

  http://www.redhat.com/support/errata/RHBA-2001-104.html
  http://www.redhat.com/apps/support/updates.html

Btw, duplicate of bug #47784 and resolved.



Comment 2 Preston Brown 2001-11-06 17:17:33 UTC

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


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