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

Use non-FHS path as default for persistent state storage #1830

Closed
frelon opened this issue Sep 19, 2023 · 1 comment · Fixed by #1866
Closed

Use non-FHS path as default for persistent state storage #1830

frelon opened this issue Sep 19, 2023 · 1 comment · Fixed by #1866
Labels
Milestone

Comments

@frelon
Copy link
Contributor

frelon commented Sep 19, 2023

Right now we mount the persistent partition to /usr/local and put state-overlays/binds in /usr/local/.state.

This hides any applications installed in a derivative in /usr/local and I would propose we use some other path as default for this (/.persistent or /run/elemental/persistent comes to mind).

Users would still be able to make /usr/local into a persistent path, but our default would not mess with users expectations of a new system.

@davidcassany
Copy link
Contributor

davidcassany commented Sep 22, 2023

Yes we were wondering about that in the past and I think it actually makes a lot of sense. I think I'd vote to /run/elemental/persistent. This would also allow us to move as much as possible files introduced with elemental init into /etc or /usr/local, so we do not mess with distro provided stuff.

@kkaempf kkaempf moved this to 🗳️ To Do in Elemental Sep 22, 2023
@kkaempf kkaempf added this to the 2024-Q1-2.8x milestone Sep 22, 2023
@frelon frelon linked a pull request Sep 27, 2023 that will close this issue
@frelon frelon linked a pull request Nov 29, 2023 that will close this issue
@github-project-automation github-project-automation bot moved this from 🗳️ To Do to ✅ Done in Elemental Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
3 participants