DietPi is een lichtgewicht besturingssysteem voor zogenaamde singleboardcomputers. Het is op Debian gebaseerd en geoptimaliseerd om maximale prestaties uit de kleine computers te halen. DietPi heeft daarnaast ook een groot aantal ready-to-run applicaties die kunnen worden geïnstalleerd. Hoewel de naam anders doet vermoeden is het niet alleen geschikt voor Raspberry Pi's, maar ook prima te gebruiken op hardware van bijvoorbeeld Odroid, Orange Rock en Pine. Versie 9.20 is uitgekomen en hier zijn de volgende veranderingen en verbeteringen in aangebracht:
New softwareEnhancements
- DietPi-Software | RustDesk Server: The signalling and relay server component for the RustDesk remote desktop system has been added to our software catalogue. MichaIng/DietPi!7842
Bug fixes
- Orange Pi 5/Max/Ultra: Our images ship now with all USB-A ports and, depending on model, one USB-C port enabled in host mode, making them functional for USB devices. This is done with a device tree overlay
dwc3-host. Removing it from/boot/dietpiEnv.txtreverts the affected port(s), which share one controller, to their default OTG mode, in which case attached USB devices are not detected or even powered. For existing instances, adddwc3-hostto theoverlays=line in/boot/dietpiEnv.txtto apply this change. MichaIng/DietPi#7738- Radxa ZERO 3: New images will ship with Linux 6.12 mainline LTS kernel now, and the DietPi update migrates systems with legacy and vendor kernel to mainline LTS as well.
- DietPi-Tools | DietPi-Backup: A workaround for ACLs applied at an
NFSv4mount target has been applied. If ACLs are applied e.g. recursively at the NFS server, they are translated and exposed as specialNFSv4ACLs at the client, which is incompatible with POSIX ACLs. Thecp -a/--archiveused to special handle/etc/debian_versiontries and hence fails to preserve them.rsync -a/--archivedoes not imply ACLs, hence does not suffer from the issue. It may be able to handle them better using its-A/--aclsflag. However, ACLs applied at the NFS server of course must not be applied at the restored OS anyway, hence we just skip thecp -aflag now. The defaultroot:root 0644mode is anyway what/etc/debian_versionis intended to be, and an updated mtime does not hurt. Preserving ACLs andxattrfor system backups would be actually a good feature, but at least doing this for backups to NFS mounts hence is risky. For this, we’d first need to implement an option to create and transfer a tarball of the backup at the client, and compression as logical addition with it.tarhas an--aclsoption as well. MichaIng/DietPi#7825- DietPi-Tools | DietPi-Drive_Manager: Some output, dialogue and menu texts have been revised. Notably, the main menu now shows the device nodes on the left side as primary selector, and the mount target, only for mounted drives, on the right side. The partition or drive capacity is now additionally shown for unmounted or unformatted drives as well.
- DietPi-Software | Portainer: On (re)installs, existing Portainer BE (Business Edition) instances are now detected and updated correctly. When entering a license key in Portainer CE (Community Edition), it upgrades itself to BE.
dietpi-softwarehowever detected and updated CE instances only, causing a failure if it was upgraded to BE. https://dietpi.com/forum/t/24696- DietPi-Software | Aria2: File logging to
/var/log/aria2.logis disabled. It is redundant, since Aria2 logs to console hencejournalctl -u aria2in any case, even with a higher default log level. Of course it can be re-enabled manually if you need logs in a plain text file.- DietPi-Software | Allo GUI: A new major version has been released with raised minimum PHP 7.4, updated dependencies with solved security vulnerabilities, and a major cleanup: DietPi-AlloGUI v14.5, DietPi-AlloGUI v15.0. The DietPi update will upgrade the Allo GUI automatically.
- Orange Pi 5: Resolved an issue where USB and M.2 SSD boots took very long or failed, and reboots failed, at least in some cases. Credits go to @efectn from Armbian for switching from vendor U-Boot to mainline U-Boot, which solved all issues. https://dietpi.com/forum/t/24613
- DietPi-Tools | DietPi-Drive_Manager: Resolved a serious bug where a false partition or drive could have been formatted if a currently mounted drive was selected to be formatted. MichaIng/DietPi#7852
- DietPi-Tools | DietPi-Drive_Manager: Resolved an issue where a doubled unmount attempt could have failed on full drive formats, if a currently mounted partition was selected.
- DietPi-Software | BirdNET-Go: Resolved an issue where local sound cards were not detected due to too strict permissions. MichaIng/DietPi#7828
- DietPi-Software | ProFTPD: Resolved an issue where the service might have failed to start if the activation socket was enabled. Since we install a config with ProFTPD in standalone mode, the activation socket must be disabled, else both try to bind to the same port 21. MichaIng/DietPi#7750
- DietPi-Software | LazyLibrarian: Resolved an issue where using the web UI “Restart” button stopped the service to never come back up. https://dietpi.com/forum/t/24699/9
- DietPi-Software | Fail2Ban: From Debian Trixie on,
/etc/fail2ban/jail.d/defaults-debian.confoverrides the default ban action withnftables. This makes sense if otherwise the upstream defaultiptableswas used, but it must not override any explicit admin choice or thedietpi-softwaredefault “route” action. More importantly,nftablesrequires the userland tools to be installed, otherwise bans cannot be applied. Installs viadietpi-softwarewill now remove the config, all its other content is redundant, one change even a regression. Nextdietpi-updateand our Trixie upgrade script will either remove the config, if it overrides an explicit choice, or will otherwise assure thatnftablesuserland tools are installed, if it reasonably replaces the legacy iptables ban action.- DietPi-Software | Radarr: Resolved an issue on Bullseye systems where the service fails due to an incompatible embedded SQLite library, same as with Lidarr and Prowlarr earlier: more info. MichaIng/DietPi#7837
- DietPi-Software | Portainer: Resolved an issue where with Docker 29.1.0 the CLI changed a way that our container image detection failed, so that
dietpi-software reinstall 185did not update Portainer anymore. Coincidentally, the Portainer BE support we previously added solves this issue as well. More infoAs always, many smaller code performance and stability improvements, visual and spelling fixes have been done, too much to list all of them here. Check out all code changes of this release on GitHub: MichaIng/DietPi!7855
