-
-
Notifications
You must be signed in to change notification settings - Fork 425
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
UDMp does not boot with pi hole enabled #49
Comments
The only time iptables rules are made would be during the FORCED_INTFC stuff. Have you tried removing that and seeing if it boots? |
To answer your question the 10-dns script makes the network interfaces required for the DNS servers. The only iptables rules it makes are to force devices through pihole. None of the rules I made have comments on them so I don't what rules it's conflicting with. Could you give me an iptables-save command so I can see the rules its conflicting with? The CNI rule is probably related to your ntp-container since it makes its own network |
Hmm, I do not think, the ntp-container is causing troubles, because it does not use special networking (attached the 90-ntp.sh), but uses the hosts network. I experienced somewhat the same trouble earlier without investigation in detail, because in that case I had updated the controller to 6.0.15 and thought it was cause of my trouble. I decided to start plain and made a factory reset and restored an backup before trying again. For further investigation, I attached the 20-dns.conflist and 10-dns.sh as well as a iptables-save. Had to rename the files to .log to upload them here... |
Just as reference if it helps. Edit: correction... they come with the CNI plugins downloaded in the |
-A POSTROUTING -s 10.1.254.2/32 -m comment --comment "name: "podman" id: "0fcf505b0b159acf6fda413b676e9b15958b913ed5c5b727c0e4051016281276"" -j CNI-570663b1ad82829df38eadcc Those are coming from using the default podman network when launching your ntp container. Launch it with --host or something else. That hsould fix your issue |
I gonna try building everything from the scratch (using a controller backup). Seems there is no way to tell things apart. Pihole is more of an issue to me as ntp is. |
starting from scratch:
bottomline: lessons learned:
|
System:
UDMp v1.8.0 // 5.14.22 (installed v1.8.0 and did not change anything else)
Changes:
Installed bootscript as described here: https://github.com/boostchicken/udm-utilities/tree/master/on-boot-script
Installed pi hole as described here: https://github.com/boostchicken/udm-utilities/tree/master/run-pihole
added a custom script to start a ntp-container
Everything works fine, but rebooting the UDMpro leads to
Switiching to any of the apps (tested "network" and "protect") gives a blank screen and application does not load.
log says repeatedly:
Sep 9 02:11:06 UDMpro user.notice ubios-udapi-server: ubios-udapi-server: Found unexpected rule --comment '"CNI'
Sep 9 02:11:11 UDMpro user.notice ubios-udapi-server: ubios-udapi-server: Found unexpected rule --comment '"CNI'
Sep 9 02:11:11 UDMpro user.notice ubios-udapi-server: ubios-udapi-server: Found unexpected rule --comment '"name:'
Sep 9 02:11:11 UDMpro user.notice ubios-udapi-server: ubios-udapi-server: Found unexpected rule --comment '"name:'
Sep 9 02:11:11 UDMpro user.notice ubios-udapi-server: ubios-udapi-server: Found unexpected rule --comment '"name:'
Sep 9 02:11:11 UDMpro user.notice ubios-udapi-server: ubios-udapi-server: Found unexpected rule --comment '"dnat'
Workarround:
I tried to prevent the 10_dns.sh script from executing by chomod -x /mnt/data/on_boot.d/10_dns.sh
Rebooting gives fully functional system again (including pi hole and networking/dns)
So, why/when is the 10-dns.sh script needed? when updating to new version?
The text was updated successfully, but these errors were encountered: