Bug 1018312

Summary: service clamd condestart doesn't work
Product: [Fedora] Fedora EPEL Reporter: Filippo Carletti <filippo.carletti>
Component: clamavAssignee: Steven Pritchard <steve>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: janfrode, nathanael, nb, redhat-bugzilla, steve
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: clamav-0.98-2.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-07 19:16:20 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:
Attachments:
Description Flags
Fix for clamd init script none

Description Filippo Carletti 2013-10-11 16:47:01 UTC
Created attachment 811279 [details]
Fix for clamd init script

Description of problem:
The condrestart action of the clamd init script doesn't restart the service.
In case of package upgrade, the clamd service is not restarted.
The scritp is missing a "$0".

Version-Release number of selected component (if applicable):
clamd-0.98-1.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
service clamd condrestart

Actual results:
restart: missing job name
Try `restart --help' for more information.

Expected results:

clamd restarts

Additional info:

See attached patch.

Comment 1 Robert Scheck 2013-10-19 12:21:09 UTC
Thank you for reporting this. I have applied your fix (and a bit more) for
both, Fedora EPEL 5 and 6. However I will still delay a build some days so
that Fedora EPEL 5 also receives the bump to 0.98 first.

- http://pkgs.fedoraproject.org/cgit/clamav.git/commit/?h=el6&id=c4cf2b1e61514556e725ec8990e063b89a099008
- http://pkgs.fedoraproject.org/cgit/clamav.git/commit/?h=el5&id=5e652a3de69e3599ddae162ef0c393bb7c0ada86

Comment 2 Fedora Update System 2013-10-23 08:46:07 UTC
clamav-0.98-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/clamav-0.98-2.el6

Comment 3 Fedora Update System 2013-10-23 08:47:07 UTC
clamav-0.98-2.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/clamav-0.98-2.el5

Comment 4 Fedora Update System 2013-10-23 18:18:46 UTC
Package clamav-0.98-2.el5:
* should fix your issue,
* was pushed to the Fedora EPEL 5 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing clamav-0.98-2.el5'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-11930/clamav-0.98-2.el5
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-11-07 19:16:20 UTC
clamav-0.98-2.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-11-07 19:18:23 UTC
clamav-0.98-2.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.