Obviously this isnāt supported, may reset upon reboot or upgrade, etc. But since youāre installing third-party packages I donāt think that is an issue for you
I was trying to do the same thing just recently and ran into the same error messages as the OP. In my case, it seems I was able to resolve it by SSHāing into the machine to execute the commands, rather than using the shell in the GUI. A warning in the Developer Mode docs is what lead me to try that.
Do Not Use Web Shell
Do not make system changes using the TrueNAS UI web shell. Using package management tools in the web shell can result in middleware changes that render the system inaccessible.
Connect to the system using SSH or a physically connected monitor and keyboard before enabling or using developer mode.
I know that removing log_subcmds works for things like sudo tmux or sudo su -, but maybe it doesnāt work in your case. Can you try sudo su - to check if you have edited the sudoers correctly?
There is an alternative way which Iāve seen other people using:
Some people might need extra steps on 24.10.1 if theyāre getting permission denied / read-only errors, this solved it for someone on Discord so figured it could help people here
systemd-sysext unmerge
install-dev-tools
apt install dkms devscripts debhelper dh-dkms -y
git clone https://github.com/google/gasket-driver
cd gasket-driver
debuild -us -uc -tc -b -d
cd ..
dpkg -i gasket-dkms_1.0-18_all.deb
systemd-sysext merge
# if everything was successful
reboot
I only got it working in 24.10.2 after ssh with root (not admin, not sudo, not sudo su), you have to enable login root ssh to install the drivers and then disable ssh root login again.
this solution worked for me (disabling log_subcmds did not) and I have the m.2 coral working with frigate!
however, I think ix should really include the drivers in the base system as there is clearly a lot of demand and it does not appear to cause any issues
I have it working on my server with a dual m.2 TPU in a PCIe adapter on EE 24.10.2. The dual Coral TPU setup is accessible with the standard Frigate app on my EE server. The TPUs are detected within that container and I have configured Frigate to use both TPUs.
I did have to read several of the threads regarding enabling the Coral drivers on EE. I think I ended up needing to temporarily enable SSH so that I could follow the steps for enabling developer mode and installing the drivers. One of the threads or earlier posts mentioned that.
I also agree that these drivers should be available for installation on the base system, similar to the way the Nvidia GPU drivers can be installed/used.
I think this is the PCIe adapter Iām using. I donāt have any slots that would accept the dual Coral m.2 card on its own, so I have no experience with that.