From 3e09934ece121e26e90b59e7397b126b937debec Mon Sep 17 00:00:00 2001 From: Jamie Lenehan Date: Thu, 5 Oct 2006 06:33:31 +0000 Subject: 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. --- packages/clamav/files/volatiles.02_clamav-data | 4 ++++ packages/clamav/files/volatiles.03_clamav-daemon | 4 ++++ packages/clamav/files/volatiles.03_clamav-freshclam | 4 ++++ 3 files changed, 12 insertions(+) create mode 100644 packages/clamav/files/volatiles.02_clamav-data create mode 100644 packages/clamav/files/volatiles.03_clamav-daemon create mode 100644 packages/clamav/files/volatiles.03_clamav-freshclam (limited to 'packages/clamav/files') diff --git a/packages/clamav/files/volatiles.02_clamav-data b/packages/clamav/files/volatiles.02_clamav-data new file mode 100644 index 0000000000..e26c08a729 --- /dev/null +++ b/packages/clamav/files/volatiles.02_clamav-data @@ -0,0 +1,4 @@ +# [] +d clamav clamav 0755 /var/lib/clamav +l clamav clamav 0644 /var/lib/clamav/main.cvd /usr/lib/clamav/main.cvd +l clamav clamav 0644 /var/lib/clamav/daily.cvd /usr/lib/clamav/daily.cvd 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 @@ +# [] +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 diff --git a/packages/clamav/files/volatiles.03_clamav-freshclam b/packages/clamav/files/volatiles.03_clamav-freshclam new file mode 100644 index 0000000000..3019ea3384 --- /dev/null +++ b/packages/clamav/files/volatiles.03_clamav-freshclam @@ -0,0 +1,4 @@ +# [] +d clamav clamav 0775 /var/log/clamav +d clamav clamav 0755 /var/lib/clamav +d clamav clamav 0755 /var/run/clamav -- cgit v1.2.3