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

Couldn't load match `comment':No such file or directory #23

Open
strandloper opened this issue Mar 12, 2023 · 5 comments
Open

Couldn't load match `comment':No such file or directory #23

strandloper opened this issue Mar 12, 2023 · 5 comments

Comments

@strandloper
Copy link

strandloper commented Mar 12, 2023

I'm trying to help my son get set up on an Asustor AS1102T NAS device and have run into problems that we are unable to solve with our limited networking knowledge.

This is the command we're using to create the container

sudo docker run --privileged -d -v /volume1/Docker/Qbittorrentvpn/config/:/config -v /volume1/downloads/:/downloads -e "VPN_ENABLED=yes" -e "VPN_TYPE=openvpn" -e "LAN_NETWORK=192.168.1.0/24" -e "PUID=1001" -e "TZ=Africa/Johannesburg" -e "DEBUG=yes" -p 8080:8080 --restart unless-stopped trigus42/qbittorrentvpn

It seems that iptables is failing to set up the rules and it logs the following for each rule.

iptables v1.8.7 (legacy): Couldn't load match `comment':No such file or directory Try `iptables -h' or 'iptables --help' for more information.

We have enabled debugging and followed through the 03-network.sh file and the log (attached). All seems to be fine except for these iptables failures. From some searching and reading of iptables documentation, it would seem that a possible cause is that the comment extension module is not available with the version of iptables being used. But we have no idea how to try to solve this.

_agitated_boyd_logs.txt

@Trigus42
Copy link
Owner

The commit 2e9d22f should fix your issue

@TheLurch
Copy link

I've just pulled the latest release using sudo docker pull trigus42/qbittorrentvpn then run the same command to create the container as above howeve the behaviour seems the same.

I've attached an update log, I hope that helps shed some light.

_zen_elion_logs (1).txt

@Trigus42
Copy link
Owner

Trigus42 commented Mar 14, 2023

Can you run docker run --rm -it trigus42/qbittorrentvpn lsmod on the affected host and post the result?
Edit:
Just to be sure, please also run docker run --rm -it trigus42/qbittorrentvpn bash -c "lsmod | grep xt_comment"; echo $? and try to load the module on the host using modprobe xt_comment, then restart the container

@TheLurch
Copy link

Here is the result of docker run --rm -it trigus42/qbittorrentvpn lsmod
image

This is what I am seeing running the other 2 commands:
image

Just to be clear, I am running these via SSH into the device.

@Trigus42
Copy link
Owner

There was a problem with the regex. It should now be fixed (bc7ec8e)

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

3 participants