Good morning,
I am trying to use incus on the Jetson Nano, but I am getting the following error:
incus admin init --minimal
Error: Failed to create local member network "incusbr0" in project "default": Failed to setup firewall: Failed adding outbound NAT rules for network "incusbr0" (inet): Failed apply nftables config: Failed to run: nft -f -: exit status 1 (/dev/stdin:4:7-9: Error: No such file or directory; did you mean chain ‘pstrt.incusbr0’ in table inet ‘incus’?
type nat hook postrouting priority 100; policy accept;
^^^
/dev/stdin:3:7-20: Error: Could not process rule: No such file or directory
chain pstrt.incusbr0 {
^^^^^^^^^^^^^^
/dev/stdin:3:7-20: Error: Could not process rule: No such file or directory
chain pstrt.incusbr0 {
^^^^^^^^^^^^^^)
I have analysed and spoken to the people at incus to see what the problem might be and they have told me the following:
From the error, it sounds like nftables nat support is what’s missing.
For that, you’d need at least nft_chain_nat and nf_nat.
Then I saw that the nft_chain_nat is not in my kernel. Doing some research and comparing with my local pc that I have the same version of ubuntu, I tried to recompile the kernel modules to be able to activate the NFT in the Jetson. However, when I tried it I got the following error:
make modules
.
.
make[3]: Warning: File 'scripts/selinux/mdp/.mdp.cmd' has modification time 1738932052 s in the future
make[3]: warning: Clock skew detected. Your build may be incomplete.
make[2]: warning: Clock skew detected. Your build may be incomplete.
HOSTCC scripts/sorttable
scripts/sorttable.c:34:10: fatal error: tools/be_byteshift.h: No such file or directory
34 | #include <tools/be_byteshift.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.host:95: scripts/sorttable] Error 1
make: *** [Makefile:1250: scripts] Error 2
has anyone been able to install incus on the latest kernel version?
can anyone guide me how to fix this bug?
thank you very much in advance