Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

livefs: add warning that /etc won't be preserved #986

Closed
wants to merge 1 commit into from

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Sep 12, 2017

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
#40 (myself included).

Printing such a notice was discussed in the initial livefs design
discussions: #639.

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.
@cgwalters
Copy link
Member

@rh-atomic-bot r+ 1413677

@rh-atomic-bot
Copy link

⌛ Testing commit 1413677 with merge ab3b9ea...

rh-atomic-bot pushed a commit that referenced this pull request Sep 12, 2017
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
#40 (myself included).

Printing such a notice was discussed in the initial livefs design
discussions: #639.

Closes: #986
Approved by: cgwalters
@rh-atomic-bot
Copy link

💔 Test failed - status-atomicjenkins

@@ -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!");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

more info? are not preserved in what situation?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the linked issue: #40. This is not unique to livefs, it just makes it more obvious.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm just saying that a little more info for the user in this situation wouldn't be bad. i.e. any changes made to /etc before reboot will not be preserved after reboot!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha. Tweaked in #988.

@jlebon
Copy link
Member Author

jlebon commented Sep 12, 2017

@rh-atomic-bot retry

@rh-atomic-bot
Copy link

⌛ Testing commit 1413677 with merge 2a5ecf7...

@rh-atomic-bot
Copy link

☀️ Test successful - status-atomicjenkins
Approved by: cgwalters
Pushing 2a5ecf7 to master...

@jlebon jlebon deleted the pr/livefs-etc-warning branch October 3, 2017 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants