Pi-Hole on TrueNAS-21.08-BETA.1

Description

I have Pi-Hole docker running on TrueNAS-21.06-BETA.1 but when I upgraded to TrueNAS-21.08-BETA.1 I started to see some errors in Pi-Hole logs.

::: Preexisting ad list /etc/pihole/adlists.list detected ((exiting setup_blocklists early)),
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts ,
sudo: unable to open /etc/sudoers: Permission denied,
sudo: no valid sudoers sources found, quitting,
sudo: unable to initialize policy plugin,
::: Testing pihole-FTL DNS: [cont-init.d] 20-start.sh: exited 1.,
[cont-finish.d] executing container finish scripts...,
[cont-finish.d] done.,
[s6-finish] waiting for services.,

I tried the latest nightly update as well and still same error with unable to open /etc/sudoers: Permission denied. I tried using Launch Docker Image option instead of regular docker compose with no custom volume mounts and still same error.

I ended up reverting back to TrueNAS-21.06-BETA.1 and all is working fine again.

Problem/Justification

None

Impact

None

is duplicated by

Activity

pilas 
September 8, 2021 at 12:24 AM

Yep, amazing work again by the developers on resolving this issue. Thanks again! Issue solved!

Simon Allen 
September 7, 2021 at 11:26 PM
(edited)

Bloody legend. After setting the acltype to POSIX as described in the PR and setting the acl preset recursively to POSIX_HOME (whatever that is...) the plugin started right up.

On my system the previous acltype value was NFSv4. The other properties are already as in the PR.

Bug Clerk 
September 7, 2021 at 7:02 PM

pilas 
September 6, 2021 at 1:30 PM
(edited)

I have updated to the latest nightly and tried to install the app using TrueCharts and launch docker image. Unfortunately still have the same error. 

Please note that this issue occurs using launch docker image option, docker-compose, & TrueChart.

Simon Allen 
September 6, 2021 at 11:32 AM

I have the same issue.

I've attached my debug log. Some notes:

  • Identical Issue occurs regardless of whether I use the pihole image from docker hub or the new pihole app from TrueCharts.

  • Pihole (from docker hub) worked fine for me for a couple months on 21.06. It randomly broke (with this issue) a few days before 21.08 was released.

  • I upgraded to 21.08 and receive the same issue.

  • I have tried using docker-compose too - same problem.

  • I have tried factory resetting trueness config, deleting the app/container/image, and even destroying the pool I use for apps/system. This painfully doesn't help.

Complete

Details

Assignee

Reporter

Labels

Impact

Time remaining

0m

Fix versions

Affects versions

Priority

Katalon Platform

Created September 4, 2021 at 10:33 PM
Updated July 6, 2022 at 8:56 PM
Resolved September 10, 2021 at 3:45 AM