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

[cont-init.d] 05-changer-uid-gid.sh: exited 267. - Will not start #1103

Closed
four43 opened this issue May 21, 2022 · 4 comments
Closed

[cont-init.d] 05-changer-uid-gid.sh: exited 267. - Will not start #1103

four43 opened this issue May 21, 2022 · 4 comments

Comments

@four43
Copy link

four43 commented May 21, 2022

Versions

(I cannot figure out how to get into your image with a shell. Command and entrypoint changes didn't work.)

Docker Image: 2022.04.3

  • Pi-hole: ???
  • AdminLTE: ???
  • FTL: ???

Platform

  • OS and version: Raspberry Pi OS on Buster
  • Platform: Raspberry Pi (v1) B+ ancient potato computer, running via Docker Image 2022.04.3

Expected behavior

Image starts up without errors

Actual behavior / bug

Not starting and a continuous loop of:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] 01-resolver-resolv: applying...       
[fix-attrs.d] 01-resolver-resolv: exited 0.      
[fix-attrs.d] done.                                                                                                                                                                                                                                    
[cont-init.d] executing container initialization scripts...
[cont-init.d] 05-changer-uid-gid.sh: executing... 
[cont-init.d] 05-changer-uid-gid.sh: exited 267.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.                                        
[s6-finish] waiting for services.                                                                                          
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.             

Steps to reproduce

Start Docker container, watch it fail to run. Disk space is not an issue. What's exit 267?

Debug Token

(will not start)

This seems related perhaps more specifically to https://github.com/pi-hole/docker-pi-hole/blob/master/s6/debian-root/etc/cont-init.d/05-changer-uid-gid.sh

I didn't realize that docker support was an entirely different project with so much in it. That seems strange...

@four43
Copy link
Author

four43 commented May 21, 2022

This is an issue with the docker container specifically it seems. WRONG PROJECT OOPS

@four43 four43 closed this as not planned Won't fix, can't repro, duplicate, stale May 21, 2022
@PromoFaux
Copy link
Member

I didn't realize that docker support was an entirely different project with so much in it. That seems strange...

This is an issue with the docker container specifically it seems

I know you've closed this... but I really am unsure what you're talking about here!

@four43
Copy link
Author

four43 commented May 23, 2022

That file I linked to was throwing for some reason. Exit 267 which I couldn't find any docs or references to. I got the little guy fishing on Google because I had 0 results!

The fix in my case, while using such an old Raspberry Pi was to just downgrade versions. They have this disclaimer:

Due to moby/moby#40734, you may run into issues running 2022.04 and later on host systems with an older version of libseccomp2 (Such as Debian/Raspbian buster or Ubuntu 20.04, and maybe CentOS 7).

And even though I'm running a newer version of Raspberry Pi OS, I'm guessing that hardware isn't supporting something properly. The 2022.02.1 Docker image has been much more stable and reliable.

Cheers!

@PromoFaux PromoFaux transferred this issue from pi-hole/pi-hole May 23, 2022
@PromoFaux
Copy link
Member

Apologies - yeah I don't think I had my reading glasses on properly earlier, I thought this issue was created in the repository for the Docker repo (I have now transferred it)

And even though I'm running a newer version of Raspberry Pi OS, I'm guessing that hardware isn't supporting something properly.

Did you try the second half of the upgrade notes in the readme, that suggests updating libseccomp2 via backports? I put a "do so at your own risk" warning on here, but it is a relatively benign change to make (that said, don't hold me responsible if your shoes catch fire!)

If you absolutely cannot do this, some users #1042 (comment) success in updating libseccomp2 via backports on debian, or similar via updates on Ubuntu. You can try this workaround at your own risk (Note, you may also find that you need the latest docker.io (more details here)

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

No branches or pull requests

2 participants