Bug 2269800 - Syntax error in /usr/share/doc/clamd/clamd.logrotate
Summary: Syntax error in /usr/share/doc/clamd/clamd.logrotate
Keywords:
Status: CLOSED DUPLICATE of bug 1679375
Alias: None
Product: Fedora
Classification: Fedora
Component: clamav
Version: 38
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Sergio Basto
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-03-16 14:44 UTC by Tim Landscheidt
Modified: 2024-04-08 16:05 UTC (History)
19 users (show)

Fixed In Version:
Clone Of: 1679375
Environment:
Last Closed: 2024-03-16 16:22:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tim Landscheidt 2024-03-16 14:44:35 UTC
+++ This bug was initially created as a clone of Bug #1679375 +++

Commit 8a56d4c9abdf9c924a9fc931ba5a8da485296eec, in response to bug #1610735, introduced a syntax error to clamd.logrotate:

| /var/log/clamd.<SERVICE> {
|         monthly
|         notifempty
|         missingok

|         postrotate
|                 pkill -u <USER> -HUP -f '/usr/sbin/clamd -c /etc/clamd.d/<SERVICE>.conf >/dev/null 2>&1 || :
                                          ^
|         endscript
| }

exim-clamav uses this file as a template to install to /etc/logrotate.d (cf. bug #1679375), therefore triggering this error on every log rotation.

The quote needs to be removed in F38's, F39's and Rawhide's clamd.

Comment 1 Sergio Basto 2024-03-16 15:58:00 UTC
is not a missing quote ? 

pkill -u <USER> -HUP -f '/usr/sbin/clamd -c /etc/clamd.d/<SERVICE>.conf' >/dev/null 2>&1 || :

Comment 2 Sergio Basto 2024-03-16 16:22:04 UTC

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


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