generated from linux-system-roles/template
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: do not use become for changing hostdir ownership, and expose sub…
…uid/subgid info When creating host directories, do not use `become`, because if it needs to change ownership, that must be done by `root`, not as the rootless podman user. In order to test this, I have changed the role to export the subuid and subgid information for the rootless users as two dictionaries: `podman_subuid_info` and `podman_subgid_info`. See `README.md` for usage. NOTE that depending on the namespace used by your containers, you might not be able to use the subuid and subgid information, which comes from `getsubids` if available, or directly from the files `/etc/subuid` and `/etc/subgid` on the host. QE: The test tests_basic.yml has been extended for this. Signed-off-by: Rich Megginson <[email protected]>
- Loading branch information
Showing
5 changed files
with
79 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters