I've never really dug into initramfs-tools enough to know for sure, but my guess has always been that the rootfs got remounted based on what's in /etc/fstab, which as far as I know is handled by systemd. But perhaps the initramfs remounts the rootfs read-write, and then it is remounted a 3rd time based on what's in /etc/fstab? (Which could technically be read-only if the ro option was specific in fstab).
As far as our imaging system... yes, we have a golden image tarball which we unpack after we create and mount the needed partitions. But I already had work-arounds in our imaging system before I filed these bugs, needed because we started shipping Ubuntu 15.10 the day it was released :)
Simon,
I've never really dug into initramfs-tools enough to know for sure, but my guess has always been that the rootfs got remounted based on what's in /etc/fstab, which as far as I know is handled by systemd. But perhaps the initramfs remounts the rootfs read-write, and then it is remounted a 3rd time based on what's in /etc/fstab? (Which could technically be read-only if the ro option was specific in fstab).
As far as our imaging system... yes, we have a golden image tarball which we unpack after we create and mount the needed partitions. But I already had work-arounds in our imaging system before I filed these bugs, needed because we started shipping Ubuntu 15.10 the day it was released :)
Thanks!