On Sat, Aug 20, 2016 at 10:30:22PM +0200, Valentin Lorentz wrote:
> Hello, upstream here
> 
> This issue is caused by the test suite calling a command which uses
> ping. Calling ping from a shell shows the same error:
> 
> $ eatmydata ping -W 1 -c 1 127.0.0.1 > /dev/null
> ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be
> preloaded (cannot open shared object file): ignored.
> 
> Limnoria detects ping's stderr is not empty, so it raises this error.
> 
> I believe this is the appropriate behavior, and that the bug is actually
> in ping.
> What do you think?

AFAIK, it's the dynamic linker (ld.so) who shows the error, not ping
itself.

Could maybe the test suite discard all lines from stderr containing
the string "libeatmydata.so" before checking if it's empty o not?

I don't know what the "proper" or "right" fix would be, but for me a
simple workaround like that would be more than enough.

Thanks.

Reply via email to