Closed Moonlight63 closed 2 years ago
I can confirm that the same issue exists on Ubuntu 20.04. Reverting back to https://github.com/guillaumedsde/alpine-qbittorrent-openvpn/commit/d6b9285e298bd8a192928e124ee198e7bdefee45 solves the issue.
Good, it's not just me then!
Need to add executable bit to rootfs/etc/
cont-init.d/01-setup-permissions cont-init.d/02-setup-openvpn cont-init.d/03-setup-iptables
openvpn/modify-openvpn-config.sh
Maybe this too:
openvpn/modify-openvpn-config.sh
Woke up to this. Thanks for submitting it!
Need to add executable bit to rootfs/etc/
cont-init.d/01-setup-permissions cont-init.d/02-setup-openvpn cont-init.d/03-setup-iptables
openvpn/modify-openvpn-config.sh
Maybe this too:
openvpn/modify-openvpn-config.sh
Is there a way for me to change the file permissions without modifying the docker container or creating a new one? In my case, I am kind of relying on my script pulling the container straight from docker hub, I'd rather not have to clone the repo and keep a local copy of the docker files. It would be simple enough to solve if I was able to make a fork and change what I need, but I'm not. Maybe if there is a way to run a command in the container before the container runs its init?
Just switched my docker installation from snapcraft to apt. Started seeing this
Hi everyone, apologies for that, I had not pinned the s6 overlay's version, so rebuilding the image upgade it to 3.x which deprecates modifying permissions at runtime.
This project lacks any form of automated testing which is why this change was committed a bit too blindly.
Permission management is something that needs refactoring, in the meantime, I've reverted back to installing the s6 overlay version 2.x from the github releases (as Alpine repositories don't keep older releases). I've tested it locally and everything seems to work correctly as of this commit.
Apologies again for the troubles, let me know if everything is fixed, I will close the issue
@guillaumedsde No issues with latest on my end.
perfect, thanks for the feedback, closing the issue, but don't hesitate to repost/reopen if the issue arises again :)
Working for me as well.
Information
Permission issue with latest update. I don't know what exactly changed between the last tag and latest, because it looks like a simple version bump, but the container no longer starts. Here's the output:
Rolling the container back to tag d6b9285 solves the problem.
Current setup
information about your current setup
python
,latest
,32242d1
...)603b78e07727
)docker-compose.yml
file ordocker run
commandhow did you start the container? (don't forget to use backticks for creating a proper code block)
I am running the container as part of my LibreELEC installation, so yes, it is a little different, but it's still just docker. This is the run command inside of a bash script that is called by a systemd service. The variables are set by the GUI interface in kodi. I know the run command works fine because it still works with the older tag.
Attempted Fix(es)
What you have tried in order to fix the issue (if anything)
Rolled back to previous container tag: d6b9285. That fixes everything. I tried running with different PUID PGID variables and confirmed file permissions at all mount points. That doesn't seem to be the problem. The problem appears to be with s6 and permissions inside the container. I also tried the python tag, and 66dc184. They also fail. The development tag also works fine as of this very moment, but I will stick with the fixed tag for now since it won't get the new update.