-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
rhel-8.9.0
-
None
-
Moderate
-
rhel-plumbers
-
ssg_core_services
-
3
-
False
-
False
-
-
None
-
None
-
None
-
None
-
None
What were you trying to do that didn't work?
If you have $logdir=/XXX in your logwatch.conf then it will instead try to
access /xxx. Currently the only way to access logs in a directory that contains
capital letters seems to be creating a symlink with only lowercase letters. EG
"ln -s /XXX /xxx".
Please provide the package NVR for which bug is seen:
logwatch-7.4.3-21.el8.noarch
How reproducible:
always
Steps to reproduce
- run the test /CoreOS/logwatch/bz_tests
Expected results
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: BZ#205104 BZ#1293621 BZ#1293624
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 10:23:02 ] :: [ PASS ] :: Creating temporary exim log directory (Expected 0, got 0)
:: [ 10:23:02 ] :: [ PASS ] :: Creating fake exim log file (Expected 0, got 0)
:: [ 10:23:02 ] :: [ PASS ] :: Running logwatch for exim (Expected 0, got 0)
:: [ 10:23:02 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.yEJy6UUC' should contain '/tmp/log-RHTS/exim/main.log'
:: [ 10:23:02 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.yEJy6UUC' should not contain '/tmp/log-rhts/exim/main.log'
Actual results
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: BZ#205104 BZ#1293621 BZ#1293624
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 09:44:26 ] :: [ PASS ] :: Creating temporary exim log directory (Expected 0, got 0)
:: [ 09:44:26 ] :: [ PASS ] :: Creating fake exim log file (Expected 0, got 0)
:: [ 09:44:26 ] :: [ PASS ] :: Running logwatch for exim (Expected 0, got 0)
:: [ 09:44:26 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.iZZQtm4K' should contain '/tmp/log-RHTS/exim/main.log'
:: [ 09:44:26 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.iZZQtm4K' should not contain '/tmp/log-rhts/exim/main.log'