Page 1 of 1

Docker problems agains: Pihole

Posted: 19 May 2021, 13:30
by unixtall
I had the pihole configurated and it was working fine. And one day the container stopped and no more i can do for start it.

I see this error in the log.

Code: Select all

::: Testing pihole-FTL DNS: sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner
sudo: fatal error, unable to load plugins
[cont-init.d] 20-start.sh: exited 1.
[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.
Always that there is an update, something brokes...

I need help, please tell me what i can do.

Re: Docker problems agains: Pihole

Posted: 24 May 2021, 17:39
by unixtall
I need help. Please!

Re: Docker problems agains: Pihole

Posted: 25 May 2021, 17:35
by TMzethar
{L_BUTTON_AT}unixtall

Are you saying something was updated before this appeared?

Re: Docker problems agains: Pihole

Posted: 26 May 2021, 01:41
by unixtall
i have just solved this. Uninstalling all dockers containers and creating news.

Thanks

Re: Docker problems agains: Pihole

Posted: 03 Aug 2021, 10:13
by pkuzila
I experience the same issue every time my pihole container restarts no matter how it ended. I can get it up and running by doing the following:
su root
chmod 644 /usr/lib/sudo/sudoers.so
chown -R root /usr/lib/sudo
in the pihole container. It takes some doing as the container itself is in a restart loop so you have to catch it at the right time to run the commands. I also noticed that some of my environmental arguments do not get applied such as webpassword.

I also tried removing the container and starting fresh but the issue comes back as soon as it has to restart.

Is there a way to make these permissions persists or does the container need to start in a different way to make this stop happening?

Re: Docker problems agains: Pihole

Posted: 03 Aug 2021, 23:51
by djonesuk
Appears to be some sort of issue with Pihole:

https://github.com/pi-hole/docker-pi-hole/issues/670

Re: Docker problems agains: Pihole

Posted: 07 Aug 2021, 09:17
by pkuzila
djonesuk wrote: 03 Aug 2021, 23:51 Appears to be some sort of issue with Pihole:

https://github.com/pi-hole/docker-pi-hole/issues/670
Wow, not sure how that didn't come up in all my searching, thanks for the link. I'll monitor it over there.