Re: chroot problems
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
hi,
> You can't strace suid programs as user.
ok, good to know that :)
>> 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?
you mean the application? if i recall correctly i recently updated my
sid i386 chroot; the amd64 'mother' system hasn't been updated for some
time now (i didn't want to upgrade due to the reported xorg problems and
others, since i don't have time to play with my system at the moment)
>> 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
ok, this works
export DISPLAY=:0
dchroot -d
nedit
however doing it like
export DISPLAY=:0
nedit
where nedit is symbolic link to do_chroot script containing among others
exec dchroot -d "`basename $0`" "$ARGS"
doesn't work and produces the following error:
/usr/bin/nedit: /usr/bin/nedit: cannot execute binary file
i also tried to explicitly set the DISPLAY variable in the do_chroot
script,but no change.
so what needs to be changed to have the dchroot way working again?
thanks for help,
lubos
- --
Lubos
_@_"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFETyYu5EqL/d2IfcARA5f4AJ45d805xQ5Ttx/aNPSPzpgnplE4RQCff2yV
dtId77M68owy406YWo4B948=
=eN+J
-----END PGP SIGNATURE-----
Reply to: