On 2011-03-15, Kevin Fenzi <[email protected]> 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
_______________________________________________
epel-devel-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/epel-devel-list