Bug 2232322 - logwatch converts logdir path to lowercase
Summary: logwatch converts logdir path to lowercase
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: logwatch
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Lukáš Nykrýn
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-16 10:00 UTC by Karel Volný
Modified: 2023-08-16 10:02 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-165892 0 None None None 2023-08-16 10:02:12 UTC

Description Karel Volný 2023-08-16 10:00:08 UTC
Description of problem:
Trying to write a test for logwatch, I have found that it ignores cafted log file passed via the --logdir option. The root cause seems to be that it converts the patch to lowercase.

Version-Release number of selected component (if applicable):
logwatch-7.4.3-21.el8.noarch

How reproducible:
always

Steps to Reproduce:
1. logwatch --service=fail2ban --range=all --logdir="/mnt/tests/CoreOS/logwatch/Regression/bz2043944-logwatch-for-fail2ban-should-ignore-Server-ready" --debug=6 2>/dev/null | grep logdir

Actual results:
logdir -> /mnt/tests/coreos/logwatch/regression/bz2043944-logwatch-for-fail2ban-should-ignore-server-ready

Expected results:
logdir -> /mnt/tests/CoreOs/logwatch/Regression/bz2043944-logwatch-for-fail2ban-should-ignore-server-ready

Additional info:


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