Colin Walters
f2773c1b55
Add "transient" unlock
...
I was thinking a bit more recently about the "live" changes
stuff https://github.com/coreos/rpm-ostree/issues/639
(particularly since https://github.com/coreos/rpm-ostree/pull/2060 )
and I realized reading the last debates in that issue that
there's really a much simpler solution; do exactly the same
thing we do for `ostree admin unlock`, except mount it read-only
by default.
Then, anything that wants to modify it does the same thing
libostree does for `/sysroot` and `/boot` as of recently; create
a new mount namespace and do the modifications there.
The advantages of this are numerous. First, we already have
all of the code, it's basically just plumbing through a new
entry in the state enumeration and passing `MS_RDONLY` into
the `mount()` system call.
"live" changes here also naturally don't persist, unlike what
we are currently doing in rpm-ostree.
2020-08-07 18:57:56 +00:00
..
2017-03-30 19:19:54 +00:00
2020-01-24 13:02:09 -07:00
2020-01-24 13:02:09 -07:00
2020-06-04 13:04:35 +00:00
2020-05-27 21:59:23 +00:00
2020-08-07 18:57:56 +00:00
2019-06-18 14:29:14 +00:00
2020-05-22 13:59:36 -04:00
2020-04-06 19:28:51 +00:00
2020-05-27 21:59:23 +00:00
2018-02-23 22:49:06 +00:00
2017-03-30 19:19:54 +00:00
2018-01-30 20:03:42 +00:00
2017-11-01 17:38:26 +00:00
2017-11-01 17:38:26 +00:00
2018-01-04 12:32:47 +00:00
2016-07-28 10:10:17 +00:00
2018-04-23 18:33:45 +00:00
2019-10-18 15:07:39 +00:00
2018-01-30 20:03:42 +00:00
2020-05-27 15:16:50 +00:00
2020-05-18 18:48:28 +00:00
2016-04-04 14:19:35 +00:00
2018-01-12 19:38:34 +00:00
2016-06-09 21:10:35 +00:00
2016-02-26 08:19:01 -05:00
2016-02-26 08:19:01 -05:00
2020-06-11 18:56:35 +00:00
2020-03-25 15:23:54 +03:00
2020-07-20 13:55:26 -04:00
2018-01-30 20:03:42 +00:00
2018-06-07 17:28:49 +00:00
2020-05-27 21:59:23 +00:00
2019-06-17 15:06:09 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2019-11-07 23:39:10 -05:00
2020-04-22 14:09:54 +00:00
2019-10-29 16:45:29 -04:00
2018-01-30 20:03:42 +00:00
2018-06-27 18:08:28 +00:00
2020-05-29 19:56:11 +02:00
2019-11-01 05:05:53 +00:00
2018-12-10 19:39:23 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2019-04-11 14:28:32 +00:00
2018-06-27 18:08:28 +00:00
2018-01-30 20:03:42 +00:00
2018-06-18 13:21:52 +00:00
2018-01-30 20:03:42 +00:00
2020-04-06 19:28:51 +00:00
2018-08-01 19:59:07 +00:00
2018-10-01 13:23:50 +00:00
2018-01-30 20:03:42 +00:00
2018-12-04 20:38:41 +00:00
2018-12-04 20:38:41 +00:00
2018-12-04 20:38:41 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2019-06-19 17:30:24 +00:00
2018-04-30 17:24:51 +00:00
2019-08-14 12:31:10 +00:00
2018-01-30 20:03:42 +00:00
2018-05-24 21:00:52 +00:00
2019-08-01 02:06:47 +00:00
2019-03-11 13:59:27 +00:00
2018-01-30 20:03:42 +00:00
2019-10-24 19:08:59 +01:00
2019-08-01 02:06:47 +00:00
2019-04-11 14:28:32 +00:00
2019-09-09 13:40:36 +00:00
2019-07-27 03:20:21 +00:00
2020-01-24 13:02:17 -07:00
2018-01-30 20:03:42 +00:00
2018-06-07 17:28:49 +00:00
2019-04-11 14:28:32 +00:00
2019-11-07 23:39:10 -05:00
2019-11-07 21:15:41 +00:00
2020-02-06 23:14:42 +00:00
2020-01-20 20:42:27 -07:00
2020-03-19 10:10:50 -04:00
2020-05-17 13:52:24 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-06-29 21:31:08 +00:00
2019-04-11 14:28:32 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2019-08-01 02:06:47 +00:00
2020-06-16 18:20:54 +03:00
2018-01-30 20:03:42 +00:00
2018-03-05 17:39:35 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2019-12-02 22:48:33 +00:00
2018-01-30 20:03:42 +00:00
2020-03-28 10:35:19 -07:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2019-08-01 02:06:47 +00:00
2020-03-25 15:23:54 +03:00
2018-01-30 20:03:42 +00:00
2020-03-24 12:24:46 +00:00
2018-01-30 20:03:42 +00:00
2020-04-05 18:38:26 +00:00
2018-01-30 20:03:42 +00:00
2020-01-24 13:02:17 -07:00
2018-12-04 20:38:41 +00:00
2020-03-25 15:23:54 +03:00
2019-06-12 15:00:19 +00:00
2018-01-30 20:03:42 +00:00
2020-03-25 15:23:54 +03:00
2018-03-16 19:21:31 +00:00
2020-01-24 13:02:17 -07:00
2018-07-05 17:59:09 +00:00
2020-03-25 15:23:54 +03:00
2018-01-30 20:03:42 +00:00
2020-08-02 12:54:11 +00:00
2019-06-19 17:30:24 +00:00
2020-08-02 12:54:11 +00:00
2018-09-21 15:09:12 +00:00
2018-01-30 20:03:42 +00:00
2019-06-19 17:30:24 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2020-06-17 00:33:47 +00:00
2020-06-16 18:20:54 +03:00
2020-05-22 19:10:32 +00:00
2020-01-20 20:42:27 -07:00
2020-03-25 15:23:54 +03:00
2019-08-01 02:06:47 +00:00
2019-08-01 02:06:47 +00:00
2020-01-16 16:47:41 +01:00
2020-07-21 21:48:51 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2019-04-11 14:28:32 +00:00