Skip to content

Commit

Permalink
livefs: add warning that /etc won't be preserved
Browse files Browse the repository at this point in the history
Since the whole premise of livefs is that you stay in your deployment
just a little longer, it becomes much more likely for people to run into
coreos#40 (myself included).

Printing such a notice was discussed in the initial livefs design
discussions: coreos#639.
  • Loading branch information
jlebon committed Sep 12, 2017
1 parent bed10f6 commit 1413677
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/daemon/rpmostreed-transaction-livefs.c
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,9 @@ livefs_transaction_execute_inner (LiveFsTransaction *self,
return FALSE;
}

/* XXX: right now we don't have a good solution for this */
rpmostree_output_message ("WARNING: changes to /etc are not currently preserved!");

/* Write out the origin as having completed this */
if (!write_livefs_state (sysroot, booted_deployment, NULL, target_csum, error))
return FALSE;
Expand Down

0 comments on commit 1413677

Please sign in to comment.