Comment 9 for bug 2038945

Revision history for this message
Dave Jones (waveform) wrote :

A few additional notes on this:

In answer to Łukasz's question of when this started, presumably at the point we started building the pi images with ubuntu-image instead of livecd-rootfs. However, this specific failure (OOM killed) didn't occur in the beta so I suspect we were "sailing close to the wind" with memory during localedef and just about got away with it. That brings me onto...

I've implemented a workaround for this; in the OOM output you can see the next biggest process is multipathd which is something we simply don't care about on Pi. I've added "multipath=off" to the classic pi-gadget to disable running multipathd on boot (without actually removing the package or changing our seeds) and this frees up enough that the initial boot succeeds on both Pi Zero 2W and 3A+. So, we're still sailing close to the wind with localedef and ideally wouldn't be running it at all, but if the images are re-spun with that change they will at least survive first boot ... until someone runs localedef with other things loaded :)