Bug 1990644 - File attributes for /run/clamd.scan/clamd.sock don't match the values in clamd rpm
Summary: File attributes for /run/clamd.scan/clamd.sock don't match the values in clam...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: clamav
Version: epel7
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Robert Scheck
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-05 20:11 UTC by Fionnuala Word
Modified: 2021-09-05 20:18 UTC (History)
13 users (show)

Fixed In Version: clamav-0.103.3-4.fc33 clamav-0.103.3-4.fc34 clamav-0.103.3-5.el8 clamav-0.103.3-5.el7
Clone Of:
Environment:
Last Closed: 2021-08-24 01:05:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Fionnuala Word 2021-08-05 20:11:48 UTC
Description of problem:
File attributes for /run/clamd.scan/clamd.sock don't match the values in clamd rpm

Version-Release number of selected component (if applicable):
0.103.3-1.el7

How reproducible:
It is always reproducible.

Steps to Reproduce:
1. systemctl restart clamd@service
2. rpm -Va | awk '{ if (substr($0,2,1)=="M") print $NF }'
3.

Actual results:
/run/clamd.scan/clamd.sock

Expected results:
no output

Additional info:
/run/clamd.scan/clamd.sock attributes listed in rpm
# rpm -qlv clamd | grep clamd.sock
----------    1 root    root                        0 Jun 29 14:27 /run/clamd.scan/clamd.sock


/run/clamd.scan/clamd.sock attributes after running service
# ls -la /run/clamd.scan/clamd.sock 
srw-rw-rw-. 1 clamscan clamscan 0 Aug  5 19:51 /run/clamd.scan/clamd.sock

Comment 1 Fionnuala Word 2021-08-06 17:16:08 UTC
Pull request https://src.fedoraproject.org/rpms/clamav/pull-request/19

Comment 2 Sergio Basto 2021-08-10 00:26:40 UTC
Hi
the correct use is : 

systemctl start clamd@scan 


and it will read /etc/clamd.d/scan.conf (User clamscan will define the socket) and /usr/lib/tmpfiles.d/clamd.scan.conf [1] defines the directory /run/clamd.scan [2]


you should have one file /etc/clamd.d/service.conf ... 



[1] 
d /run/clamd.scan 0710 clamscan virusgroup

[2]
drwx--x--- 2 clamscan virusgroup 60 Aug 10 01:23 /run/clamd.scan

Comment 3 Sergio Basto 2021-08-10 00:46:06 UTC
very interesting report, I will check this report later , thank you for the report

Comment 4 Fedora Update System 2021-08-15 13:50:00 UTC
FEDORA-2021-bfc4af9c9c has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-bfc4af9c9c

Comment 5 Fedora Update System 2021-08-15 13:50:21 UTC
FEDORA-2021-47655cb90e has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-47655cb90e

Comment 6 Fedora Update System 2021-08-15 13:51:12 UTC
FEDORA-EPEL-2021-90fc336455 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-90fc336455

Comment 7 Fedora Update System 2021-08-15 20:25:50 UTC
FEDORA-EPEL-2021-c3dde95087 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-c3dde95087

Comment 8 Fedora Update System 2021-08-16 01:07:37 UTC
FEDORA-2021-bfc4af9c9c has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-bfc4af9c9c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-bfc4af9c9c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2021-08-16 01:12:50 UTC
FEDORA-2021-47655cb90e has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-47655cb90e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-47655cb90e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2021-08-16 01:44:53 UTC
FEDORA-EPEL-2021-90fc336455 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-90fc336455

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2021-08-16 01:45:21 UTC
FEDORA-EPEL-2021-c3dde95087 has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-c3dde95087

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2021-08-24 01:05:20 UTC
FEDORA-2021-47655cb90e has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2021-08-24 03:32:43 UTC
FEDORA-2021-bfc4af9c9c has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2021-08-29 18:43:43 UTC
FEDORA-EPEL-2021-568f2e4092 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-568f2e4092

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2021-08-29 18:54:00 UTC
FEDORA-EPEL-2021-01e7b83241 has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-01e7b83241

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2021-09-05 20:15:35 UTC
FEDORA-EPEL-2021-568f2e4092 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2021-09-05 20:18:44 UTC
FEDORA-EPEL-2021-01e7b83241 has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.


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