RE: old code questions
"Gallie, Keith" <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
> 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...