Bug 863069
Summary: | amavisd.service fails to start because required default folders are missing | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Matt Kinni <matt> | |
Component: | amavisd-new | Assignee: | Steven Pritchard <steve> | |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 17 | CC: | perl-devel, steve, trailtotale, vanmeeuwen+fedora, vg.aetera | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 991233 (view as bug list) | Environment: | ||
Last Closed: | 2013-08-01 11:02:43 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: |
Description
Matt Kinni
2012-10-04 11:42:10 UTC
I have nearly same problem. My install also failed to start due to the missing /var/run/amavisd directory. I did not have a/var/spool/amavisd/var directory after the install, but the service started just fine without it. I've not looked into this package's spec file, but this is rather strange. Immediately after fresh install of amavisd-new-2.6.6-2.fc17.noarch: # rpm -V amavisd-new # Package verification returned nothing, so it's a clean install. # rpm -ql amavisd-new | grep run /var/run/amavisd /var/run/clamd.amavisd # It would appear that /var/run/amavisd is provided by the package, yet: # ll /var/run/amavisd /bin/ls: cannot access /var/run/amavisd: No such file or directory # Having just looked at the spec for amavisd-new-2.8.0-2.fc18.src.rpm, it appears that the problem with the missing /var/run/amavisd/ is because the spec file only makes that directory for the amavisd-new-snmp package. If you use amavisd-new (the non-snmp variant), you have to make this directory yourself, which is wrong. Confirm, amavisd-new-2.8.0-2.fc18.noarch Workaround: mkdir /run/amavisd restorecon -R -v /run/amavisd chown amavis:amavis /run/amavisd This bug continues from fedora-16. =( This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Things are looking much better with Fedora 19 (amavisd-new-2.8.0-5.fc19), however I noticed that /var/run/amavisd is not present immediately after installing the package. Once I rebooted the host, the directory became available. To me this suggests that the entry /etc/tmpfiles.d/amavisd-new.conf is doing its job, but the spec file for this package needs to also mkdir /var/run/amavisd. (I learned this the hard way with my own rpm's too: you gotta have both; one for now and the other for after rebooting.) Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |