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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
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]
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

Loading...