Bug#679377: Segmentation fault when initramfs is booting
On Saturday 07 July 2012, Michael Tokarev wrote:
> On 05.07.2012 15:12, Jordi Pujol wrote:
> >>> the patch "shell-ash-export-HOME.patch" causes a segmentation fault when
> >>> initramfs boots,
> >>> I believe that this fault occurs the first time that initramfs looks for
> >>> some executable in the initramfs filesystem,
> Big thanks to Denys Vlasenko, the issue has been identified.
> I added a temporary workaround to this patch - making
> the default PATH variable to be non-const, ie, writable,
> this way awk will be able to write to it. No other parts
> of the code tries to write to it, so it is a safe change.
Thanks a lot for your and Denys Vlasenko's efforts, this workaround in
busybox 1:1.20.0-5 works fine for my use case :)