Re: Proper setting of %ghost file spec section in order to rpm -V to be silent wrt to mode differs ('M') change - handling db & log files

2015-02-05 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Feb 05, 2015 at 04:57:13PM +0100, Vít Ondruch wrote: > To fix this problem, you should use the %attr directive: > > %ghost %attr(644, root, root) %{gem_libdir}/bundler/vendor/thor I wasn't able to get rpm to be silent about /var/log/journal, though, because of the ACLs: $ rpm -V systemd

Re: Proper setting of %ghost file spec section in order to rpm -V to be silent wrt to mode differs ('M') change - handling db & log files

2015-02-05 Thread Vít Ondruch
It would be nice if you could refer to specific SRPM. Nevertheless, by coincidence, I was playing with something similar today and I ended up with this patch: http://pkgs.fedoraproject.org/cgit/rubygem-bundler.git/commit/?id=5ca32d2c71cc1bb9225ab8a25fdae3d522ae4202 I.e. if the file is present

Proper setting of %ghost file spec section in order to rpm -V to be silent wrt to mode differs ('M') change - handling db & log files

2015-02-05 Thread Jan Lieskovsky
Hello folks, (apologize for the wide distribution, hopefully someone would be able to help me with the issue below). we develop a tool performing security scans / audits of the system. This tool is able to compare the system in question against various rules. And one of these rules ('Verify