Blame SOURCES/0001-switchroot-remount-Neuter-sysroot.readonly-for-now.patch
|
|
99d300 |
From e35b82fb891daee823fcce421ae8f1442b630ea2 Mon Sep 17 00:00:00 2001
|
|
|
99d300 |
From: Jonathan Lebon <jonathan@jlebon.com>
|
|
|
99d300 |
Date: Wed, 20 May 2020 16:18:45 -0400
|
|
|
99d300 |
Subject: [PATCH] switchroot/remount: Neuter sysroot.readonly for now
|
|
|
99d300 |
|
|
|
99d300 |
We're hitting issues with the read-only remounts racing with various
|
|
|
99d300 |
services coming up. Let's neuter it for now until we rework how it
|
|
|
99d300 |
works.
|
|
|
99d300 |
|
|
|
99d300 |
See: https://github.com/coreos/fedora-coreos-tracker/issues/488
|
|
|
99d300 |
---
|
|
|
99d300 |
src/switchroot/ostree-remount.c | 5 ++++-
|
|
|
99d300 |
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
99d300 |
|
|
|
99d300 |
diff --git a/src/switchroot/ostree-remount.c b/src/switchroot/ostree-remount.c
|
|
|
99d300 |
index 326b104f..00e21296 100644
|
|
|
99d300 |
--- a/src/switchroot/ostree-remount.c
|
|
|
99d300 |
+++ b/src/switchroot/ostree-remount.c
|
|
|
99d300 |
@@ -93,7 +93,10 @@ sysroot_is_configured_ro (void)
|
|
|
99d300 |
if (!g_key_file_load_from_file (keyfile, config_path, 0, NULL))
|
|
|
99d300 |
return false;
|
|
|
99d300 |
|
|
|
99d300 |
- return g_key_file_get_boolean (keyfile, "sysroot", "readonly", NULL);
|
|
|
99d300 |
+ if (g_key_file_get_boolean (keyfile, "sysroot", "readonly", NULL))
|
|
|
99d300 |
+ puts ("Ignoring sysroot.readonly config; see https://github.com/coreos/fedora-coreos-tracker/issues/488.");
|
|
|
99d300 |
+
|
|
|
99d300 |
+ return false;
|
|
|
99d300 |
}
|
|
|
99d300 |
|
|
|
99d300 |
int
|
|
|
99d300 |
--
|
|
|
99d300 |
2.25.4
|
|
|
99d300 |
|