Bug 730824

Summary: run-parts needs changed to 'ls'
Product: [Fedora] Fedora EPEL Reporter: glshank
Component: logcheckAssignee: Matthias Runge <mrunge>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el5CC: mrunge
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 06:38:52 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 glshank 2011-08-15 20:50:50 UTC
Description of problem:
Filters are not being read because run-parts is being used on the directories. I guess Debian has a --list option to run-parts but RedHat does not.

Version-Release number of selected component (if applicable):
logcheck-1.3.13-3.el5

How reproducible:
All the time

Steps to Reproduce:
1.Install logwatch
2.Run logwatch
3.Notice that nothing is filtered out
  
Actual results:
Nothing is filtered out

Expected results:
Filters should be applied

Additional info:
I fixed it by changing run-parts to ls

218c218
<       for rulefile in $(ls "$dir"); do
---
>       for rulefile in $(run-parts "$dir"); do

Comment 1 Matthias Runge 2011-08-16 06:38:52 UTC

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