[Pkg-clamav-commits] [SCM] packaging for clamav-unoffical-sigs branch, master, updated. debian/3.3-2-15-g37ab640
Paul Wise
pabs at debian.org
Fri Jul 17 13:28:13 UTC 2009
The following commit has been merged in the master branch:
commit 37ab6400cf2e3be1fd3e7d4151b80d41c393f519
Author: Paul Wise <pabs at debian.org>
Date: Fri Jul 17 15:18:30 2009 +0200
Will no longer be able to start clamav when it is not running, so document that and don't try to do it.
diff --git a/debian/NEWS b/debian/NEWS
index 5591500..c57cb00 100644
--- a/debian/NEWS
+++ b/debian/NEWS
@@ -9,4 +9,7 @@ clamav-unofficial-sigs (3.5.4-1) unstable; urgency=low
increase security, please see README.Debian for a technique
for running the script as a user separate to clamav.
+ As a consequence of running the script as the clamav user,
+ the package will no longer start clamav when it is not running.
+
-- Paul Wise <pabs at debian.org> Fri, 19 Jun 2009 15:20:24 +0800
diff --git a/debian/README.Debian b/debian/README.Debian
index baefd33..50b562d 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -59,3 +59,7 @@ you will need to tell the script to chown the database files like this:
# echo clam_user=clamav >> /etc/clamav-unofficial-sigs.conf
# echo clam_group=clamav >> /etc/clamav-unofficial-sigs.conf
# sed -i -e '/^[^#]/s/clamav/root/g' /etc/cron.d/clamav-unofficial-sigs
+
+You may also want to have the script start clamav when it isn't running:
+
+# echo 'start_clamd="invoke-rc.d clamav-daemon start"' >> /etc/clamav-unofficial-sigs.conf
diff --git a/debian/changelog b/debian/changelog
index 80d7b3a..d654c1f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ clamav-unofficial-sigs (3.5.4-1) UNRELEASED; urgency=low
* Run the script as the clamav user by default and
ensure correct ownership of all the files when the
sysadmin accepts the cron.d configuration change.
+ - Will no longer be able to start clamav when it is
+ not running, so document that and don't try to do it.
* Bump Standards-Version, no changes needed
-- Paul Wise <pabs at debian.org> Sun, 05 Jul 2009 14:12:31 +0800
diff --git a/debian/debian.conf b/debian/debian.conf
index eacc0d4..9d09caf 100644
--- a/debian/debian.conf
+++ b/debian/debian.conf
@@ -30,9 +30,6 @@ comment_silence="yes"
# Reload clamav database by default
reload_dbs=yes
-# Start clamav when it isn't running by default
-start_clamd="invoke-rc.d clamav-daemon start"
-
# Prevent the -r option from removing stuff
pkg_mgr="apt"
pkg_rm="apt-get --purge remove clamav-unofficial-sigs"
--
packaging for clamav-unoffical-sigs
More information about the Pkg-clamav-commits
mailing list