Originally posted by: christophe.rousseau
Hi everyone,
I opened a PMR at IBM's about that issue, but I've been told that I should open an issue in this forum,
because the component owners need to open a discussion here. So here I am :)
Here's the problem :
We encountered an issue with the option --verify for rpm :
A client wants to check that files are consistent and not altered with rpm --verify .
- with rpm.rte V3.0.5.53, results are OK and react if I change permissions /owner on files , for example.
# ls -ltr /opt/freeware/bin/bunzip2
-rwxr-xr-x 1 root system 33713 Mar 4 2015 /opt/freeware/bin/bunzip2
#rpm --verify bzip2
[..]
S.5....T /opt/freeware/bin/bunzip2
[..]
- with rpm.rte V4.9.1.3, results do not reflect changes on files owned by a rpm package.
For example, if you just installed bzip2 and if you verify it, you'll see this :
#rpm --verify bzip2
[..]
......G.. /usr/bin/bunzip2
[..]
-->indicating that Group ownership differs from the installation default... But no changes were made to these files, group owner is system as it should be.
# ls -ltr /opt/freeware/bin/bunzip2
-rwxr-xr-x 1 root system 33713 Mar 4 2015 /opt/freeware/bin/bunzip2
What's weirder though, is that when we try to change some permissions on these, the --verify always shows the same thing.
# chgrp nobody /opt/freeware/bin/bunzip2
# rpm --verify bzip2 | grep bunzip2
5S.T..G.. /opt/freeware/bin/bunzip2
# chgrp system /opt/freeware/bin/bunzip2
# rpm --verify bzip2 | grep bunzip2
5S.T..G.. /opt/freeware/bin/bunzip2
See ? it's always showing the "G" flag... whatever you're doing.
FYI , we are not able to rollback to a 3.X version , because we need rpm 4.9.1.3 in order for yum to work on AIX.
Thanks everyone for your help !
Kind regards,
Christophe
#AIX-Open-Source-Software#AIXOpenSource