Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#29151 - [clamav] add tmpfile
Attached to Project:
Arch Linux
Opened by alex (kabolt) - Wednesday, 28 March 2012, 15:01 GMT
Last edited by Gaetan Bisson (vesath) - Thursday, 29 March 2012, 15:48 GMT
Opened by alex (kabolt) - Wednesday, 28 March 2012, 15:01 GMT
Last edited by Gaetan Bisson (vesath) - Thursday, 29 March 2012, 15:48 GMT
|
DetailsDescription:
clamav needs a sub-folder beyond /run with the user permissions to work. With systemd you need a tmpfile but it cannot be included in system-arch-units because it causes an error on systems without clamav installed. |
This task depends upon
Closed by Gaetan Bisson (vesath)
Thursday, 29 March 2012, 15:48 GMT
Reason for closing: Implemented
Additional comments about closing: clamav-0.97.4-2 in [extra]
Thursday, 29 March 2012, 15:48 GMT
Reason for closing: Implemented
Additional comments about closing: clamav-0.97.4-2 in [extra]
Comment by Gaetan Bisson (vesath) -
Wednesday, 28 March 2012, 17:38 GMT
Why does it cause an error when clamav is not installed?
Comment by alex (kabolt) -
Wednesday, 28 March 2012, 17:52 GMT
Because an existing group or user (whatever you use) is needed and without an installed clamav the group and the user isn't added to /etc/group or /etc/shadow
Comment by Gaetan Bisson (vesath) -
Wednesday, 28 March 2012, 18:00 GMT
I see. Well let's do the tmpfiles.d thing then.
Comment by Gaetan Bisson (vesath) -
Wednesday, 28 March 2012, 23:21 GMT
Could you have a look at clamav-0.97.4-2 in [testing] and see if you like it?
Comment by alex (kabolt) -
Thursday, 29 March 2012, 15:14 GMT
looks fine. Testing via systemd-tmpfiles --create doesn't throw an error and clamav+freshclam is able to start
clamav.conf