vserver & rpm 4.4.9
Elan Ruusamäe
glen at delfi.ee
Tue Mar 4 18:30:16 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.
vserver initial build however failed, as rc=1 was returned.
so far i managed to collect information from #vserver and #rpm:
- in rpm 4.4.9 execve() is replaced with rpm_execcon if compiled with selinux, however the error is still present if i compile rpm without selinux
- daniel_hozac sais the problem is because LD_PRELOAD is not unset as execv() overloaded function is not called from rpm
but i noticed i get different error if i put the rpm-fake.so inside vserver, so i'd rathet suspect the chroot which is done earlier in 4.4.9 is the cause.
but imho LD_PRELOAD should load library even before /bin/rpm reaches main() ...
17:10:19 root[pts/1]@toothy /vservers/builder64# vrpm builder64 -- -Uhv rpm-base-4.4.9-46.1.amd64.rpm
Preparing... ERROR: ld.so: object '/usr/lib64/util-vserver/rpm-fake.so' from LD_PRELOAD cannot be preloaded: ignored.
########################################### [100%]
package rpm-base-4.4.9-46.1 is already installed
17:10:21 root[pts/1]@toothy /vservers/builder64# install /usr/lib64/util-vserver/rpm-fake.so .//usr/lib64/util-vserver/rpm-fake.so
17:11:15 root[pts/1]@toothy /vservers/builder64# vrpm builder64 -- -Uhv rpm-base-4.4.9-46.1.amd64.rpm
Preparing... rpm-fake.so: chdir(): No such file or directory
rpm-fake.so: failed to initialize communication with resolver
########################################### [100%]
package rpm-base-4.4.9-46.1 is already installed
17:11:18 root[pts/1]@toothy /vservers/builder64#
--
glen
More information about the pld-devel-en
mailing list