if disk name contains target architecture, umount may do more than intended
Consider the following baseline system, when autobuilder
is not actively running:
# mount | grep aarch64
/dev/mapper/aarch64--1--vg-root on / type ext4 (rw,relatime,errors=remount-ro)
/dev/mapper/aarch64--1--vg-storage on /.autobuilder type ext4 (rw,relatime,errors=remount-ro)
In this case, /.autobuilder
is a volume that should not, in itself, be unmounted. We don't want to unmount /
either.
The debug
script as well as autobuilder
itself will incorrectly attempt to umount
these because it uses a simple grep
query to determine which ephemeral volumes need to be unmounted during cleanup.