-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
/etc/services.d/bazarr/run is no longer marked as executable, breaking s6 read-only root #94
Comments
Bro chill, we got it. |
The run files were never marked as executable in our images. S6 v2 handled them correctly. S6 v3 expects them marked executable, which our baseimage corrects during init. But I'm guessing that all those extra compose arguments and vars you're adding (for whatever reason) are interfering with that process. Remove those and it will work as expected. In other words, we never supported your custom config so there is no regression as far as we're concerned. It all works fine with the sample compose yaml we provide. |
@aptalca Well it shouldn't be hard to mark the run files executable so that there's no need for that during init. Alternatively, the baseimage could follow S6_READ_ONLY_ROOT and mark it executable in the correct location. There's no need to guess, it is very likely the cause because the container is R/O so nothing can be corrected too late. The reasons for enforcing immutable infrastructure are many - clustered setups, no hidden state and better security. I also wouldn't say that you didn't support, it's just that now it's broken and there's barely any reason for it to be so. |
not hard?? yeah, because you're not the one who has to PR hundreds of repos, babysit the builds and do the reviews and merges.
Baseimage already marks them executable in the correct location. That's why it works for everyone else.
We disagree |
Just like the switch to S6 v3, it might be time-consuming, but not hard. A fix would be quite universal.
Well it doesn't,
I don't understand the negative attitude, it's one octet to modify in Dockerfile. Would you accept a few PRs to fix this? |
This is not fixable in the baseimage unfurtunatly, thats where the time comes in. The current handling is to let s6 mark these as executable on boot. |
Hmm. But in theory the part that instructs S6 to mark these as executable could in theory be updated to follow |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Unstale. I still semi-manually fix the containers by |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Note: Quite a few linuxserver containers broke like this relatively recently
Expected Behavior
The file "/root/etc/services.d/bazarr/run" is no longer marked executable in the container, configurations utilizing S6_READ_ONLY_ROOT and what mark the root read-only will fail. This is a regression compared to the previous builds.
Current Behavior
The
./run
file of the bazarr service isrw-rw-r--
instead ofrwxrw-r--
causing the following error message:One
chmod
in the container fixes that.Steps to Reproduce
Add the snippet provided below to your compose file.
Similar symptoms or issues:
init
as default command rocker-org/rocker#202Environment
OS: Ubuntu 22.04
CPU architecture: arm64
How docker service was installed: Official repos
Command used to create docker container
The text was updated successfully, but these errors were encountered: