[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: chroot problems



Lubos Vrbka <lubos.vrbka@gmail.com> writes:

> hi guys,
>
> suddenly i have problems with my amd64 system when trying to run
> applications from my i386 chroot using dchroot. they just fail to run.
>
> strace gives me
> ....
> clone(dchroot: chroot: Operation not permitted
> child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
> child_tidptr=0x2aaaaae02760) = 32220
> --- SIGCHLD (Child exited) @0 (0) ---

You can't strace suid programs as user.

> when i try to chroot inside the chroot (as root) and run the application
> (oocalc, nedit, ...), then it is fine. however the dchroot way doesn't work.
>
> i recently changed hosts.allow/hosts.deny files so i firstly thought
> these might be problems, but after 'removing' them, nothing changed.

Did you update login?

> i also tried to manually dchroot into the chroot as an ordinary user.
> problem is that 'can't open display' - but how do i set display inside
> the chroot? /tmp and /home are bind-mounted. everything worked fine but
> yesterday i realized is no longer so...

export DISPLAY=:0

> i'd be grateful for any hints.
>
> thanks,

MfG
        Goswin



Reply to: