| Summary: | clamav+systemd=Can't create temporary directory ERROR | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nicolas Mailhot <nicolas.mailhot> |
| Component: | clamav | Assignee: | Enrico Scholz <rh-bugzilla> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | nb, ondrejj, philipp, redhat-bugzilla, rh-bugzilla, steve, systemd-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-28 08:58:51 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Nicolas Mailhot
2012-02-13 14:40:10 UTC
fwiw, the clamd-wrapper script is now in the clamav-server-sysvinit package (which is going to die in the midterm). Can you point me to the mentioned systemd unit please? amavisd-new git does not contain a such one. I am in doubt that your problem is caused by PrivateTmp, because this affects /tmp only, not /var/spool/... Nevertheless, you can verify this by disabling PrivateTmp in the systemd unit (either clamd@.service, or in your clamd@<instance>.service file). (In reply to comment #1) > fwiw, the clamd-wrapper script is now in the clamav-server-sysvinit package > (which is going to die in the midterm). That breaks amavid as it does not depend on this new package (but should move to systemd anyway → bug #789571) > Can you point me to the mentioned systemd unit please? amavisd-new git does not > contain a such one. I just used the one in clamav systemd systemctl start clamd (IIRC) and it picked up the clamav config file shipped with the amavisd-new packages ln -sf /lib/systemd/system/clamd@.service /etc/systemd/system/multi-user.target.wants/clamd Only problems are those new tmp files errors (that didn't happen with the old sysv script): maybe it's the same as bug #790522 ? and the pid file instruction in the amavisd-new config (is it necessary with systemd? Selinux does not like it: bug #789580) is this fixed by 790522#c19 ? Creation of the pidfile can/should be avoided unless amavisd or system monitoring needs it. (In reply to comment #3) > is this fixed by 790522#c19 ? > > Creation of the pidfile can/should be avoided unless amavisd or system > monitoring needs it. the temporary file creation is indeed fixed by the new systemd So, if you confirm there is no need to create the pid file, I should just ask the amavisd maintainer to remove the pid directive and use the generic clamav systemd unit, right? *** This bug has been marked as a duplicate of bug 790522 *** |