severity 527765 normal
tags 527765 wontfix
thanks

Thank you very much for the bug report, Daniel.  The behavior you are
seeing is actually expected, but we should maybe be more clear about
how to get around it.

What you are seeing is a failure in the monkeysphere test harness,
which is called by dh_auto_test.  As the error message says, the
failure in the test harness is caused by unacceptable permissions on
the TMPDIR being used by the test harness to test ssh connections.
The monkeysphere test harness builds up ssh client/server environments
to test monkeysphere-intermediated ssh connections.  As required by
ssh, the directory tree of certain ssh files may not have "other"
writability.  '/tmp' does have writability for "other", and therefore
the test is failing when the harness tries to build the ssh client
environment there and sees the improper permissions.

The solution to this problem is to specify a TMPDIR that has proper
writability restictions for the user running the test harness.
Something like the following should be sufficient:

export TMPDIR=~/tmp
mkdir -p "$TMPDIR"
chmod 755 "$TMPDIR"

Note: there is a small bug in the output of the test harness log that
has been fixed upstream.  The output should probably be reading:

> ...
> ms: checking path permission '/tmp'...
> ms: improper group or other writability on path '/tmp':
> ms:  group: w, other: w
> ...

which would indicate that '/tmp' has unacceptable uo+w permissions.

I assume that pbuilder accepts the TMPDIR environment variable.  I'm
not super familiar with pbuilder myself, though, so hopefully someone
else can comment on that.

We should probably modify the test harness to output a message more
clearly why the test failed, and how to get around it.

I've tagged this bug "wontfix", since this behavior is intended.  I
won't close the bug yet, though, in case there are any other comments
or opinions about how to do things differently.

jamie.

Attachment: signature.asc
Description: Digital signature

Reply via email to