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

Some files are not properly synched in /etc when performing an update #91

Closed
matbme opened this issue Aug 7, 2023 · 0 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@matbme
Copy link
Member

matbme commented Aug 7, 2023

Files like /etc/abroot/packages.* are not synced when performing an update or apply operation.

My suspicion is that line 577 in core/system.go (currently newEtc := filepath.Join(systemNew, "/etc") ) needs to be replaced with newEtc := filepath.Join(systemNew, "/.system/etc"), since the new root's /etc is an overlay mount combining /.system/etc and /var/lib/abroot/etc/[root-label].

@matbme matbme added the bug Something isn't working label Aug 7, 2023
@matbme matbme self-assigned this Aug 7, 2023
@matbme matbme added this to 2 - Orchid Aug 7, 2023
@matbme matbme moved this to Todo in 2 - Orchid Aug 7, 2023
@matbme matbme closed this as completed in 42b33ea Aug 7, 2023
@github-project-automation github-project-automation bot moved this from Todo to Done in 2 - Orchid Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

1 participant