Bug 48742
| Summary: | tmpwatch error | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Justin Albstmeijer <justin> | ||||||
| Component: | tmpwatch | Assignee: | Preston Brown <pbrown> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Brian Brock <bbrock> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 7.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | i686 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2001-07-19 15:06:28 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Justin Albstmeijer
2001-07-11 10:53:23 UTC
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. ^_^; |