[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] commandtest fails when executed with preloaded libraries

On Thu, Jan 06, 2011 at 02:56:21PM +0100, Diego Elio Pettenò wrote:
> In Gentoo we sandbox software installation with a software called
> sandbox, which basically is a preloaded library that wraps around a
> number of file access functions.
> This method seems to break commandtest because the environment now has a
> LD_PRELOAD variable in it, which is not accounted for in the
> pre-generated log files.
> Any idea how I should go about to solve this beside adding LD_PRELOAD to
> the log files themselves for Gentoo?

We should add


to commandtest.c, because although we want these env variables
in normal usage of the virCommandPtr APIs, they're not desirable
in this test case. Since commandtesthelper doesn't do anything
to the system beyond creating a logfile, I imagine it'd work
fine without gentoo's LD_PRELOAD


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]