Clamav-status Was: Re: Meeting summary/minutes from today's EPEL sig meeting (2011-03-14)
Jan-Frode Myklebust
janfrode at tanso.net
Wed Mar 16 10:28:07 UTC 2011
On 2011-03-15, Kevin Fenzi <kevin at scrye.com> wrote:
>
>> 4 - Some files below /var/lib/clamav/ are still owned by old
>> clamav-user after the upgrade, so freshclam is unable to write to
>> these. Problem at least for mirrors.dat.
>
> Perhaps we could do a %post that chowns them? Or a %pre that rm's them?=20
It was only the /var/lib/clamav/mirrors.dat that was causing problems
being owned by numeric id (old clamav user) and only readable by this
user. Guess %ghost should fix this, right ?
%defattr(0644, clam, clam, 0755)
%ghost %{_localstatedir}/lib/clamav/mirrors.dat
-jf
More information about the epel-devel-list
mailing list