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

Release v9.6 #7142

Merged
merged 81 commits into from
Jul 7, 2024
Merged

Release v9.6 #7142

merged 81 commits into from
Jul 7, 2024

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Jul 7, 2024

v9.6

(2024-07-07)

New software

Enhancements

  • General | Since we provide all kernel, bootloader and firmware packages from our own APT repository now, the Armbian APT repository is removed form all systems. In case you use an SBC which is not officially supported by DietPi, as generic device, it is however preserved.
  • Quartz64/Star64/VisionFive 2 | The extended attribute handler for ext4 security labels CONFIG_EXT4_FS_SECURITY has been enabled for these SBCs, required for some Docker containers. Many thanks to @gxsw for reporting this missing feature: Docker pull error on Pine64 Quartz64 Model A #7102
  • Quartz64/Star64/VisionFive 2 | eBPF functionality for firewall and network monitoring software like Cilium has been added to our kernel builds for these SBCs. Many thanks to @kbrighton for reporting these missing features: Add required eBPF kernel configurations #6834
  • Orange Pi 5 | Older U-Boot builds caused the Ethernet MAC address to be random and change on every boot. Recent U-Boot builds solve this, but they are not flashed automatically on package upgrades. We hence inform users and offer to flash the latest U-Boot image during the DietPi update. Many thanks to @thuehlinger for reporting and testing the case: Orange Pi 5 | MAC address changes on reboot #6663
  • DietPi-Config | Legacy Odroid C2 resolution and GPU memory options have been removed.
  • DietPi-Config | The static DNS server menu now contains entries to select the default gateway/router or locally running DNS resolver (Pi-hole, AdGuard Home, Unbound, systemd-resolvd, ...), if detected.

Bug fixes

  • Network | Resolved a rare issue, where shutdowns could hang, when networking.service and [email protected] instances try to bring down the same network interface concurrently. Many thanks to @ioctl2 for reporting this issue: System gets stuck when initiating a reboot (x86_64/EFI/Bookworm) #7104
  • Odroid C1 | Resolved an issue, where the kernel upgrade did not apply as intended. Many thanks to @th2j for reporting this issue: Odroid C1 hangs on reboot / shutdown now -r #6332 (comment)
  • VisionFive 2 | Resolved an issue where our new image did not boot, because of a false device tree name in /boot/extlinux/extlinux.conf.
  • NanoPi R6C | Resolved an issue where our new images did not boot, since the latest mainline U-Boot for R6S does not support the R6C anymore. Many thanks to @labmaster for reporting this issue: DietPi_NanoPiR6C-ARMv8-Bookworm(and Bullseye) Images not working at all #7109
  • DietPi-Banner | Resolved an issue where incorrect RAM usage was printed with German and potentially other locales. Many thanks to @jwgn for reporting this issue: Wrong RAM calculation in dietpi banner #7107
  • DietPi-Banner | Resolved an issue where logins as non-root user printed "No certificate found" if the Let's Encrypt cert status option was enabled, since non-root users have no permission to see the certificate files. In such cases, sudo is now used automatically, if the user has NOPASSWD permissions, else a meaningful info is shown. Many thanks to @FrapiFrance for implementing this fix: Show LetsEncrypt certinfo on dietpi-banner for non-root users #7121
  • DietPi-Drive_Manager | Resolved an issue, where network drives and potentially mounts in general could be attempted to be unmounted on shutdown, before services which can access them are stopped, leading to hanging shutdown sequences and potentially even data loss. Many thanks to @polite-garlic for reporting this issue: https://dietpi.com/forum/t/20542
  • DietPi-Dashboard | Resolved an issue where the installation on RISC-V systems failed.
  • DietPi-Software | Node-RED: Resolved an issue where reinstalls/updates failed because of incompatibilities between latest Node.js or global modules with older local instances. Many thanks to @thinkbig1979 for reporting this issue: Node-red reinstall issue #7128
  • DietPi-Software | Fail2Ban: Resolved an issue on Debian Bookworm and above, where Dropbear login failures were not detected due to a non-matching default filter. Dropbear runs as native systemd unit since Bookworm, logging to the system journal via STDOUT, which results in a different log entry prefix. The default filter however has not been updated for this. The fix is as well applied to existing Fail2Ban installs, as long as no own override /etc/fail2ban/filter.d/dropbear.local has been created. Many thanks to @ThePlanplan for reporting this issue: fail2ban not working with dropbear (+ a hacky solution) #6665

- DietPi-Software | Ampache: Update fallback URL
- META | Backwards merge from master
- Quartz64/Star64/VisionFive 2 | The extended attribute handler for ext4 security labels "CONFIG_EXT4_FS_SECURITY" has been enabled for these SBCs, required for some Docker containers. Many thanks to @gxsw for reporting this missing feature: #7102
- CI | DietPi-Build: Re-add binfmt-support for Bullseye builds, since mmdebstrap fails on Jammy runners with systemd-binfmt, for whatever reason
- CI | DietPi-Build: Raise some image sizes and attempt to fix another segmentation fault on armhf Bullseye systems, this time not at mmdebstrap, but when actually booting the system
- DietPi-Installer/Patches | Install zstd on Odroid XU4 and 32-bit Amlogic (Odroid C1) systems, for better initramfs compression and faster decompression. Those are (now) supported by current kernel builds.
- CI | DietPi-Build: Remove doubled newline
- DietPi-Installer | Stop apt-daily services and timers before doing any APT installs. It just happened that they triggered while the installer tried to do its APT installs
- DietPi-Build | Typo
- DietPi-Build | Do not install recommended packages along with dependencies
- Odroid C1 | Resolved an issue, where the kernel upgrade did not apply as intended. Many thanks to @th2j for reporting this issue: #6332 (comment)
- DietPi-Pre-patches | Syntax
- CI | DietPi-Build: Add mmdebstrap debug flag and define mode and format explicitly
- CI | DietPi-Build: Remove the need for "arch-test" package
- DietPi-Software | ruTorrent: Update fallback version
- Network | Resolved a rare issue, where shutdowns could hang, when networking.service and [email protected] instances try to bring down the same network interface concurrently. Many thanks to @ioctl2 for reporting this issue: #7104
- DietPi-Installer | Raise /tmp tmpfs size to 1 GiB, since in a few cases, APT update fails with "getline (12: Cannot allocate memory)"
- CHANGELOG | Add entry about fixed VisionFive 2 image
- DietPi-Banner | Resolved an issue where incorrect RAM usage was printed with German and potentially other locales. Many thanks to @jwgn for reporting this issue: #7107
- DietPi-Software | Rclone: Update fallback URL
- NanoPi R6C | Resolved an issue where our new images did not boot, since the latest mainline U-Boot for R6S does not support the R6C anymore. Many thanks to @labmaster for reporting this issue: #7109
- NanoPi R6C | Do actually migrate to new U-Boot package
- DietPi-Patches | Move patch to correct code block
- DietPi-Installer | NanoPi R6C: Revert back to defining the device tree explicitly, since Armbian for whichever reason chose to use a generic RK3588 config for explicit NanoPi R6C U-Boot builds.
- DietPi-Installer | NanoPi R6C: Temporarily assure correct APT component, until DietPi v9.6 release, to allow master branch builds. The live patch is applied before the APT config exist, and would be overwritten by it, hence we need to switch again here.
- DietPi-Installer | Skip live patch 0 on NanoPi R6C, which cannot succeed at this stage of the script, but will be applied at a later stage
- DietPi-Patches | NanoPi R6C: Use correct U-Boot package branch
- DietPi-Set_software | Fix U-Boot branch in some cases for auto-detecting correct APT component
- DietPi-Installer | Despite 1G /tmp size, apt update still somehow fails with "getline (12: Cannot allocate memory)". Clean APT lists after last change and add some debug info to see what exactly is consuming such huge amount of space
- DietPi-Installer | APT updates fail despite ~10 MiB being used. Add more debug info, probably the reason is host memory, not guest or tmpfs size
dirkhh and others added 23 commits June 29, 2024 13:37
- DietPi-Software | ADS-B Feeder: Fix failing service start by adding the missing python requests library and the app flag file.

Signed-off-by: Dirk Hohndel <[email protected]>
- DietPi-Software | Forefox: Remove user configs on uninstall
- DietPi-Drive_Manager | Resolved an issue, where network drives and potentially mounts in general could be attempted to be unmounted on shutdown, before services which can access them are stopped, leading to hanging shutdown sequences and potentially even data loss. Many thanks to @polite-garlic for reporting this issue: https://dietpi.com/forum/t/20542
- DietPi-Backup | Add additional note to backup confirmation dialogue, that software services will be stopped: #6897
- DietPi-Software | Assure that the script does not continue to run after the reboot call, when a dist-upgrade is done on first login, with a kernel upgrade which removes currently used kernel modules. Also auto-remove packages after the dist-upgrade, to assure x86_64 systems are rebooted as well. Debian uses versioned kernel packages, pulled in by the meta package, so old kernel modules remain until the auto-removal purges the old versioned package.
- DietPi-Backup | A leading exclamation mark is interpreted as event call. Escaping it with slash prevents that, but the slash remains in the string. Solve it with trailing space instead.
- DietPi-Software | Update fallback URLs
- DietPi-Software | soju: This IRC bouncer has been added to our software catalogue. Many thanks to @subnut for implementing it: #7124

Co-authored-by: MichaIng <[email protected]>
- RC up
- DietPi-Patches | Treat loop devices as MMC devices, to flash U-Boot to. This could be relevant for testing DietPi updates in containers.
- DietPi-Patches | Be more careful when removing our [email protected] config. Remove our own config, and the directory only, if it is empty afterwards.
- DietPi-Software | Node-RED: Use "npm install @latest" to update to latest Node-RED. "npm update" re-generates the package-lock.json only, based on the package.json, but does not update the defined versions. "npm install node-red@latest" does also install other modes defined in package.json, but does not update them.
- DietPi-Software | Node-RED: Simplify install code, now that installs and reinstalls share the same command
- DietPi-Software | Gitea: Update fallback URL
- DietPi-Software | Update fallback URLs
- DietPi-Software | Readarr: Update fallback URL
- DietPi-Software | Fail2Ban: Resolved an issue on Debian Bookworm and above, where Dropbear login failures were not detected due to a non-matching default filter. Dropbear runs as native systemd unit since Bookworm, logging to the system journal via STDOUT, which results in a different log entry prefix. The default filter however has not been updated for this. The fix is as well applied to existing Fail2Ban installs, as long as no own override /etc/fail2ban/filter.d/dropbear.local has been created. Many thanks to @ThePlanplan for reporting this issue: #6665
- DietPi-Globals | Created a G_BUG_REPORT() function, which prints out a pre-filled template for GitHub and forum bug reports. G_EXEC uses the same function to print the template to console and for bug report uploads.
- DietPi-Globals | G_EXEC: Do not always print bug report template on error. Instead add error handler option to do so.

Co-authored-by: MichaIng <[email protected]>
- RC up
- CHANGELOG | Update v9.6 release date
- DietPi-Patches | Apply changed Fail2Ban Dropbear filter immediately with a service restart
@MichaIng MichaIng added this to the v9.6 milestone Jul 7, 2024
- DietPi-Installer | Remove pre-v9.6 steps
- DietPi-Installer | Remove pre-v9.6 steps
@MichaIng MichaIng merged commit fac121f into master Jul 7, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Open Beta v9.6 | Please help testing and hardening our upcoming release
5 participants