On 07.07.2012 23:33, Denys Vlasenko wrote:
[]
>>> The debian-specific patch in question is this (one-liner):
>>>
>>> shell/ash.c:
>>> - { VSTRFIXED|VTEXTFIXED , bb_PATH_root_path, changepath },
>>> + { VSTRFIXED|VTEXTFIXED|VEXPORT, bb_PATH_root_path, changepath },
>>>
>>> so it me
Hi Michael,
I'm still mentioning to look in detail on the content of the
environment. I know awk itself shell not need PATH etc., but Busybox
does. As Busybox is a multi call binary it contains common code. First
to invoke the applet and second for internal library functions. Some of
those code ne
On 06.07.2012 15:03, Laurent Bercot wrote:
>> As I stated in my initial email, when running awk from a subshell
>> it works. I know PID=1 is special, and for one, it can't be straced
>> or debugged.
>
> Actually, on some Linux versions (I'm not certain which ones though,
> but it should work on
> As I stated in my initial email, when running awk from a subshell
> it works. I know PID=1 is special, and for one, it can't be straced
> or debugged.
Actually, on some Linux versions (I'm not certain which ones though,
but it should work on modern kernels), process 1 *can* be straced:
somehow
On 06.07.2012 04:10, ra...@gmx.de wrote:
> Hi Michael !
>
>> I've an "interesting" case here, when busybox (in debian)
>> segfaults when run in initramfs as pid == 1, when invoking
>> awk applet (PREFER_APPLETS is set to yes). I can't trigger
>> it with pid != 1, and since pid=1 is special in lin
Hi Michael !
> I've an "interesting" case here, when busybox (in debian)
> segfaults when run in initramfs as pid == 1, when invoking
> awk applet (PREFER_APPLETS is set to yes). I can't trigger
> it with pid != 1, and since pid=1 is special in linux,
> I can't really debug it too.
I hit this pr
Hello.
I've an "interesting" case here, when busybox (in debian)
segfaults when run in initramfs as pid == 1, when invoking
awk applet (PREFER_APPLETS is set to yes). I can't trigger
it with pid != 1, and since pid=1 is special in linux,
I can't really debug it too.
To complicate things further,