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 v8.1 #5229

Merged
merged 101 commits into from
Feb 5, 2022
Merged

Release v8.1 #5229

merged 101 commits into from
Feb 5, 2022

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Feb 2, 2022

v8.1

(2022-02-05)

SBC support

  • Odroid N2 | Support for Odroid N2 with modern mainline Linux images has been added, including proper boot configuration, serial console selection, HDMI and 3.5mm audio selection and more. Sadly existing images cannot be migrated, a new image is available for testing: Odroid N2 | Testing and developing #5039

Changes

  • DietPi-Benchmark | During RAM I/O benchmarks, the CPU governor is now changed to "performance" so that the result is not affected by possible CPU frequency scaling but the raw/max RAM I/O performance is measured. A significant effect of this has been recognised on Odroid N2 images with modern mainline kernel. Since the CPU benchmark is done first, this has no effect on its score and CPU temperature results.
  • DietPi-Drive_Manager | Btrfs subvolume mounts are now preserved in /etc/fstab. Many thanks to @laddde for implementing this feature: DietPi-Drive_Manager | Preserve Btrfs subvolumes #5176
  • DietPi-Drive_Manager | The Samba mount dialogues do now indicate that a hostname can be entered instead of a server IP and a shared folder path instead of a share name only.
  • DietPi-Backup | A notification is not printed when rsync dry-run to obtain required disk space is starting, since this can take a while. Many thanks to @whisdol for reporting the the impression of a hanging script: DietPi-Backup to NFS share hangs after checking for rsync #5209
  • DietPi-Software | iptables is now automatically configured to use either modern nf_tables API or legacy API, depending on whether nf_tables is supported by the kernel. This is helpful for Bullseye images with older kernel versions, where iptables is by default configured to use nf_tables, which fails.
  • DietPi-Software | iptables rules are now applied for IPv6 as well in all cases (for VPN servers, WiFi and Tor hotspots) via ip6tables. This does not depend on whether IPv6 is actually enabled for interfaces, but enables general IPv6 support for affected software options. Many thanks to @vielka442 for reporting missing IPv6 support for Tor Hotspot: DietPi-Software | Tor Hotspot: Enable IPv6 support #5038
  • DietPi-Software | Jellyfin: For new installs, the default web interface port has been changed from 8096 to 8097 to resolve a port conflict with Emby.
  • DietPi-Software | Docker/K3s: The memory cgroup is now enabled as well on RPi and our new Odroid N2 image, when Docker or K3s is installed, to allow container memory usage monitoring. Many thanks to @isarrider for this request: DietPi-Software | Docker/K3s: Add memory cgroup to kernel command-line #5225
  • DietPi-Software | Raspotify: This software option has been disabled on Debian Buster systems but enabled for ARMv8 and x86_64 systems, to match the current state of the official Raspotify APT repository.

Fixes

  • DietPi-Services | Resolved an issue where service edits and process tool settings were not effective as they were stored to the wrong file path. Many thanks to @TOPFORD and @MicDG for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?p=41509#p41509
  • DietPi-LetsEncrypt | Resolved an issue where Certbot failed on fresh Apache installs since the 000-default.conf vhost by default does not contain any directive anymore. The ServerName directive with the entered domain name is now added to 000-default.conf instead of apache2.conf, with the benefit that it overrides the global ServerName directive in dietpi.conf, which uses the local IP address only.
  • DietPi-Software/DietPi-AutoStart | Chromium: Resolved an issue where the Chromium kiosk autostart option failed on all non-RPi systems.
  • DietPi-Software | FuguHub: Resolved an issue where the uninstall failed as the service was not stopped and removed as expected, before attempting to remove the service user.
  • DietPi-Software | PHP: Resolved an issue where the PATH variable was not available for PHP applications with Lighttpd and Nginx webservers. It is now set to the static value "/usr/local/bin:/usr/bin:/bin", the default PATH excluding super user executables "sbin". Many thanks to @shanew1694 for reporting a related issue with rTorrent: Can't seem to update. #5161 (comment)
  • DietPi-Software | MineOS: Resolved an issue where the install failed on Bullseye: DietPi-Software | MineOS - install is failing on Bullseye #5181
  • DietPi-Software | Cuberite: Resolved an issue where the server failed to start on ARMv8 systems: DietPi-Software | Cuberite - failing on aarch64 #5180
  • DietPi-Software | MATE: Resolved an issue where the install failed when LXDE is installed already. Many thanks to @n0valis for reporting this issue: Cannot install Mate Desktop -> "you have held broken packages"  #5214
  • DietPi-Software | Ampache: Resolved an issue on Bullseye systems where Ampache v5 installs/reinstalls did not work because of a changed webroot directory: DietPi-Software | Ampache: Fix install of v5 (Bullseye) #5205
  • DietPi-Software | OpenBazaar: Since the original project has been taken down, we migrated to a fork which keeps up the marketplace for the community: DietPi-Software | OpenBazaar: Project dead, switch to fork? #5213
  • DietPi-Software | X.Org X Server: Resolved an issue where VMs without KMS/DRM support failed to start the X server, e.g. Hyper-V. The classic framebuffer DDX is now installed when no KMS/DRM support is detected on VMs.
  • DietPi-Software | Box86/Box64: Resolved an issue where the install failed when a kernel upgrade has just been done so that the "binfmt_misc" kernel module cannot be found for the loaded kernel.
  • DietPi-Software | Roon Extension Manager: It has been disabled for ARMv6 RPi systems where it cannot run currently. Many thanks to @JanKoudijs for applying this fix: DietPi-Software | Exclude Roon Extension Manager on ARMv6 #5231
  • DietPi-Software | RPi-Monitor: Resolved an issue where the CPU temperature was not shown. Many thanks to @KamikazeePL for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?t=10001
  • DietPi-Software | Home Assistant: Resolved an issue with the latest Home Assistant version where restarting it via web interface made it remaining stopped. The fix is applied to all instances on DietPi update. Many thanks to @jchh for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?t=10025

MichaIng and others added 30 commits January 9, 2022 16:30
- DietPi-Software | FuguHub: Resolved an issue where the uninstall failed as the service was not stopped and removed as expected, before attempting to remove the service user.
+ DietPi-PREP | Remove non-existing module (on Stretch, Buster, Bullseye, Bookworm) from nouveau blacklist
- DietPi-Software | WiFi Hotspot: Remove old hostapd service unmask/workaround. All installed services controlled by dietpi-software are unamasked before installs start. If the mask was placed without the service installed, the prior service stop which was added with v8.0 would currently fail anyway. We want to get reports now to trace back the faulty reason for the mask.
+ DietPi-PREP | Odroids: Do not install our boot.ini if the boot partition is not FAT partition
- DietPi-Build | Remove obsolete workaround for raspberrypi-archive-keyring, provided now by the RPi Bullseye repo
- DietPi-PREP | Set setbit bit for the known sudo executable path explicitly, i.e. do not trust e.g. /usr/local/bin/sudo (which should not exist, of course)
- DietPi-Software | OctoPrint: Suppress warnings about executables being intentionally installed to /mnt/dietpi_userdata/octoprint/.local/bin, which is not in PATH
- DietPi-Software | Minor
- DietPi-Software | Pydio: Fix permissions for using internal updater etc
- DietPi-Software | Pydio: Fix some files being 444 mode, breaking internal updater
- DietPi-Software | PHP: Resolved an issue where the PATH variable was not available for PHP applications with Lighttpd and Nginx webservers. It is now set to the static value "/usr/local/bin:/usr/bin:/bin", the default PATH excluding super user executables "sbin". Many thanks to @shanew1694 for reporting a related issue with rTorrent: #5161 (comment)
- DietPi-Software | Further cleanup on Lighttpd and PHP uninstalls
- DietPi-Software | Cuberite: Apply strict permissions to webadmin.ini before writing global software password to it
- DietPi-AutoStart | When using an unprivileged user for Kodi autostart, add it to tty, input and audio group as well, required for keyboard/mouse input, audio playback and on RPi to switch the VT to avoid DRI conflicts when starting from within a desktop session
- DietPi-Services | Resolved an issue where service edits and process tool settings were not effective as they were stored to the wrong file path. Many thanks to @TOPFORD and @MicDG for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?p=41509#p41509
- DietPi-Drive_Manager: Btrfs subvolume mounts are not preserved in /etc/fstab. Many thanks to @laddde for implementing this feature: #5176
- DietPi-Patches | Fix v8.1 patch function name
- DietPi-Software | Chromium: Fix kiosk autostart script for non-RPi systems and use default fallback values when Chromium dietpi.txt settings are not present
- DietPi-Software | Kodi/Chromium: Further cleanup on uninstall
- DietPi-Software | Docker: Uninstall Docker after Portainer and Docker Compose and assure that the service is stopped and cleanly removed
- DietPi-PREP | Remove quiet kernel command line flag for RPi and x86_64 systems to give users more insights for info and debugging the boot process, also aligning with other SBC images
- RPi: Remove obsolete VCSM overlay since the device node has been removed with latest kernel
- DietPi-Cloud_migration
- DietPi-Software | Java JRE: Remove obsolete workaround for ARM
- DietPi-Software | Do not use the obsolete --unsafe-perm flag for npm calls anymore
- DietPi-Software | MineOS: Install Python 3 on Buster as dependency, required for the Node.js posix module but not pulled by rdiff-backup on Buster
- DietPi-Software | MineOS: As a workaround required with latest Node.js 17, install the posix module alone first, before installing the whole project: #5181
- DietPi-Software | Cuberite: Resolved an issue where the server failed to start on ARMv8 systems: #5180
- DietPi-Software | PHP: Install PHP8.1 on Bookworm now that APCu and Redis modules are updated
- DietPi-Software | PHP: Remove support for preserving PHP7.2
- DietPi-Services | Control only PHP versions which dietpi-software explicitly installs
- DietPi-Software | X.Org X Server: Install Odroid Mali/DDX packages only on Buster and below or when DRM is not available. On Bullseye with DRM, the default modesetting DDX and Mesa EGL/GLESv2 should work pretty well, i.e. mainline kernel images where Odroid packages are not available anyway. In case Odroid DDX packages are not available, install fbdev for the (with Hardkernel kernel) expected case the DRM is not available for the default modesetting driver to work.
- DietPi-Software | X.Org X Server: Install Mesa EGL/GLESv2 libraries on all non-x86_64 and non-RPi systems, in case not covered by Odroid packages. On x86_64 regular OpenGL may be preferred, on RPi those are installed when KMS is enabled. In all other cases, those may be used by GUI applications.
- DietPi-Software | Kodi: Install X server on Odroid C4 and N2 from Bullseye on, when no DRM is available. Skip Odroid GPU/Kodi packages on Bullseye with DRM, which covers mainline kernel images, where Debian's Kodi with GBM works just fine. This aligns it with X server installs.
- DietPi-Software | RPi: Do not raise GPU memory above default on Bullseye for any software title. It is generally not used anymore since CMA  uses the shared system memory. Legacy RPi camera, enabled with RPi Cam Control, sets 96 MiB automatically, which may still be required. Modern KMS based camera module support is still outstanding. Additionally disabling headless mode + default GPU memory is now applied on LXQt insalls as well.
@MichaIng MichaIng added this to the v8.1 milestone Feb 2, 2022
MichaIng and others added 20 commits February 2, 2022 13:56
- META | Remove execute bit from desktop entries. Neither is it required nor effective as of individual ondemand curl download.
- DietPi-Software | WiFi Hotspot: Change default DHCP DNS server to Quad9, to match default system DNS server
- CHANGELOG | Set DietPi v8.1 release PR
- DietPi-Software | RPi-Monitor: Fix an issue to display CPU temperature correctly
- DietPi-Software | RPi-Monitor: Fix typo in USB HDD template
- DietPi-Software | RPi-Monitor: Do not add USB HDD gauge when it is the rootfs, since it is then covered by "SD card" already (misleading but all info is there). Support non-ext4 USB HDDs, be a little more strict when parsing "df" and replace postprocess with "df -m" flag
- DietPi-Software | Roon Extension Manager: It has been disabled for ARMv6 RPi systems where it cannot run currently. Many thanks to @JanKoudijs for applying this fix: #5231
- DietPi-Software | X.Org X Server: On Odroid C2, when modesetting is not supported, only install the xorg.conf when the fbturbo package is installed, otherwise let it fallback to fbdev automatically
- DietPi-Config | When selecting "usb-dac" as sound card on Odroid C2, do not apply USB IRQ affinities on mainline kernel where those are not available. Also remove the postboot script in case this has been applied already.
- DietPi-Software | Raspotify: This software option has been disabled on Debian Buster systems but enabled for ARMv8 and x86_64 systems, to match the current state of the official Raspotify APT repository.
- DietPi-Software | iptables is now automatically configured to use either modern nf_tables API or legacy API, depending on whether nf_tables is supported by the kernel. This is helpful for Bullseye images with older kernel versions, where iptables is by default configured to use nf_tables, which fails.
- DietPi-Software | iptables rules are now applied for IPv6 as well in all cases (for VPN servers, WiFi and Tor hotspots) via ip6tables. This does not depend on whether IPv6 is actually enabled for interfaces, but enables general IPv6 support for affected software options. Many thanks to @vielka442 for reporting missing IPv6 support for Tor Hotspot: #5038
- DietPi-Software | WiFi Hotspot: Fix DHCP server config (v8.1 beta regression), handle "auto" interface declarations as well and flush IPv6 iptables as well
- DietPi-Software | WiFi Hotspot: Unmask hostapd service since it indeed intentionally installs masked, when no config file exists yet
- DietPi-Software | WiFi Hotspot: Apply strict permissions to hostapd.conf since it contains the WPA key
- DietPi-Software | WiFi Hotspot: Apply comma at right config file
- META | Update pull request and issue template
- DietPi-PREP | Do not apply CPU governor settings, which may either fail when the image is created within a container or even unintentionally store a fallback governor to dietpi.txt, which we want earliest at first DietPi boot
- DietPi-PREP | Minor output tuning and use HTTPS for GPL URL
- DietPi-Software | Home Assistant: Resolved an issue with the latest Home Assistant version where restarting it via web interface made it remaining stopped. The fix is applied to all instances on DietPi update. Many thanks to `@jchh` for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?t=10025
- DietPi-Config | Do not list Odroid C2 HiFi Should sound cards on mainline kernel image, but only when the related kernel module is actually available: #5235
- DietPi-Config | Fix H3 3.5mm sound card selection, but whether it is selectable like that on mainline kernel images needs to be tested as well (ToDo)
- DietPi-Set_hardware | When toggling Bluetooth, check whether related services are actually available before trying to enable/disable them
- RC up
- DietPi-Software | Update fallback URLs, HAProxy, Grafana on ARMv6 and Home Assistant Python versions
- DietPi-Update | For some reason, the GitHub tarball ships with group write permissions for all files. Until the reason has been found, manually remove them to match default umask
- DietPi-Update/PREP | Merge and align steps from downloading to installing DietPi files from GitHub
@MichaIng MichaIng marked this pull request as ready for review February 5, 2022 21:52
@MichaIng MichaIng merged commit d032ec3 into master Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Open Beta v8.1 | Please help testing and hardening the upcoming release
4 participants