There is a bit that is set by the rpm package that controls various
aspects of validation.
md5sum, attributes, size, "ghost" (if it may or may not exist), etc.
To properly validate a system, you have to pay attention to these
attributes and ignore certain changes based on those attributes.
(E
Thank you Mark.
So if one wants to check the integrity of the system( = i.e. all files
from each rpm installed package are presents) only for all f in files
from some rpm s.t.
(f is on filesystem && f has size > 0 declared in rpm) || ( f is on
filesystem with size > 0 && f has size == 0 declare
Those are "ghost" files. They don't have to exist for the system to be
valid, but if they do exist, they are owned by the RPM package.
These files are part of the RPM database mechanisms (actually berkleyDB).
--Mark
Pazzo Da Legare wrote:
Dear All,
Could you please explain why rpm packages
Dear All,
Could you please explain why rpm packages builders are defining spec
file with empty files inside?
e.g. the rpm package for rpm utility defines empty files __db.000,
__db.001, , __db.009, but I cannot find any file on my
system...and rpm -Vv seems to be happyis it checking only