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
[Docker container] Add 2 missing directories to fix permissions for #2181
Conversation
Following directories are owned by `puppet` user in container. If UID/GID is changed, those directories permissions must be updated too.
I think we probably want to do the same in https://github.com/puppetlabs/pe-puppetserver/blob/kearney/docker/pe-puppetserver/docker-entrypoint.d/30-set-permissions.sh#L3 @nwolfe / @cthorn42 UPDATE: pe-puppetserver is actually setup a little different, so these changes are unnecessary there. puppetserver container will probably pick up some of those changes (around |
@jay7x have you been configuring a different user to match one on the host system? I'd be interested to hear some more details about your setup if you're able to share. Thanks! |
@Iristyle yes, I was trying to setup dedicated puppet CA container with predictable UID/GID on host system. So I crafted passwd & group files and mapped them to the container's /etc. Actually just after that I realised "to be predictable" is good but not really required :-D |
I'm working on making some of the internal paths consistent with pe-puppetserver and therefore some of these locations may change. I'll unblock this PR when they're merged in. |
@jay7x we can merge this for now if you rebase / update your PR. We still want to do the path changes I mentioned, but that won't be happening for a bit since we don't have the bandwidth, and this is still a useful change I think? |
We're updating our default branch name from master to 6.x, retargeting this. |
|
We lost the thread on this. My apologies. I've created #2615 to provide the request but rebased onto main and done by someone who has signed the CLA. |
Following directories are owned by
puppet
user in container. If UID/GID is changed, those directories permissions must be updated too.