[Bug 745337] New: amavisd doesn't start in fc15

bugzilla at redhat.com bugzilla at redhat.com
Wed Oct 12 03:36:02 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: amavisd doesn't start in fc15

https://bugzilla.redhat.com/show_bug.cgi?id=745337

           Summary: amavisd doesn't start in fc15
           Product: Fedora
           Version: 15
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: medium
          Priority: unspecified
         Component: amavisd-new
        AssignedTo: steve at silug.org
        ReportedBy: iand at ekit-inc.com
         QAContact: extras-qa at fedoraproject.org
                CC: steve at silug.org, fedora-perl-devel-list at redhat.com,
                    kanarip at kanarip.com
    Classification: Fedora
      Story Points: ---
              Type: ---


Description of problem:

amavisd doesn't start at boot as /var/run/amavisd as installed
by the rpm  doesn't exist after reboot as /var/run is a tmpfs in fc15

Version-Release number of selected component (if applicable):

amavisd-new-2.6.6-1.fc15.noarch

How reproducible:

100%

Steps to Reproduce:
1. chkconfig amavisd on; then configure it; reboot
2.
3.

Actual results:

ps -ef|grep amavisd
shows it isn't running


Expected results:

running

Additional info:

$ rpm -ql amavisd-new |grep /var/run
/var/run/amavisd
/var/run/clamd.amavisd

My workaround was to add an additional rc script run before amavisd

--
$ ll /etc/*.d/*amavisd_kludge
-r-xr-xr-x. 1 root root 366 Sep 14 08:57 /etc/init.d/amavisd_kludge
-r-xr-xr-x. 1 root root 366 Sep 14 08:57 /etc/rc3.d/S77amavisd_kludge


$ cat /etc/init.d/amavisd_kludge
#! /bin/sh
if [ -d /var/run/amavisd ]
then
        :
else
        mkdir               /var/run/amavisd
        chown amavis:amavis /var/run/amavisd
        chmod 755           /var/run/amavisd
        restorecon -Rv      /var/run/amavisd
fi
$
--

but this should probably be added to the /etc/init.d/amavisd script.

In my situation I didn't require /var/run/clamd.amavisd to exist as
my clamd.pid is configured to be in /var/run/amavisd/clamd.pid
but for completeness the amavisd startup script probably should also
create /var/run/clamd.amavisd

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the perl-devel mailing list