DietPi version
G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=22
G_DIETPI_VERSION_RC=3
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
Distro version
bookworm
Kernel version
Linux mbp2012-dietpi 6.1.0-12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.52-1 (2023-09-07) x86_64 GNU/Linux
Architecture
amd64
SBC model
Native PC (x86_64)
Power supply used
Mac Mini
SD card used
none
Actual behaviour
on boot, kernel modules fail to load. I have installed tailscale, which subsequently also fails (this is how I detected the issue, as tailscale will not run). I have tried to reinstall and re-update, but no change
I found that an /etc/modules-load.d/nvidia.conf file with “nvidia-drm” listed, which was somehow offensive. never has been before that I know of, but this might be a new option. commenting that line eliminated the issue for systemd-modules-load, which now completes successfully.
however, this has not fixed my tailscale issue. following a similar procedure for tailscaled I find this error…
mbp2012-dietpi tailscaled[3066]: wgengine.NewUserspaceEngine(tun “tailscale0”) error: creating router: exec: “iptables”: executable file not found in $PATH
i do not have (and did not have) iptables installed. does tailscale now have a new dependency on iptables?
well done, you analyzed the issue perfectly. It seems iptables is a hard dependency nowadays, however it’s listed as recommended package only.
[ INFO ] DietPi-Software | APT install tailscale, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
Recommended packages:
tailscale-archive-keyring iptables
The following NEW packages will be installed:
tailscale
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
This would be a task for Tailscale’s Debian package maintainer to correct in his apt package. Theoretically we could build workarounds and install iptables manually, but the better solution is to provide the correct apt packages directly from the Tailscale side.
not sure why I would be including Nvidia drivers anyway, since I think my intel Macs have intel video. just let the default stand, I guess. I have now updated (via dietpi-config) to select the intel drivers and all is well (that is, the kernel modules load without fail). I run the LXQt desktop, but never on the local machine…always via screen sharing (VNC), so I don’t know if the selection of GPU driver makes any difference at all.
FYI, we had a discussion internally and will return a strict dependency on iptables. In the future when Tailscale client can auto-detect and use nftables, either of the two will be sufficient as a dependency.
I read above and the github troubleshooting but don’t understand the resolution, what does this mean for us less-technical DietPi users? Is it something an upcoming tailscale update will fix? Or an upcoming DietPi update will fix? Or tailscale will continue to need manual iptables (and how)?