[uClibc] Re: chroot issues with busybox+uclibc (ShadowRage)

Peter S. Mazinger ps.m at gmx.net
Tue Oct 21 15:04:54 UTC 2003


> The same happens to me:
> I do chroot to the uClibc dev image copied to some directory.
> Host environment: RedHat 7.3, chroot from sh-utils-2.0.11-14.i386.rpm
> bash (2.05b + 4 "official" patches), env (busybox 1.00pre3)
> If I replace env with that from coreutils-5.0, it works.

related strace output is:
execve("/usr/bin/env", ["/usr/bin/env", "-i", "HOME=/root", "TERM=linux", "/bin/bash", "--login"], [/* 17 vars */]) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE, {B38400 opost isig icanon echo ...}) = 0
getpid()                                = 11968
brk(0)                                  = 0x81da6e8
brk(0x81dd6e8)                          = 0x81dd6e8
brk(0x81de000)                          = 0x81de000
brk(0x81df000)                          = 0x81df000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Peter

-- 
Peter S. Mazinger <ps.m at gmx.net>   ID: 0xA5F059F2    NIC: IXUYHSKQLI
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2



____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu



More information about the uClibc mailing list