-
-
Notifications
You must be signed in to change notification settings - Fork 503
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.6 #4747
Merged
Release v7.6 #4747
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-Survey | Actively disable key authentication, as this is done by default, if an ~/.ssh/id_rsa is present, since one of the very latest package upgrades on Bullseye, despite a password given via URL or even "-u" option, failing as the server allows a single authentication attempt only.
+ DietPi-BugReport | Explicitly set no curl key authentication. Since one of the latest package upgrades on Bullseye, it uses ~/.ssh/id_rsa automatically, if present, despite a user:password given via URL and/or "-u" command, which fails as the server allows a single authentication attempt only. + DietPi-BugReport | Be stricter on input commands but not overriding any non-integer with "0", and minor coding
+ DietPi-Software | RealVNC: Do not force shared desktop mode when dietpi-autostart desktop autologin is enabled, to remain consistency with TigerVNC and allow concurrent and independent local desktop and virtual VNC sessions. + DietPi-Software | TigerVNC: Switch to "tigervnc-scraping-server" for shared desktop, so that our "TigerVNC" install option really is a TigerVNC install option and no mixture with the dedicated and in the meantime hardly maintained x11vnc. + DietPi-Software | TigerVNC/RealVNC: Make our wrapper script a fast executing and lighter dash script, which more explicitly calls the actual binaries than some other services and more explicitly kills the running instances it is supposed to kill. + DietPi-Software | TigerVNC: Do not overwrite existing VNC passwords + DietPi-Software | RealVNC: Use VncAuth to allow 3rd party VNC viewer connections, and apply global software password, when none was set yet + DietPi-Software | TigerVNC/RealVNC: Error-handle most uninstall steps and assure that the (old?) SysV service is cleanly removed + DietPi-Software | Pre-create /usr/local/bin once on every install, so we don't need to pre-create it within so many individual install code blocks. Also add some error-handling here and there. + DietPi-Software | VNC Servers: Add some info prints to our wrapper script and simplify kill command for RealVNC to what works reliable now + DietPi-Software | VNC Servers: Skip the xstartup creation: Both VNC servers ship a default script which mostly equals ours and launches the installed default desktop/client automatically. In case of RealVNC, it is /etc/vnc/xstartup, so that our script was only an unnecessary wrapper. + DietPi-Software | VNC Servers: Use an own loop to wait for an X server, connect, and in case wait for a next X session, when using shared desktop mode. From Bullseye on, the new X0tigervnc binary needs to be used, which is a replacement for what x0tigervncserver, while the latter became a wrapper to pass some defaults. On RealVNC the actual vncserver-x11 needs to be called instead of the wrapper, which also allows us to use generic VncAuth authentication. + DietPi-Software | TigerVNC: Apply remote connection config for Bullseye + DietPi-Software | TigerVNC: Assure that /root/.vnc exists before attempting to write to it + DietPi-Software | VNC Servers: Set bash as default shell for virtual desktop and assure that service status doesn't report a failure after stopping it + DietPi-Software | VNC Servers: Allow other X servers instead of only Xorg for shared desktop, e.g. another running virtual desktop for testing reasons: Yes VNC servers can connect to VNC servers' virtual desktops! + DietPi-Software | RealVNC: Since vncserver-x11(-core) stays active when the X server terminates and connects to any new X server automatically, we don't need to loop for it, but can have it as main process. Leave the initial wait for X in place, as our wrapper consumes much less memory than vncserver-x11-core. + DietPi-Software | RealVNC: Disable its native systemd services after ours got enabled. By default they are disabled anyway, so this covers a scenario where users installed RealVNC manually before, used their services and then do a DietPi install on top of it. Both can run aside of each other (to have virtual + shared desktop VNC concurrently), when screens do not overlap, but our installation should restore the default single VNC server setup. To prevent a potentially used VNC connection for the install (unlikely but possible), the RealVNC services are however not stopped but only disabled for ours to take over from next reboot on.
+ DietPi-Software | LXDE: Block further Raspberry Pi desktop packages which conflict with LXDE on Bullseye. Block a larger range via wildcards to potentially prevent other issues and conflicts, due to customised incompatible packages shipped by the Raspberry Pi repository "main" component, required for kernel and firmware.
+ CHANGELOG | Amiberry: Due to changes in DietPi v7.5, enabling Amiberry fast boot won't change the TTY for boot/kernel on Raspberry Pi anymore, as they do not directly interfere with Amiberry screen output anymore. But due to this change, during screen mode changes, the raw console output is visible for a short time, which breaks the Amiga feeling. To address the issue, instead of changing the kernel command line (cmdline), Amiberry will now switch to a different expectedly empty TTY on startup and switch back to the main TTY when being stopped, including the case of failure. As this is achieved with the Amiberry service itself, the Amiberry standard boot option benefits from it as well, as well as manual "systemctl start amiberry" calls, all the same way, and it is not limited to the Raspberry Pi, as the previous TTY change was.
+ General | Add initial support for Debian 12 Bookworm (current testing) + DietPi-Obtain_HW_model | Reduce overhead when detecting the Debian version + DietPi-Software | Bookworm support: Disable software titles for Bookworm when disabled on Bullseye + DietPi-Set_software | apt-mirror: Use Bullseye RPi repo suite on Bookworm + DietPi-PREP | Add initial Debian 12 Bookworm support + DietPi-PREP | Update Debian version info, Buster being now oldstable, Bullseye stable and Bookworm the new testing + DietPi-PREP | Drop obsolete patches
+ DietPi-Automation | When the automated first run setup fails, assure that as well autologin is disabled. Else, on a reboot or power cycle, the setup is started again automatically, but interactively so that it hangs on first whiptail. If this is a headless device or no screen attached, this makes it impossible to take over the setup via SSH or serial console: #4555 (comment)
+ DietPi-Software | Do not use global INSTALL_URL_ADDRESS and UNINSTALL_URL_ADDRESS variables anymore, but replace them with local ones. There is not point in having these globally and this is a preparation for placing each install block into its own function, having all related variables local ones to rule out interference. + DietPi-Software | Update all fallback URLs/versions when auto-detection of latest version via GitHub API is done + DietPi-Software | Skip G_CHECK_URL when the download is done without any larger prior steps + DietPi-Software | Install all 3rd party APT keys as dedicated files and don't use the deprecated apt-key anymore at all + DietPi-Software | Apply G_EXEC error-handling in some more cases + DietPi-Software | Minor coding, reodering and wording + DietPi-Software | Grafana: Bump version for ARMv6 + DietPi-Software | Jellyfin: Remove obsolete symlink removal on uninstall: This is now done by the package itself.
+ DietPi-Software | RealVNC: Workaround for one of two virtual desktop password files being empty, when not repeating vcgencmd two times, in some cases: #4679 (comment)
+ DietPi-Login/Autostart | Add autostart option for a custom script to be ran after automatic login in foreground + DietPi-Login/Autostart | Change the old custom script option to not print to console so that it is a pure background process + DietPi-Autostart | Shorten the custom script template. Depending on the mode, these don't make much sense anyway. + DietPi-Autostart | Always open the custom script in nano when any custom mode is selected. Add some info to the previous prompt about how to save and exit the editor. + DietPi-Login | Replace login script with autostart commands consequently to keep the number of unnecessarily nested processes at a minimum
+ CHANGELOG | DietPi-AutoStart: A new autostart option "Custom script (foreground, with autologin)" has been added, which executes the custom script "/var/lib/dietpi/dietpi-autostart/custom.sh" after being logged in with the chosen user automatically, in foreground on the main screen. To have it more reasonably separated, the previous custom script option has been changed to "Custom script (background, no autologin)", which is executed via systemd service, independantly of any login state like before, but does not print to foreground console anymore. Instead output goes to journal (journalctl -u dietpi-autostart_custom) like most other systemd services do. The foreground mode now behaves like most other foreground/GUI autostart options, launches after autologin at the main screen (TTY1) and, if it's a long running process, it can be cancelled via CTRL+C, just like CAVA or DietPi-CloudShell. If one wants to run a custom script in foreground on the main screen before/independant of a login, placing it into /var/lib/dietpi/postboot.d/ is another option. All contained scripts are executed at the end of the boot sequence as root user on the main screen, without any manual login required. Many thanks to @scorgn for implementing this feature: #4634
+ DietPi-Software | filebrowser: Added with software ID 198 + CHANGELOG | File Browser: Access and manage your data von anywhere via browser with this lightweight remote file manager. Other than ownCloud and Nextcloud, it accesses the raw data on your filesystem, based on a chosen root directory, which makes it similar to Syncthing. You can setup multiple users with their own root directory as well as files and directories can be shared via password-protected links.
+ DietPi-Software | Spotifyd: Add new software with ID 199 + DietPi-Software | Spotifyd: Pre-create a config template, if not yet present + DietPi-Software | Spotify Connect Web: Merge install and config code blocks + DietPi-Software | Raspotify: Remove APT key as well on uninstall Authored-by: Sami Haahtinen <[email protected]>
+ DietPi-Software | Pi-hole: Remove obsolete dhcpcd workaround since newest Pi-hole release does not install it anymore + DietPi-Software | Fix type in Box64 uninstall and move it together Box86 behind Steam uninstall block + DietPi-Software | Align and complement output banners a bit to have individual software installs and uninstalls well separated from finalising steps and when those are finished, too. Show banner outputs when doing installs and uninstalls as "Step"s instead of "Mode".
+ DietPi-Software | ReadyMedia: Do not create PID file, as it is not required with systemd + DietPi-Software | ReadyMedia: Let the systemd unit create a log directory on Bullseye, since Debian patched an override to force file logging despite "-S" + DietPi-Software | ReadyMedia: Do not grant the "dietpi" group write permissions to the cache directory
+ CHANGELOG | ReadyMedia: Resolved an issue on Bullseye where the service does not start unless the log directory is manually created. Due to a Debian package patch, on Bullseye logs are forced to file logging again, so that /var/log/minidlna again needs to exist. Many thanks to @AnzoP for reporting this issue: #4745
MichaIng
requested review from
Joulinar,
fpetru,
ravenclaw900 and
StephanStS
September 18, 2021 14:48
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.
v7.6.2
(2021-09-18)
Changes
New Software
Fixes