Skip to content

Commit

Permalink
switchroot/remount: Neuter sysroot.readonly for now
Browse files Browse the repository at this point in the history
We're hitting issues with the read-only remounts racing with various
services coming up. Let's neuter it for now until we rework how it
works.

See: coreos/fedora-coreos-tracker#488
  • Loading branch information
jlebon committed May 20, 2020
1 parent be62a01 commit e35b82f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/switchroot/ostree-remount.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ sysroot_is_configured_ro (void)
if (!g_key_file_load_from_file (keyfile, config_path, 0, NULL))
return false;

return g_key_file_get_boolean (keyfile, "sysroot", "readonly", NULL);
if (g_key_file_get_boolean (keyfile, "sysroot", "readonly", NULL))
puts ("Ignoring sysroot.readonly config; see https://github.com/coreos/fedora-coreos-tracker/issues/488.");

return false;
}

int
Expand Down

0 comments on commit e35b82f

Please sign in to comment.