-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem: clamav socket parent folder problems in centos #102
Comments
@scollazo if this is going to be hard to solve talk to @ross-spencer because he's working on a new PR where you should be able to manually choose the backend and default to |
It's not difficult to solve, we only need to put a file with the following content: d /var/run/clamd.scan 0775 clamscan clamscan In /etc/tmpfiles/archivematica-clamd.conf (example name) |
Hi, The socket file is created after a system reboot uncommenting the following line at
This file has the active config:
The TCP socket is still listening:
|
As we now use a tcp socket, I'm closing this |
In centos 7, with selinux enabled, and /var/run pointing to /run (a tmpfs mount), archivematica doesn't work after a server reboot, because the parent folder for the clamav socket doesn't allow others to read it:
This folder is created with each reboot, in /lib/tmpfiles.d/clamd.scan.conf , so we should add our own config file in /etc/tmpfiles.d/ in order to override the default permissions.
The text was updated successfully, but these errors were encountered: