vserver & rpm 4.4.9

Elan Ruusamäe glen at delfi.ee
Tue Mar 4 19:57:06 CET 2008


On Tuesday 04 March 2008 20:43:40 Elan Ruusamäe wrote:
> On Tuesday 04 March 2008 19:06:22 Jan Rekorajski wrote:
> > On Tue, 04 Mar 2008, Elan Ruusamäe wrote:
> > > anyone have vserver in th?
> > > does your vrpm/vpoldek spit out these errors?
> > >
> > > ERROR: ld.so: object '/usr/lib64/util-vserver/rpm-fake.so' from
> > > LD_PRELOAD cannot be preloaded: ignored.
> > >
> > > that is using external pkg management
> >
> > Lots of them, didn't have time to investigate as everything seems to
> > work despite those.
> >
> > Janek
>
> quick fix:
> # echo '%_tmppath      /tmp' >>
> /etc/vservers/<guest>/apps/pkgmgmt/base/rpm/etc/macros

so the trouble maker is this difference:

rpm 4.4.2:
$ grep ^%_tmppath /usr/lib/rpm/macros
%_tmppath               %{_var}/tmp

rpm 4.4.9:
$ grep ^%_tmppath /usr/lib/rpm/macros
%_tmppath               %(echo "${TMPDIR:-/tmp}")

-- 
glen


More information about the pld-devel-en mailing list