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

etc tombstone removal #834

Closed
kfox1111 opened this issue Oct 16, 2024 · 4 comments
Closed

etc tombstone removal #834

kfox1111 opened this issue Oct 16, 2024 · 4 comments
Labels
area/client Related to the client/CLI

Comments

@kfox1111
Copy link

If new files show up in an image destined for /etc, they show up. If a user ever writes/overwrites a file, it gets moved to persisted state, so theirs always wins. So far so good.

If you delete the file from etc, its delete is persisted too. So, seems like there is a tombstone somewhere marking that state. I'd like to find and delete the tombstone so that it reverts back to using the file provided by the image. How do you do this?

@cgwalters
Copy link
Collaborator

cp /usr/etc/foo /etc/foo

@kfox1111
Copy link
Author

Oh, interesting.

@kfox1111
Copy link
Author

Would it make sense to add something to bootc to make that more discover-able?

bootc reset-etc /etc/foo

or something that wraps around that?

@cgwalters cgwalters added the area/client Related to the client/CLI label Oct 16, 2024
@cgwalters
Copy link
Collaborator

Yes, I think it's a sub-thread of #404 so marking as a dup.

@cgwalters cgwalters closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/client Related to the client/CLI
Projects
None yet
Development

No branches or pull requests

2 participants