Bug 1966955 - Globs in logrotate config don't match logs written by default Suricata config
Summary: Globs in logrotate config don't match logs written by default Suricata config
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: suricata
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Steve Grubb
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-02 08:47 UTC by Ulrik Haugen
Modified: 2024-07-09 03:36 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-09 03:36:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ulrik Haugen 2021-06-02 08:47:25 UTC
Description of problem:
The packaged logrotate configuration tries to rotate /var/log/suricata*.log and /var/log/suricata*.json rather than /var/log/suricata/*.log and /var/log/suricata/*.json.

Version-Release number of selected component (if applicable):
# rpm -q suricata
suricata-4.1.10-1.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install package
2. Check /etc/logrotate.d/suricata

Actual results:
First non comment line is "/var/log/suricata*.log /var/log/suricata*.json {"

Expected results:
First non comment line is "/var/log/suricata/*.log /var/log/suricata/*.json {"

Additional info:
Presumably this is caused by suricata-4.1.9-log-path-fixup.patch stripping the trailing slash from e_logdir in configure.ac without patching etc/suricata.logrotate.in.

Comment 1 Troy Dawson 2024-07-09 03:36:06 UTC
EPEL 7 entered end-of-life (EOL) status on 2024-06-30.\n\nEPEL 7 is no longer maintained, which means that it\nwill not receive any further security or bug fix updates.\n As a result we are closing this bug.


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