vserver & rpm 4.4.9

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


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

the problem is that %() macros are expanded with system(2),

but that call is not overloaded by rpm-fake.so, which should unset LD_PRELOAD variable.
currently rpm-fake.so overloads just execv()/rpm_execcon().

--
glen


More information about the pld-devel-en mailing list