Bug 753292

Summary: clamav-server-sysvinit script broken
Product: [Fedora] Fedora Reporter: Philip Prindeville <philipp>
Component: clamavAssignee: Enrico Scholz <rh-bugzilla>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: nb, ondrejj, philipp, redhat-bugzilla, rh-bugzilla, steve
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-18 10:05:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Philip Prindeville 2011-11-11 19:41:13 UTC
Description of problem:

The init.d script that comes with this package (/etc/rc.d/init.d/clamav-server-sysvinit) appears to be damaged:

[root@mail sysconfig]# chkconfig clamd-wrapper --list

Note: This output shows SysV services only and does not include native
      systemd services. SysV configuration data might be overridden by native
      systemd configuration.

service clamd-wrapper does not support chkconfig
[root@mail sysconfig]# egrep '(chkconfig|description):' /etc/init.d/clamd-wrapper
# Xchkconfig: - 75 35
# Xdescription: The clamd daemon listens for incoming connections on		\
[root@mail sysconfig]#

Also, there seems to be no %postinst script in the package:

% rpm -q --scripts clamav-server-sysvinit
% 

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

0.97.3-1500

How reproducible:

As above.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Philip Prindeville 2011-11-18 10:05:40 UTC
By default (and perhaps design) this package installs itself but is not configured to run. Hand configuration is required.