From: Sage Weil Date: Wed, 6 Feb 2013 07:01:25 +0000 (-0800) Subject: rbd: set env before running sudo X-Git-Tag: v0.94.10~27^2^2~364^2~1033^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6099045990a4491be5afac9ee35247426dc644b5;p=ceph.git rbd: set env before running sudo Signed-off-by: Sage Weil --- diff --git a/teuthology/task/rbd.py b/teuthology/task/rbd.py index 47e5c7935290e..39dc56601d008 100644 --- a/teuthology/task/rbd.py +++ b/teuthology/task/rbd.py @@ -190,8 +190,8 @@ def dev_create(ctx, config): remote.run( args=[ - 'sudo', 'LD_LIBRARY_PATH={tdir}/binary/usr/local/lib'.format(tdir=testdir), + 'sudo', '{tdir}/enable-coredump'.format(tdir=testdir), '{tdir}/binary/usr/local/bin/ceph-coverage'.format(tdir=testdir), '{tdir}/archive/coverage'.format(tdir=testdir), @@ -219,8 +219,8 @@ def dev_create(ctx, config): (remote,) = ctx.cluster.only(role).remotes.keys() remote.run( args=[ - 'sudo', 'LD_LIBRARY_PATH={tdir}/binary/usr/local/lib'.format(tdir=testdir), + 'sudo', '{tdir}/enable-coredump'.format(tdir=testdir), '{tdir}/binary/usr/local/bin/ceph-coverage'.format(tdir=testdir), '{tdir}/archive/coverage'.format(tdir=testdir),