Robert Kudyba wrote:
Using Fedora 31, this has been happening for quite a while. After reboot /var/run/clamav is removed, which is expected. However, wehn ClamAV was installed the user created in /etc/passwd looks like this:
clamav:x:985:981::/var/run/clamav:/sbin/nologin

So Pulseaudio tries to create the following directories/files:

In my opinion the bug lies in PulseAudio in doing whatever it's doing that needs to create files in the clamav user's home directory at all. ClamAV itself has no audio components that I know of (it might be generally "aware" of audio file types, if there are viruses that abuse them), so PulseAudio should not be doing anything in the clamav user's home directory. (Or any other similar system user's home directory, for that matter.)

Creating /var/run/clamav earlier in the boot process - by whatever means - just papers over the real problem of some process accessing something it shouldn't be touching in the first place. Not to mention the fact that ~/.config is the "Latest and Most Bestest(TM)" place for various tools to file their per-user configuration files; it's supposed to be persistent, which /var/run/clamav very intentionally isn't.

-kgd


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to