-
-
Notifications
You must be signed in to change notification settings - Fork 502
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 v7.9 #5053
Merged
Release v7.9 #5053
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ DietPi-TimeSync | In oneshot modes, stop systemd-timesyncd as well when time sync fails. Exit the loop when the menu is cancelled: This allows users to ignore without overriding the status to success, so that a next non-forced sync won't be skipped, and it assures that without STDIN no endless loop can happen. G_INTERACTIVE=0 is set if no STDIN is available, but in theory this can be overridden by exporting/passing G_INTERACTIVE=1 explicitly.
+ DietPi-Software | Transmission: Stop service before applying our configuration settings + DietPi-Software | Stop all services right after their (package/installer) installation, which were stopped between install and config code blocks in DietPi v7.8 an earlier. In all added cases, this is not necessary to fix install issues (as far as tested), but it reduces RAM usage and CPU utilisation during subsequent installs and all those services are (re)started at the end of all installations with in case updated configs anyway.
+ DietPi-Software | Unbound: Skip using obsolete CONFIG_PREFER_IPV4 dietpi.txt setting but use CONFIG_ENABLE_IPV6 only to decide whether to have Unbound listen to and use IPv6 for DNS queries or not. Remove the "prefer-ip6" setting from the default config as well, leave it up to Unbound defaults. + DietPi-FirstBoot | If CONFIG_ENABLE_IPV6 has no valid value, hence it is not actively disabled, enable IPv6.
+ DietPi-Services | Do not enable/disable ownCloud/Nextcloud maintenance mode anymore: The cron, the webserver and in case PHP are stopped and started which practically prevents any access to and from Nextcloud anyway. + DietPi-Services | Add DietPi-CloudShell to menu and status service list, which is now always present + DietPi-Services | Remove some old debug code and minor coding
+ DietPi-Software | Kodi: On RPi, use full KMS driver instead of fake KMS driver now, and use it not only for RPi 4 but for all 64-bit images (userland) as well. Only the 32-bit Raspbian Buster and earlier Kodi build requires RPi models earlier than RPi 4 to use the legacy framebuffer driver.
+ DietPi-Config | RPi: Show only actually set overclocking values above the menu and no commented ones. If none are set, show the defaults for the apparent RPi model. When resetting values, do not reset comments but only turn actually set values into comments, showing the default value.
+ DietPi-Software | Kodi: Skip dealing with Kodi service and user, which is not used anyway and if at all present only on legacy images. In fact I couldn't find the config file and user on any currently supported distro/package version. On the regular package on Debian Stretch, the user is used in the Kodi service, but that service is not used, not enabled by default and the user not created on install.
+ DietPi-Software | General internal cleanup of the choice system + DietPi-Software | Remove UNINSTALL_REQUIRED variable and instead check for any actual "-1" mark to trigger the Uninstall_Software function call for CLI and after installs. Also the uninstall menu code has been simplified, getting rid of of another flag variable in favour of checking whether any software has been added to the anyway created G_WHIP array. + DietPi-Software | If due to choice changes only uninstalls are done and it is not the first run setup, skip the install function and call the uninstall function directly. + DietPi-Software | Remove abortion banner: No need to erase the console, especially when no changes have been applied. Also the function contained a 1st run abort (short version) banner which was never used, as aborting DietPi-Software on first run setup was prevented in the first place, reasonably, to have all setup steps done regardless of actual software selections. + DietPi-Software | Adjust logging choice index on Rsyslog and DietPi-RAMlog installs and uninstalls. Generally assure that RAMlog index stays active as long as /var/log is still a tmpfs, to rule out filled tmpfs until reboot. On DietPi-RAMlog uninstall, the logging index will be adjusted by the service which does the actual disabling on next reboot. + DietPi-Software | Merge webserver preference index variables, prevent preference choice if a webserver is installed already, apply choices immediately (persistent without doing an actual install) and adjust index on webserver uninstalls. + DietPi-Software | Merge desktop preference index variables, prevent preference choice if a desktop is installed already, apply choices immediately (persistent without doing an actual install) and adjust index on desktop uninstalls. + DietPi-Software | Merge browser preference index variables, prevent preference choice if a browser is installed already, apply choices immediately (persistent without doing an actual install) and adjust index on browser uninstalls. + DietPi-Software | Remove file server choice setting from dietpi.txt, but keep code to apply the choice to be backwards compatible with current/old images. + DietPi-Software | Remove the File Server selection menu. There is no reason to treat file servers any different than other software titles, they are no dependencies, do not generally conflict with each other and do not affect other installs. + DietPi-Software | Fallback to correct default when resolving dependencies. This is done already in parent functions but it doesn't hurt to do this as well in the final function. + DietPi-Software | Update webserver stack meta install states right before writing the installed states file. This assures that those always represent the actual webserver and database install states after every install or uninstall. + DietPi-Software | Implement a new conflict system which allows to consistently unmark and warn users about conflicting software selections, when doing this interactively from the menus as well as when installing via CLI + DietPi-Software | Reorder install steps so that unmarks are done first, and the install is aborted if no marks are left, and required directories only after successfully network check + time sync + APT + DietPi-Software | Do not warn or recommend to leave webserver stacks unmarked to be auto-selected as dependency. There is absolutely no problem when users do this manually. It is not required (as long as the webserver stack is not wanted as standalone installation) but the additional step has been done already, so the warning is pointless. The new conflict system additionally prevents and warns about conflicts, if this was one of the reasons behind the warning. + DietPi-Software | Remove the flag for software which requires automated APT upgrades. Keeping APT packages updates is generally and always recommended, if there is time for the maintenance, and there is no reason why this would be more important when using a VPN server or Tor compared to e.g. hosting personal data via webserver or similar. + DietPi-Software | Consequently loop through aSOFTWARE_NAME instead of aSOFTWARE_INSTALL_STATE keys to not handle install states of software which is not defined anymore, e.g. a forgotten install state while the related software title has been removed with a recent DietPi release. There is an install state assigned in every case as part of the array creation. + DietPi-Software | Do not show webserver stacks in uninstall menu: Their install states will be aligned with webserver/database install states automatically. + DietPi-Software | Tune preference system texts to be hopefully better understandable: #4914 (comment)
+ CHANGELOG | UnRAR: Resolved an issue on Raspberry Pi 1 an Zero (1) where an incompatible "unrar" binary was installed. "unrar-free" from Raspbian is installed now on these models, but note that it does not fully support all RAR formats and may hence fail to extract archives in some cases.
+ DietPi-Software | rTorrent: Resolved an issue where with Apache webserver the /RPC2 proxy to the rTorrent UNIX socket did not work due to invalid syntax. Many thanks to @Camry2731 for reporting this issue.
+ DietPi-Software | rTorrent: On new installs, enable TCP listener by default, to align with other BitTorrent servers. Use a single port outside of the well-known port range, following Arch Linux recommendations. + DietPi-Software | rTorrent: Update Lighttpd config to mute some startup warnings, and apply some minor code and permission hardenings
MichaIng
requested review from
ravenclaw900,
fpetru,
Joulinar and
StephanStS
December 10, 2021 23:00
+ DietPi-Config | Only use /etc/network/interfaces for static DNS server info when the dns-nameservers setting is actually in use (uncommented), else fallback to /etc/resolv.conf which is definittly the affectively applied system DNS server, while we do not know whether it has been applied statically or via DHCP or dynamically via resolvconf. Fix mawk syntax for this. Furthermore, to avoid confusion, on first boot adjust the dns-nameservers entry even if resolvconf is not available (commented of course) so that it matches /etc/resolv.conf in any case.
+ CHANGELOG | DietPi-Config: Resolved an issue where the network adapter menu did not show the static DNS server(s) effetively applied at first boot based on dietpi.txt settings. Many thanks to @nils-trubkin for reporting this issue: #5054
+ CHANGELOG | rTorrent: By default on fresh installs, rTorrent now listens on TCP port 49164 for incoming BitTorrent connections. Aside of DHT, listening for incoming connections was completely disabled before, which lead to slow or no peer connections, depending on the tracker used. Many thanks to @Camry2731 for reporting this inconsistency with our other BitTorrent server options.
+ DietPi-Set_hardware | Add a command to toggle the Raspberry Pi hardware codec drivers separately. Since Bullseye at least, V4L2 is actively used for video decoding in Kodi and FFmpeg (includes Chromium), so that it requires an independent toggle. On Raspberry Pi 4 there is a dedicated stateless HEVC driver which should then be enabled, too. Enable these as well when the RPi camea module is enabled. + DietPi-Config | Implement the new dedicated RPi codecs toggle. As well remove the RPi model checks when an RPi option was selected, as those options are only shown on RPi in the first place. Move some other checks, which imply Odroids up to hide all unsupported menu entries in the first place. + DietPi-Software | Enable Raspberry Pi hardware codecs on RPi Bullseye systems for FFmpeg, Jellyfin (internal FFmpeg), Chromium (internal FFmpeg) and Kodi (FFmpeg system libraries), which are known to make use of the RPi hardware codecs.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Release v7.9
(2021-12-11)
Stretch support
Changes
Fixes