diff --git a/crates/initramfs/src/mount.rs b/crates/initramfs/src/mount.rs index b4f2a4d8..5dea8c9d 100644 --- a/crates/initramfs/src/mount.rs +++ b/crates/initramfs/src/mount.rs @@ -306,7 +306,7 @@ pub fn setup_root(args: Args) -> Result<()> { // etc + var let state = open_dir(open_dir(&sysroot, "state/deploy")?, image.to_hex())?; - mount_subdir(&new_root, &state, "etc", config.etc, MountType::Overlay)?; + mount_subdir(&new_root, &state, "etc", config.etc, MountType::Bind)?; mount_subdir(&new_root, &state, "var", config.var, MountType::Bind)?; if cfg!(not(feature = "pre-6.15")) {