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

Bug 740622

Summary: app-antivirus/clamav: use tmpfiles.eclass instead of systemd_tmpfiles*
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Antivirus Team <antivirus>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 740638    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-09-06 03:24:53 UTC
The packages listed in summary still use systemd_tmpfiles API.  Please switch to tmpfiles.eclass that is maintained and supports OpenRC correctly.
Comment 1 Larry the Git Cow gentoo-dev 2020-09-23 03:34:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20979a5933eff01400776082bbcec8d693006d26

commit 20979a5933eff01400776082bbcec8d693006d26
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2020-09-22 01:05:41 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2020-09-23 03:23:21 +0000

    app-antivirus/clamav: use tmpfiles.eclass for tmpfiles.d entries.
    
    This avoids the systemd-specific implementation, but also hides the
    tmpfiles entry behind USE=systemd for security reasons (the OpenRC
    implementation, opentmpfiles, is insecure). The OpenRC service scripts
    create their own directories anyway, at the expense of a tiny bit of
    duplication.
    
    Closes: https://bugs.gentoo.org/740622
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 app-antivirus/clamav/clamav-0.103.0.ebuild | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)