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

Beta v6.31.0 #3621

Merged
merged 151 commits into from
Jun 28, 2020
Merged

Beta v6.31.0 #3621

merged 151 commits into from
Jun 28, 2020

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Jun 25, 2020

Beta v6.31.0

(28/06/20)

Changes / Improvements / Optimisations

  • RPi | Support for Raspberry Pi OS (64-bit) has been added, including any other Debian pre-image on RPi. Many thanks to @FusionPlmH for doing this request: Image | Raspberry Pi OS (64-bit) #3570
  • Odroid C4 | Support for this new Hardkernel SBC has been added to allow image creation based on Meverics Odroid repository, including Kodi support.
  • Network | "ping" can now be used by all users without any file capabilities, sudo or setuid. For this we allow all users to create native ICMP sockets which are available since Linux 3.X but disabled by default on Debian. Other distributions and systemd (upstream) have this enabled by default and for security and usability reasons we follow them: https://fedoraproject.org/wiki/Changes/EnableSysctlPingGroupRange
  • DietPi-Login | A new setting has been added which allows to skip the interactive GPLv2 license agreement on first login. Add/set "AUTO_SETUP_ACCEPT_LICENSE=1" in (/boot/)dietpi.txt in which case we assume you read and agreed the license text at least once. Many thanks to @mrbluecoat for reporting the urgent use-case of Chromium kiosk mode autostart without keyboard attached: DietPi-Software | Chromium: Automated kiosk mode blocked by GPLv2 accept screen #3326
  • DietPi-Cleaner | Enhanced performance of the files cleaner if /mnt is skipped, especially in combination with large drives or network mounts. Many thanks to @maartenlangeveld for revealing the underlying issue: dietpi-cleaner: mount directory being scanned while Include mount directory is disabled ? #3609
  • DietPi-Drive_Manager | SSHFS entries in fstab are now detected and preserved. Many thanks to @notwork for doing this suggestion: https://dietpi.com/phpbb/viewtopic.php?f=9&t=7781
  • DietPi-Config | Added Ethernet link speed selection to Network>Ethernet menu. The function and dietpi.txt entry exists for a long time but it was only exposed as first run setup option.
  • DietPi-Software | WireGuard: Added generic support for all SBCs where the WireGuard kernel module is shipped together with the kernel package. This applies to most current Armbian-based images at the time of writing and will be the more regular case since Linux 5.6 has WireGuard natively integrated.
  • DietPi-Software | Firefox Sync Server has been added to our software list, which allows to sync your Firefox bookmarks, history, tabs and passwords via your self-hosted server. Many thanks and all credits to @CedArctic for implementing this software title: DietPi-Software | Add Firefox Sync Server #3471
  • DietPi-Software | Folding@Home: Updated to latest v7.6.X, which includes an explicit option for prioritising COVID 19 projects: https://foldingathome.org/2020/04/17/new-foldinghome-software-with-the-option-to-prioritize-covid-19-projects/
    This update is applied to all systems with DietPi v6.31, existing config and data are preserved.
  • DietPi-Software | Sonarr/Radarr/Lidarr: The /media directory as second common mount point can now also be used as download/media directory without manually adding it to the systemd units ReadWritePaths list. Many thanks to @ricardoandren for doing this suggestion: DietPi-Software | Sonarr/Radarr/Lidarr: Allow service writes to /media #3561
  • DietPi-Software | Samba Server: Changed default server-side file permissions from 0775 to 0664, hence files on the server are by default created without execute permissions now, which suits usual standards. Many thanks to @maartenlangeveld for doing this suggestion: Kernel upgrades on existing DietPi installations went wrong #3581
  • DietPi-Software | QuiteRSS: Re-added the years ago accidentally removed install code block. If you ever wondered why there was no QuiteRSS after selecting it for install, now there will be. If it is marked as installed already, run either "dietpi-software install 22" or simply "apt install quiterss" to (really) get it.

Bug Fixes

Known/Outstanding Issues

MichaIng and others added 30 commits May 11, 2020 00:27
+ DietPi-Software | Code fixes and enhancements, based on CodeFactor scan
+ DietPi-Patch | Minor code enhancements based on CodeFactor scan
+ DietPi-Boot | Run network time sync before estimating network details. Waiting for network only checks for a default route, but especially in case of DHCP this can be present before a valid IP has been assigned. Network time sync is done anyway and, if not a local NTP server or custom method has been chosen, serves as an additional prove for internet connectivity. The non-interactive DietPi-Run_NTPD call does not require or use /run/dietpi/.network at all, hence no regression is implied. All services which require internet connectivity, especially those which read /run/dietpi/.network, should start "After=dietpi-boot.service", those which read /run/dietpi/.network additionally should call "ExecStartPre=/boot/dietpi/func/obtain_network_details" to have updated network info, e.g. on service restarts (ToDo).
+ DietPi-Software | GMediaRender/WireGuard: Update network info before reading info file on service start. This prevents invalid IP info if DHCP lease on boot finishes before obtain_network_details is called or if during session the device is connected to a different network or DHCP applies a new IP and services are (re)started afterwards. Planned long-term solution is a set of functions to read network info directly from system instead of relying on correct /run/dietpi/.network content (ToDo).
+ CHANGELOG | Add v6.31 changelog
+ CHANGELOG | GMediaRender+WireGuard: Resolved an issue where service start could have failed due to invalid network information. Many thanks to @fnsnyc for reporting this issue: #3519
+ CHANGELOG | After travelling back to the future 2030, we were able to apply bug fixes with alien technology to the v6.30 release back in 2020.
+ DietPi-Fan_control | Minor coding enhancements
+ DietPi-Backup | Minor coding enhancements
+ DietPi-Cleaner | Minor coding enhancements
+ DietPi-Cloudshell | Minor coding enhancements
+ DietPi-Config | Minor coding enhancements
+ DietPi-Drive_Manager | Tiny coding
+ DietPi-LED_control | Minor code enhancements
+ DietPi-Services | Minor coding enhancements
+ DietPi-Survey | Tiny code enhancement
+ DietPi-Change_hostname | Tiny code enhancement
+ DietPi-Benchmark | Tiny code enhancement
+ DietPi-Globals | Minor code enhancements
+ DietPi-Set_software | Minor code enhancements
+ DietPi-WiFiDB | Tiny code enhancement
+ DietPi-Arr_to_RAM | Tiny code enhancement
+ DietPi-Pre-patches | Satisfy CodeFactor
+ DietPi-Drive_Manager | Minor code enhancement
+ DietPi-Drive_Manager | Tiny code enhancement
+ DietPi-PREP | Tiny code enhancement
+ DietPi-Software | Tiny code enhancement
+ DietPi-Software | Always call curl with "-f" option to have it exiting with error code and meaningful short error message in case of webserver error responses, instead of printing the HTML error page with exit code zero.
+ DietPi-Software | Add Firefox Sync Server
+ DietPi-Software | rTorrent: Set default pieces.memory.max.set to total physical memory size in MiB as intended
+ DietPi-Software | rTorrent: Fix invalid dht.mode.set value, which must be "on" instead of "enable"
MichaIng added 9 commits June 24, 2020 22:12
+ DietPi-Set_software | NTP mirror: Fix gateway detection
+ DietPi-Boot | Tiny
+ DietPi-PREP | Ship full GPLv2 license text, being good practise
+ dietpi.txt | Allow to skip the interactive license dialog via new setting AUTO_SETUP_ACCEPT_LICENSE=1. This resolves an issue where firstrun setup is done non-interactively (AUTO_SETUP_AUTOMATED=1) and a non-input autostart options is chosen, e.g. Chromium kiosk mode with no keyboard attached: #3326
+ DietPi-Login | Skip interactive license dialog if it has been accepted via new dietpi.txt setting: AUTO_SETUP_ACCEPT_LICENSE=1
+ dietpi.txt | Clarify AUTO_SETUP_HEADLESS setting
+ CHANGELOG | DietPi-Login | A new setting has been added which allows to skip the interactive GPLv2 license agreement on first login. Add/set "AUTO_SETUP_ACCEPT_LICENSE=1" in (/boot/)dietpi.txt in which case we assume you read and agreed the license text at least once. Many thanks to @mrbluecoat for reporting the urgent use-case of Chromium kiosk mode autostart without keyboard attached: #3326
+ DietPi-Software | TigerVNC: Workaround external bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932499
+ DietPi-Software | TigerVNC: Missing netbase dependency has been resolved since Bullseye
+ DietPi-Software | VNC Server: Check for RealVNC/TigerVNC binaries explicitly, else exit with error
+ DietPi-Software | XRDP: Do not apply backports rules on Raspbian
+ DietPi-Software | QuiteRSS: Re-add install code, which was (accidentally?) removed/left commented with DietPi v127 commit: 7cb41f3
+ CHANGELOG | QuiteRSS: Re-added the years ago accidentally removed install code block. If you ever wondered why there was no QuiteRSS after selecting it for install, now there will be. If it is marked as installed already, run either "dietpi-software install 22" or simply "apt install quiterss" to (really) get it.
+ CHANGELOG | TigerVNC: Worked around an external bug where the VNC server crashes after client logout. Many thanks to @Joulinar for investigating this issue and providing the workaround: https://dietpi.com/phpbb/viewtopic.php?p=25285#p25285
@MichaIng MichaIng added the Beta 🧪 Issues specific to the Beta branch testing label Jun 25, 2020
@MichaIng MichaIng added this to the v6.31 milestone Jun 25, 2020
@MichaIng MichaIng requested a review from Joulinar June 25, 2020 20:02
MichaIng added 16 commits June 25, 2020 22:38
+ DietPi-Patch | Avoid setcap error message by attempting capability removal only if any are present
+ DietPi-Patch | Reset QuiteRSS install state if the package has not actually been installed: 49f960a
+ DietPi-Patch | Fix obsolete FAHClient service removal
+ DietPi-Software | Tiny
+ DietPi-Patch | getcap always returns true, so we need to check for output instead
+ DietPi-Software | WireGuard: Enable support for all devices where the kernel module is shipped with the kernel package. This is e.g. true for all "current" Armbian images with 5.X kernel. WireGuard has been natively integrated into Linux since v5.6 hence this integration will be of raising importance and allows to skip DKMS and headers install.
+ DietPi-Software | WireGuard: Work around an issue with some Odroids where /lib/modules/<version>/build symlink is missing when headers are installed after the kernel package. If a matching kernel and headers dir pair is found but no symlink, it is created now manually: #3577
+ DietPi-Software | TigerVNC: Fix LD_PRELOAD assignment
+ DietPi-Software | Minor wording/comments and shortened forum URLs
+ DietPi-Software | Desktops: Shared desktop entries/icons are hosted on GitHub for a while, hence remove the obsolete dietpi.com URL check.
+ DietPi-Software | MATE: Install the core package only, the extra package is a meta package that pulls (as dependency) only the base package which again pulls (as dependency) only the core package. Hence without explicitly pulling recommendations, we just install two meta packages + core and should instead install core only.
+ DietPi-Software | TigerVNC: Apply libunwind workaround via binary patch, which fixes calls from other origins like XRDP
+ DietPi-Software | RealVNC: Do not enable enterprise subscription service vncserver-virtuald. If users have enterprise subscription, they should disable our vncserver.service and enable vncserver-virtuald.service to switch from static VNC session on screen 1 to ondemand RealVNC session spawn.
+ DietPi-Software | RealVNC: Integrate vncserver-x11-serviced.service start into vncserver.service in shared mode. Having it running concurrently to a virtual VNC session makes it attaching to the virtual VNC session, which allows connecting to it on port 5900 (no screen :1 required) but the overhead overhead of ~20 MiB + possible confusion is not worth it.
+ DietPi-Software | VNC Servers: Apply vncpasswd only on TigerVNC since RealVNC by default uses UNIX user authentication and does not support the "-f" option at all.
+ DietPi-Software | VNC Servers: Minor uninstall enhancements
+ DietPi-Software | TigerVNC: Hide "dpkg-query -s" output
+ DietPi-Software | TigerVNC: Print "'Waiting for X11 to start" only one on shared mode startup, then wait silently. As of service type, subsequent prints are no caught anymore by journal and otherwise would spam it in case of disabled desktop autologin.
+ CHANGELOG | XRDP: The TigerVNC bug affected as well XRDP connections which have been resolved in the same turn: #3615 (comment)
+ Subversion up
+ DietPi-Globals | Default subversion up
+ DietPi-Patch | On Stretch, libcap2-bin ist no dependency of iproute2 and can hence be missing. Skip ping binary capability removal, if getcap/setcap is missing anyway. No need to force its install, security implication is minimal anyway.
+ DietPi-FirstBoot | Network setup: Although we do not ship our images with resolvconf anymore, be more compatible and apply static DNS nameservers correctly when it is present.
+ DietPi-Cleaner | Only mark packages for autoremoval if any were found
+ DietPi-Cleaner | Do not mark git as as not installed since we do not autoremove it anymore, since is required by some software titles for their internal updaters.
+ DietPi-Software | WiFi Hotspot: In case of RTL8188C* adapter on RPi, stay with default driver, since the issue seems to have been resolved differently and "rtl871xdrv" is not supported: #2531 (comment)
@MichaIng MichaIng merged commit 75b2b0b into beta Jun 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Beta 🧪 Issues specific to the Beta branch testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Open Beta v6.31 | Please help testing and hardening the upcoming release
3 participants