В Wed, 18 Feb 2015 21:21:08 -0200
Marcos Felipe Rasia de Mello
Squid RPM used to have /etc/permissions.d/squid with:
/var/cache/squid/ squid:root 750 /var/log/squid/ squid:root 750
This file is gone in Factory.
Now, I am trying to change both groups to squid (same mode):
https://bugzilla.opensuse.org/show_bug.cgi?id=918434
My RPM has:
%verify(not user group mode) %attr(750,squid,squid) %dir /var/cache/squid/ %verify(not user group mode) %attr(750,squid,squid) %dir /var/log/squid/
But when I upgrade from an older version that still has the snippet, new ownership is lost, because when chkstat runs in %post, /etc/permissions.d/squid is present and mangles what is configured by RPM.
RPM deletes /etc/permissions.d/squid after %preun, when is too late.
Any help appreciated.
You can manually remove it in %pre of new version. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org