diff options
author | Jamie Lenehan <lenehan@twibble.org> | 2006-10-05 06:33:31 +0000 |
---|---|---|
committer | Jamie Lenehan <lenehan@twibble.org> | 2006-10-05 06:33:31 +0000 |
commit | 3e09934ece121e26e90b59e7397b126b937debec (patch) | |
tree | 8ebb838e48a0a723fe23a82091850257b1d7dbca /packages/clamav/files | |
parent | beeab4b68aa9865a66fb04ea37bb263aa356763b (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')
-rw-r--r-- | packages/clamav/files/volatiles.02_clamav-data | 4 | ||||
-rw-r--r-- | packages/clamav/files/volatiles.03_clamav-daemon | 4 | ||||
-rw-r--r-- | packages/clamav/files/volatiles.03_clamav-freshclam | 4 |
3 files changed, 12 insertions, 0 deletions
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 @@ +# <type> <owner> <group> <mode> <path> [<linksource>] +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 @@ +# <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 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 @@ +# <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 |