On Mon, Apr 03, 2006 at 05:02:51PM +0200, Matteo Croce wrote:
> Package: dchroot
> Version: 0.12
> Severity: grave
> Justification: renders package unusable

> All programs can't be started in the i386 chroot.
> I ran strace on dchroot and i get ENOPERM on chroot() as user
> and a very weird 'umovestr: Input/output error' on execve("/bin/bash")
> as root.
> dchroot is setuid root, so ENOPERM should not happen:

It will if you try to run strace on it.  A user process (strace) can't
ptrace a process owned by a different user (dchroot), so dchroot ends up
losing its suid permissions when run under strace.

You might try an strace as root instead.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to