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

Draft: install-podman: prefix choosing and system reset fixes #718

Closed
wants to merge 0 commits into from

Conversation

Meister1593
Copy link
Contributor

So while i was making my script (shameless plug) that heavily utilized rootless podman functionality, i noticed that something odd happening with system and non system installations of distrobox.
So it took me a while to realize that it was modifying my home folder podman containers and actually resetting them (!).

I changed installation script a bit to utilise correct prefix if it was specified and excluded podman system commands from being ran at all as they are probably hardcoded to home folder and i didn't find a way to specify prefix for it. Not using them anyway doesn't matter for prefixed installation as prefix is already known.

@Meister1593 Meister1593 changed the title Podman install script prefix fixes install-podman: prefix choosing and system reset fixes Apr 23, 2023
@Meister1593
Copy link
Contributor Author

I will leave this mr as draft as i discover more things attached to this as not being too portable

@Meister1593 Meister1593 changed the title install-podman: prefix choosing and system reset fixes Draft: install-podman: prefix choosing and system reset fixes Apr 27, 2023
@Meister1593
Copy link
Contributor Author

Before proceeding, podman issue needs to be figured out/adressed

@89luca89
Copy link
Owner

89luca89 commented May 2, 2023

Thanks a lot @Meister1593 for this work!
Let me know when this is done for you 👍

@Meister1593
Copy link
Contributor Author

Meister1593 commented May 2, 2023

Thanks a lot @Meister1593 for this work! Let me know when this is done for you +1

Yeah this is currently pretty much done, but without rundir fixes that are required so that it won't ever interfere with existing containers (and it will, i did find it out), so it's kindof blocked by this:
containers/storage#1587

@89luca89
Copy link
Owner

89luca89 commented May 2, 2023

Interesting, let's keep an eye on that and revisit in the future :)
Thanks a lot for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants