Bug 707111 - Clamsmtp should create /var/run/clamd.clamsmtp using systemd-tmpfiles mechanism
Summary: Clamsmtp should create /var/run/clamd.clamsmtp using systemd-tmpfiles mechanism
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: clamsmtp
Version: 15
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Nathanael Noblet
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-24 06:26 UTC by Bojan Smojver
Modified: 2011-05-26 21:47 UTC (History)
1 user (show)

Fixed In Version: clamsmtp-1.10-3.fc15
Clone Of:
Environment:
Last Closed: 2011-05-26 21:47:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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