-
I followed the guide, used the docker template. The jail startup errors on this step:
Every other package installs fine. Networking works, I can shell into the jail but every time I try apt it reports unmet dependencies for docker-ce of iptables. Running apt --fix-broken install doesn't fix it. I get the same error with that same package.
Please let me know what I'm doing wrong. I didn't change the template. I'm on TrueNas Scale Cobia. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
Please collect all information per #135. You stated you're using all defaults, yet it works for other people - so please share as much as you can about your process, the fail points on their own are rarely enough to identify the reason something is failing. |
Beta Was this translation helpful? Give feedback.
-
Hi Lockszmith-GH, thanks for the question. I created a network br1 which works great. cd /mnt/mypool/jailmaker
curl --location --remote-name https://raw.githubusercontent.com/Jip-Hop/jailmaker/main/jlmkr.py
chmod +x jlmkr.py
echo "alias jlmkr=\"sudo -E '/mnt/mypool/jailmaker/jlmkr.py'\"" >> ~/.zshrc
source ~/.zshrc
curl --location --remote-name https://raw.githubusercontent.com/Jip-Hop/jailmaker/main/templates/docker/config
jlmkr create --start --config ./config docker And the result is the error I provided. Every other package installs but iptables. click to expand:
|
Beta Was this translation helpful? Give feedback.
-
As am I. I appreciate your efforts on this... Here's what I did to finally get it working. Mind you, it is ugly and not good practice. Again, thanks for your time and efforts.
|
Beta Was this translation helpful? Give feedback.
As am I. I appreciate your efforts on this... Here's what I did to finally get it working. Mind you, it is ugly and not good practice.
In this process of troubleshooting, I was able to verify it wasn't just the one file in the xtables directory, it was multiple files. So to solve it, I excluded the xtables directory from the dpkg install and then copied those files over from an extract of the iptables .deb.
Adding the following custom section to the excerpt of your template file (see "# custom code for iptables fix") works around this weird issue where dpkg.new files aren't being created in the xtables directory. I'm sure this could be cleaned up, but with this I'm able to finish the crea…