-
-
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 v6.29 #3502
Merged
Release v6.29 #3502
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-PREP | Fix DietPi directory permissions: #3322 (comment)
+ NanoPi M4v2 | Add initial definition and support + Network | Remove Rock64 + RK3399 Ethernet workaround, which has been fixed with current Armbian kernel, which our images are currently based on. We do not remove the file via patch on systems, since we cannot assure that the patch has been applied in every case (dist-upgrade) and must "not change a running system".
+ DietPi-Software | myMPD: Re-assure that service runs with "dietpi" as primary group, since new webdav feature allows to push media to server. Remove now unused "mympd" group: #3382 + DietPi-Software | myMPD: Use installdeps build command to satisfy dependencies + DietPi-Software | myMPD: Do not add user to "render" group, which has no point here + DietPi-Software | myMPD: Assure that on uninstall all custom/dietpi-services systemd unit drop-ins are removed as well + DietPi-Software | MPD: Install systemd socket on Stretch as well, which allows socket activation for MPD + DietPi-Software | MPD: Limit dir permissions to mpd:audio and default 755/644 since nothing requires write access to MPD cache, config and log but MPD itself + DietPi-Software | MPD: Omit creation of obsolete symlinks. The file names we used are anyway not all correct defaults on current versions and whatever wants to access them, must either ask MPD directly or have the correct final paths. /usr/local/etc/mpd.conf would only be required when mpd binary is executed directly. In this case an error and different dirs and configs are best anyway, since user and systemd environment are wrong and must not access the same MPD instance. + DietPi-Software | MPD: Enable socket bind by default + DietPi-Software | MPD: Align Stretch (custom package) setup with Debian repo package, by creating "mpd" user with primary group "audio". Make chown more flexible via syntax that sets the primary user group. Do not add MPD user to "render" group, since this is for DRI (graphics) rendering only, not required for audio-only software + DietPi-Software | myMPD: Set correct socket path: /var/run symlinks to /run and systemd units meanwhile complain if /var/run is used. + DietPi-Software | myMPD: Remove config file on uninstall from new location, delete group on uninstall, which can be left from pre-v6.29 installs + DietPi-Software | myMPD: Add playlist setting now, with will be effective with myMPD v6.2.0 and throws a warning only on earlier versions + DietPi-Software | MPD: Remove id3v1_encoding setting from mpd.conf, which has been deprecated with v0.20
…sive umount + Clonezilla is x86_64 only! + umount -R cannot be used with source device as input, but only with mountpoint as input.
+ Rephrase list, since it contains links to hardware manufacturers as well
+ DietPi-Drive_Manager | Move RootFS: Failsafe changes: Exclude /DietPi and /tmp, as those are tmpfs. Exlude /var/log if it is any kind of mount, e.g. when mounted from another external drive, it must be excluded as well of course. Add RPi rootdelay after just added rootfstype block, since it is assured to be present, while "console=tty1" could not be present (although default on DietPi). Search existing entries that really start with the pattern, just in case something like "something_root=" is present. Add "rw" option to new fstab entry, which should not be required but to be failsafe. - ToDo: Exclude simply all mount points from rsync. Add rootdelay on RPi only if target RootFS is on external drive, remove in case it is moved (back) to internal SDcard.
+ DietPi-FirstBoot | Remove obsolete workaround for NanoPi Fire3: #3221 (comment) + DietPi-FirstBoot | Be case-sensitive with dietpi.txt, since "sed -n" value scraping is as well. No need and not consistent to ignore cases for dietpi.txt settings.
+ DietPi-Boot | Remove ancient WiFi workaround for OPi Zero 2 and NanoPi NEO Air + DietPi-Boot | Do now lower kernel print level during boot. This should only be relevant until login prompt and during boot those messages can be very helpful for debugging and informational reasons. Re-evaluate if Odroid C2 HiFi Shield users still complain and then report to Hardkernel instead.
+ DietPi-PREP | Scan only sources.list.d/*.list for kernel/firmware repos, as these are the only effective files, sources.list itself would be overwritten. + DietPi-PREP | ROCK Pi S: Do not pre-install Bluetooth firmware as it gets purged later with bluez => dbus dependency. Install it ondemand when Bluetooth is activated via dietpi-config.
+ DietPi-PREP | Disable Docker optimisations on Armbian images. These are enabled by default but have some performance drawbacks for the base system. This setting will be enabled instead on Docker install (ToDo). + DietPi-PREP | Set kernel log verbosity to 4 on Armbian images. This is Linux default and should be sufficient for regular usage.
+ DietPi-Software | Sonarr/Radarr/Lidarr: Enhance reinstall by skipping download and install of new binaries when install dir already exist. Print an info that updates should be done via internal updater, which is generally safer due to possible migration steps. If the instance is broken, hence internal updater cannot work, the install dir must be removed manually first. + DietPi-Software | Sonarr/Radarr/Lidarr: Create run user with "dietpi" as primary group and skip creation of group with same name. This resolves potential issues where supplementary groups are overwritten by the systemd units "Group=" setting. + DietPi-Software | Sonarr/Radarr/Lidarr: Enable automated service restart after internal updater has finished. Prior to this, internal updates led to a service stop, which then needed to be restarted manually. + DietPi-Software | Sonarr/Radarr/Lidarr: Harden service permissions by allowing R/W access only to install dir, log dir, /tmp and /mnt. The whole /mnt dir is granted since this is the most common dir where users might place downloads, if outside of /mnt/dietpi_userdata. UNIX permissions must match as well, since ReadWritePaths only adds exclusions to ProtectSystem=strict but does not add additional permissions. This change must be communicated since user might currently use custom dirs outside the permitted ones. Those can easily be added to the ReadWritePaths list via dietpi-services GUI service edit. + DietPi-Software | Sonarr/Radarr/Lidarr: Enhance uninstall by cleanly disable and remove the systemd unit with all drop-in configs. + DietPi-Patch | Sonarr/Radarr/Lidarr: Inform user about permission changes: #3349
+ DietPi-LED_control | Major rework: Chosen LED triggers are now applied as udev rules so that this script does not need to be executed on boot. Reset options have been added to remove udev rules. Location has been moved to parent, since now it is for interactive execution only. A shell alias has been added for quick access via "dietpi-led_control". + DietPi-Patch | Convert old DietPi-LED_control settings to udev rules and remove script from old location + DietPi-PreBoot | Remove DietPi-LED_control call, since LED triggers are now applied via udev rules + DietPi-PreBoot | Do not use G_THREAD, since DietPi-Set_CPU is the only larger call being done, hence no benefit of concurrency + DietPi-PreBoot | Do not load DietPi-Globals, since checking for RPi is the only left reason, which can be done much simpler + DietPi-PreBoot | Obtain hardware info only if resulting file is missing, and on RPi to allow SDcard swapping. For non-RPi models, the result can only change after DietPi updates, and DietPi-Patch forces a hardware info reload on every execution. + DietPi-Config | DietPi-LED_control script has been moved to parent dir + DietPi-Login | Since PROMPT_COMMAND() is called from regular interactive shell with bashrc sourced, assure that "rm /tmp/dietpi-process.pid" is non-interactive and silent, regardless of applied "rm" interactive or verbose aliases. + DietPi-Obtain_HW_model | In any unexpected hardware identifier case, revert to "Generic Device" (ID: 22) to assure that our scripts cannot do wrong assumptions, e.g. assume RPi because of missing identifier file only (( $G_HW_MODEL < 10 )). + DietPi-Obtain_HW_model | Remove $IMAGE_ADDITIONAL_CREDITS, since this doubles with .prep_info. If no .prep_info is present (very old images), convert old $IMAGE_ADDITIONAL_CREDITS entry via pre-patches instead + DietPi-Banner | Remove $image_additional_credits line in favour of pre-image line which basically double each other + DietPi-Banner | Add Joulinar to DietPi Team line, deserves credit for outstanding support on GitHub and Forums + DietPi-Pre-patch | Convert .hw_model additional credits line to .prep_info pre-image. This must be done as pre-patch, since DietPi-Patch calls DietPi-Obtain_HW_model, which clears the line + DietPi-Globals | Use hardware ID 22 (Generic Device) as general fallback to assure that it is never falsely identified as RPi by (( $G_HW_MODEL < 10 )).
+ DietPi-PREP | Set modern /usr/local permissions. Remove flag file, created on distro upgrades to preserve old permissions with group "staff": https://www.debian.org/doc/debian-policy/ch-opersys.html#site-specific-programs
+ DietPi-Globals | Whenever one of our global functions invoke G_EXEC with internal G_EXEC_PRE_FUNC/G_EXEC_POST_FUNC, allow originating script/user G_EXEC_PRE_FUNC/G_EXEC_POST_FUNC by renaming existing ones and calling them as well. + DietPi-Globals | Use "declare -F" instead of "declare -f" when checking for declared functions. The first one only prints the name (slightly faster) while the second one prints the functions content.
+ DietPi-PREP | Assure that systemd-timesyncd is installed on Bullseye+ systems, where it is available as dedicated APT package and only one possibility to satisfy systemd dependency for "time-daemon": https://packages.debian.org/bullseye/time-daemon
+ DietPi-Drive_Manager | Fix handling mount sources and targets with spaces, especially for Samba/SMB/CIFS mounts. + DietPi-Drive_Manager | Bind mounts are now excluded by using only the first match of multiple mount sources, which implies that multiple "regular" mounts of the same source will not be shown anymore in the menu. This is acceptable since multiple mounts of the same source was never really supported, e.g. unmounting such a drive would have it been removed on next drive scan loop and mounting a source a second time was never possible.
+ DietPi-Software | Nextcloud Talk: On Buster, /etc/turnserver.conf is now added/fixed, however as failsafe step keep creating default or empty file as fallback + DietPi-Software | Nextcloud Talk: Fix deprecated settings: no-loopback-peers has been replaced by allow-loopback-peers, no-multicast-peers has not changed + fix a sed syntax + DietPi-Software | Nextcloud Talk: Force spreed app install success if command reports "already installed", since it then exits with error code. This is only relevant when the install fails one time and is retried, or if an alternative apps directory is used: #3499 (comment)
+ DietPi-Software | Nextcloud Talk: Succeed app install as well in case of "Cannot declare class" error, which appears to be a new bug and can be ignored since the app enables and works fine: #3499 (comment)
+ DietPi-Software | ownCloud/Nextcloud: Use fixed Redis config path, which is now valid on all supported Debian versions + DietPi-Software | ownCloud/Nextcloud: Revert to Redis socket 770 permissions, which works now well on Debian Buster + DietPi-Software | Nextcloud: Add missing database columns and indices, which is not done automatically by Nextcloud + DietPi-Software | Nextcloud Talk: Do not print coTURN authentication secret to console
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.
v6.29
(03/05/20)
API Changes
Changes / Improvements / Optimisations
Bug Fixes
@SNG
for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?f=11&t=7518