Bug 707111

Summary: Clamsmtp should create /var/run/clamd.clamsmtp using systemd-tmpfiles mechanism
Product: [Fedora] Fedora Reporter: Bojan Smojver <bojan>
Component: clamsmtpAssignee: Nathanael Noblet <nathanael>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: nathanael
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: clamsmtp-1.10-3.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-26 21:47:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bojan Smojver 2011-05-24 06:26:34 UTC
Description of problem:
On start, clamsmtp-clamd is unable to create it's default socket, located in /var/run/clamd.clamsmtp directory. That's because in F-15, this directory is tmpfs and is emptied on reboot.

Version-Release number of selected component (if applicable):
clamsmtp-1.10-2.fc15.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Attempt to start clamsmtp-clamd service.
2. Fails, unable to create /var/run/clamd.clamsmtp/clamd.sock
  
Actual results:
Fails to start.

Expected results:
Should be able to start.

Additional info:
You should package /etc/tmpfiles.d/clamsmtp.conf that contains:

d /var/run/clamd.clamsmtp 0755 clamsmtp mail -

Comment 1 Fedora Update System 2011-05-24 17:42:16 UTC
clamsmtp-1.10-3.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/clamsmtp-1.10-3.fc15

Comment 2 Fedora Update System 2011-05-25 03:03:28 UTC
Package clamsmtp-1.10-3.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing clamsmtp-1.10-3.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/clamsmtp-1.10-3.fc15
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2011-05-26 21:47:40 UTC
clamsmtp-1.10-3.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.