Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 430322

Summary: app-antivirus/clamav initscript: /var/run/clamav creation & clamconf integration
Product: Gentoo Linux Reporter: Valery Kartel <droid>
Component: New packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: antivirus
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /usr/portage/app-antivirus/clamav/files/clamd.rc.diff
app-antivirus/clamav/files/clamd.rc.diff

Description Valery Kartel 2012-08-07 12:57:01 UTC
1. Сreate /var/run/clamav directory if it doesn't exists. Useful if your /var/run is a symlink to tmpfs-mounted /run.

2. Get all config values from /usr/bin/clamconf output, not from /etc/clamd.conf & /etc/freshclam.conf.

Reproducible: Always
Comment 1 Valery Kartel 2012-08-07 12:59:26 UTC
Created attachment 320616 [details]
/usr/portage/app-antivirus/clamav/files/clamd.rc.diff
Comment 2 Valery Kartel 2012-08-07 13:29:47 UTC
Created attachment 320622 [details, diff]
app-antivirus/clamav/files/clamd.rc.diff

some fixes in get_config()
Comment 3 Eray Aslan gentoo-dev 2012-08-07 18:10:45 UTC

*** This bug has been marked as a duplicate of bug 333783 ***