Fedora Account System
Red Hat Associate
Red Hat Customer
do_remount() falls back from mount_setattr() to mount(2)/statfs(2) on the string /proc/self/fd/N. The queued read-only remounts run after pivot_root, so that path resolves through the container's /proc, and an image that gets a volume placed over /proc/1 redirects the remount to a different mount. The read-only remount of the rootfs is then applied elsewhere: crun reports success, the container starts, and the workload can write to a rootfs the operator requested read-only.