On 2019-01-26 at 07:55 +0000, Robert White wrote: > I've already gone through and replaced or refactored all the > double-square-bracket evaluations with single-square-bracket > expressions, and otherwise looked for any explicit arithmatic contexts > that might be confusing the issue. > > The current state is hideous, which is why I need to back out the hacks; > but the ugly hacks went in because of the indexing errors, so something > is fishy. > > --Rob.
I would start by checking very carefully the shell that is getting run on that initramfs. While it is likely some kind of bash (usually initramfs use a lighter shell), given that it is not choking much more loudly, it might be a different version of bash than the one you expected, it might not have all the libraries that are in the normal userland or even the ulimits could be affecting the outcome... Good chase!