Skip to content

Using ClamAV on a custom Void Linux ISO. #422

@MatanzaBR

Description

@MatanzaBR

Updating the ClamAV ISO database

ClamAV is installed on the ISO.

The "include" folder is for customization.

mkdir -p include/var/lib/

rsync -av /var/lib/_clamav include/var/lib/

sudo chown -R _clamav:_clamav include/var/lib/_clamav/

ls -lh include/var/lib/_clamav/

total 360M
-rw-r--r-- 1 _clamav _clamav 8,9K out 16 20:19 bytecode-339.cvd.sign
-rw-r--r-- 1 _clamav _clamav 276K out 16 20:19 bytecode.cvd
-rw-r--r-- 1 _clamav _clamav 197M nov 14 14:05 daily.cld
-rw-r--r-- 1 _clamav _clamav 90 out 16 19:53 freshclam.dat
-rw-r--r-- 1 _clamav _clamav 8,9K out 16 20:19 main-62.cvd.sign
-rw-r--r-- 1 _clamav _clamav 163M out 16 20:19 main.cvd

In the generated Void Linux ISO, the folder /var/lib/_clamav/ has incorrect permissions, and the owner and group are wrong; it should be -rw-r--r-- 1 _clamav _clamav

Result ISO:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions