Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446882 - app-antivirus/clamav-0.97.6-r1 - clamd.initd-r1 modifies permissions of /tmp
Summary: app-antivirus/clamav-0.97.6-r1 - clamd.initd-r1 modifies permissions of /tmp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-11 14:42 UTC by Stefan Briesenick (RETIRED)
Modified: 2013-02-21 09:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Briesenick (RETIRED) gentoo-dev 2012-12-11 14:42:14 UTC
latest init-script seems to modify the permissions of /tmp to clamav:root 0755.

That is caused by the fact, that I don't use a local socket, but TCP only. So within the ini-script, the default:

> local clamd_socket=$(get_config clamd LocalSocket /tmp/clamd)

will cause the "checkpath" command to modify the permissions of /tmp, which in turn makes the whole system quite unusable (i.e. mysql doesn't work anymore and dozens of other daemons/tools/programs are crashing). Took me some time to find out what happend!

PLEASE fix that script asap! thanks!


Reproducible: Always
Comment 1 Eray Aslan gentoo-dev 2012-12-11 18:39:31 UTC
Bah, I should have seen it.  Should be fixed in CVS.  Sorry for the fuck up.
Comment 2 karloff 2013-02-21 08:25:16 UTC
Same issues in app-antivirus/clamav-0.97.6-r2
Comment 3 Eray Aslan gentoo-dev 2013-02-21 09:01:13 UTC
How is it the same issue?  The above line in init script now reads:

> local clamd_socket=$(get_config clamd LocalSocket /var/run/clamav/clamd.sock)