[Bug 363796] Re: clamav-milter init script fails on pidfile

Scott Kitterman ubuntu at kitterman.com
Thu Apr 23 04:09:40 UTC 2009


** Also affects: clamav (Ubuntu Jaunty)
   Importance: High
       Status: In Progress

** Description changed:

  Binary package hint: clamav-milter
  
  The latest clamav-milter (clamav-milter_0.95.1+dfsg-1ubuntu1) fails to
  run from a clean install due to "--pidfile" in the init script:
  
  root at prizm:/tmp# apt-get install clamav-milter
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  The following extra packages will be installed:
    clamav clamav-base clamav-daemon clamav-freshclam libclamav6
  Suggested packages:
    clamav-docs libclamunrar6
  The following NEW packages will be installed:
    clamav clamav-base clamav-daemon clamav-freshclam clamav-milter libclamav6
  0 upgraded, 6 newly installed, 0 to remove and 33 not upgraded.
  Need to get 0B/23.1MB of archives.
  After this operation, 25.2MB of additional disk space will be used.
  Do you want to continue [Y/n]?
  Preconfiguring packages ...
  Selecting previously deselected package libclamav6.
  (Reading database ... 166036 files and directories currently installed.)
  Unpacking libclamav6 (from .../libclamav6_0.95.1+dfsg-1ubuntu1_i386.deb) ...
  .....
  Setting up clamav-milter (0.95.1+dfsg-1ubuntu1) ...
   * Starting Sendmail milter plugin for ClamAV clamav-milter                                                                                                                             /usr/sbin/clamav-milter: unrecognized option `--pidfile'
  ERROR: Unknown option passed
  ERROR: Can't parse command line options
                                                                                                                                                                                   [fail]
  .....
  
  
  root at prizm:/tmp# /etc/init.d/clamav-milter start
   * Starting Sendmail milter plugin for ClamAV clamav-milter                                                                                                                             /usr/sbin/clamav-milter: unrecognized option `--pidfile'
  ERROR: Unknown option passed
  ERROR: Can't parse command line options
                                                                                                                                                                                   [fail]
  root at prizm:/tmp#
+ 
+ TEST CASE:
+ 
+ sudo apt-get install clamav-milter
+ 
+ Watch it fail:
+ 
+ Setting up clamav-milter (0.95.1+dfsg-1ubuntu1) ...
+  * Starting Sendmail milter plugin for ClamAV clamav-milter/usr/sbin/clamav-milter: unrecognized option `--pidfile'
+ ERROR: Unknown option passed
+ ERROR: Can't parse command line options
+                                                                                                                        [fail]
+ 
+ Install the upgraded packages.  Watch it not fail:
+ 
+ Preparing to replace clamav-milter 0.95.1+dfsg-1ubuntu1 (using .../clamav-milter_0.95.1+dfsg-1ubuntu1.1_i386.deb) ...
+  * Stopping Sendmail milter plugin for ClamAV clamav-milter                                                            [ OK ]
+ Unpacking replacement clamav-milter ...
+ Processing triggers for man-db ...
+ Setting up clamav-milter (0.95.1+dfsg-1ubuntu.1) ...
+ Installing new version of config file /etc/init.d/clamav-milter ...
+ Disabling old logrotate script for clamav-milter
+  * Starting Sendmail milter plugin for ClamAV clamav-milter                                                            [ OK ]

-- 
clamav-milter init script fails on pidfile
https://bugs.launchpad.net/bugs/363796
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list