summaryrefslogtreecommitdiff
path: root/packages/clamav/files/volatiles.03_clamav-daemon
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2006-10-05 06:33:31 +0000
committerJamie Lenehan <lenehan@twibble.org>2006-10-05 06:33:31 +0000
commit3e09934ece121e26e90b59e7397b126b937debec (patch)
tree8ebb838e48a0a723fe23a82091850257b1d7dbca /packages/clamav/files/volatiles.03_clamav-daemon
parentbeeab4b68aa9865a66fb04ea37bb263aa356763b (diff)
clamav 0.84: Handle the /var directories correctly by making use of the
volatiles system. Previously these packages were broken after a reboot if /var was on tmpfs due to missing directories and files. Note that the updated virus definitions are stored in /var so they will be lost after a reboot (but immediately re-downloaded) if using var on tmpfs.
Diffstat (limited to 'packages/clamav/files/volatiles.03_clamav-daemon')
-rw-r--r--packages/clamav/files/volatiles.03_clamav-daemon4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/clamav/files/volatiles.03_clamav-daemon b/packages/clamav/files/volatiles.03_clamav-daemon
new file mode 100644
index 0000000000..aeac57aa03
--- /dev/null
+++ b/packages/clamav/files/volatiles.03_clamav-daemon
@@ -0,0 +1,4 @@
+# <type> <owner> <group> <mode> <path> [<linksource>]
+d clamav clamav 0775 /var/log/clamav
+d clamav clamav 0755 /var/lib/clamav
+d clamav clamav 0755 /var/run/clamav \ No newline at end of file