[Yum] old code questions

Gallie, Keith Keith.Gallie at amd.com
Wed Aug 1 14:02:08 UTC 2007


 
> On Tue, 24 Jul 2007, seth vidal wrote:
> 
> > On Tue, 2007-07-24 at 09:50 -0700, Gallie, Keith wrote:
> >>
> >>> since your rpmdb is defined as: $installroot/var/lib/rpm
> >>
> >> Where is this definition? A config file? Hard coded in the 
> rpmmodule.so?
> >>
> >> dbPath is set to conf.installroot and /var/lib/rpm is implied?
> >
> >
> > the definition is somewhere in rpm. It's just one of rpms many 
> > 'features'.
> >
> > if you set dbPath separately then you can change it's 
> destination, yes.
> 
> The dbpath is set by %{_dbpath} macro in rpm configuration, 
> but /var/lib/rpm might be hardcoded in a few places if dbpath 
> is not set at all.


Thank you. We've actually discovered mutiple rpm databases on our
systems...





More information about the Yum mailing list