[Bug 430421] [NEW] /etc/init.d/clamav-milter reads config file multiple times redundantly

Stephen Warren swarren at wwwdotorg.org
Wed Sep 16 02:15:24 UTC 2009


Public bug reported:

Binary package hint: clamav

/etc/init.d/clamav-milter contains this code:

==========
[ -r /etc/default/clamav-milter ] && . /etc/default/clamav-milter

if [ ! -f "$CLAMAVCONF" ]; then
  log_failure_msg "There is no configuration file for clamav-milter."
  log_failure_msg "Please either dpkg-reconfigure $DESC, or copy the example from"
  log_failure_msg "/usr/share/doc/clamav-milter/examples/ to $CLAMAVCONF and run"
  log_failure_msg "'/etc/init.d/clamav-milter start'"
  exit 0
fi

[ -f /etc/default/clamav-milter ] && . /etc/default/clamav-milter
==========

The final line is pointless; it just duplicates reading in the
configuration file, under a less precise condition than the first line.
It looks like a source-control merge error?

** Affects: clamav (Ubuntu)
     Importance: Undecided
         Status: New

-- 
/etc/init.d/clamav-milter reads config file multiple times redundantly
https://bugs.launchpad.net/bugs/430421
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