Re: [apparmor] test-aa-easyprof.py fails because of UsrMove

2014-03-05 Thread Christian Boltz
Hello, Am Dienstag, 4. März 2014 schrieb Kshitij Gupta: On Sat, Mar 1, 2014 at 3:41 AM, Christian Boltz wrote: test-aa-easyprof.py depends on /bin/ls being a real binary. In practise, it is a symlink to /usr/bin/ls on some distributions. ... @Christian With the patch from @Steve in place I

Re: [apparmor] test-aa-easyprof.py fails because of UsrMove

2014-03-05 Thread Steve Beattie
On Wed, Mar 05, 2014 at 09:27:29PM +0100, Christian Boltz wrote: I finally applied Steve's small change to preserve the tempdirs (and another one to tell me the used tempdir - BTW: is there a clean way to do this? I had to abuse a self.assertTrue(0 == 1, tempdir %s % self.tempdir) because a

Re: [apparmor] test-aa-easyprof.py fails because of UsrMove

2014-03-05 Thread Christian Boltz
Hello, Am Mittwoch, 5. März 2014 schrieb Steve Beattie: On Wed, Mar 05, 2014 at 09:27:29PM +0100, Christian Boltz wrote: I finally applied Steve's small change to preserve the tempdirs (and another one to tell me the used tempdir - BTW: is there a clean way to do this? I had to abuse a

Re: [apparmor] test-aa-easyprof.py fails because of UsrMove

2014-03-03 Thread Seth Arnold
On Sat, Mar 01, 2014 at 09:41:38PM +0100, Christian Boltz wrote: @@ -2482,6 +2482,11 @@ # Now that we have everything we need, import aa-easyprof import easyprof + # work around UsrMove +ls_path='/bin/ls' +if os.path.islink(ls_path): +ls_path='/usr/bin/ls'

Re: [apparmor] test-aa-easyprof.py fails because of UsrMove

2014-03-03 Thread Kshitij Gupta
Hello, On Sat, Mar 1, 2014 at 3:41 AM, Christian Boltz appar...@cboltz.de wrote: Hello, test-aa-easyprof.py depends on /bin/ls being a real binary. In practise, it is a symlink to /usr/bin/ls on some distributions. The patch below fixes this for me, but I know it isn't a good solution

Re: [apparmor] test-aa-easyprof.py fails because of UsrMove

2014-03-01 Thread Kshitij Gupta
Hello, On Sat, Mar 1, 2014 at 3:41 AM, Christian Boltz appar...@cboltz.de wrote: Hello, test-aa-easyprof.py depends on /bin/ls being a real binary. In practise, it is a symlink to /usr/bin/ls on some distributions. The patch below fixes this for me, but I know it isn't a good solution

Re: [apparmor] test-aa-easyprof.py fails because of UsrMove

2014-03-01 Thread Christian Boltz
Hello, Am Sonntag, 2. März 2014 schrieb Kshitij Gupta: On Sat, Mar 1, 2014 at 3:41 AM, Christian Boltz wrote: test-aa-easyprof.py depends on /bin/ls being a real binary. In practise, it is a symlink to /usr/bin/ls on some distributions. The patch below fixes this for me, but I know it

Re: [apparmor] test-aa-easyprof.py fails because of UsrMove

2014-02-28 Thread Steve Beattie
[Skipping the issue with UsrMove and ls for the moment.] On Fri, Feb 28, 2014 at 11:11:02PM +0100, Christian Boltz wrote: Even with this fixed, I still get two failures in utils make check: == FAIL: