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 v7.0.0 #4132

Merged
merged 35 commits into from
Feb 21, 2021
Merged

Beta v7.0.0 #4132

merged 35 commits into from
Feb 21, 2021

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Feb 20, 2021

Beta v7.0.0

(2021-02-21)

Changes since v7.0.-1

  • Network | A change has been implemented on the order in which network-related systemd service targets are reached. "network.target" and "network-online.target" are now reach after all network interfaces have been configured, rather then already after only the loopback interface "lo" has been configured. This affects only systemd services which are not started by DietPi-Services, e.g. SSH/DNS/VPN/VNC servers, with the effect that they are assured to be able to bind to interfaces/IPs, where currently they would fail. The downside is, if one has an Ethernet adapter configured via dietpi-config or /etc/network/interfaces (as allow-hotplug device), but the cable not connected, affected services may be delayed until the interface bring-up timed out.
  • DietPi-Software | Node-RED: New installs and reinstalls with setup Node-RED as local module for the "nodered" service user, rather than as global system module/command. This allows upgrading and removing all related Node modules through the web interface, instead of just the ones which were installed via web interface. Additionally a console alias for the "node-red-admin" CLI command has been added so that running this command with any user will call the local Node-RED instance as "nodered" service user.
  • DietPi-Software | Docker: The Docker APT repository is now installed manually instead of using the official Docker installer. This allows us to enable the Docker install option for Debian Bullseye systems, if only to allow widened testing of this upcoming Debian release with DietPi.

Fixes since v7.0.-1

  • Audio | Resolved a bug with Debian Buster, where the ALSA state daemon was always running, even when it was not configured.
  • DietPi-Globals | G_OBTAIN_CPU_TEMP: Negative temperatures are not trusted anymore, "N/A" will be printed instead. This allows a generic approach to fix/allow temperature estimation on further SBC models. Many thanks to @Thanapat for reporting a related issue on Roseapple Pi: https://dietpi.com/phpbb/viewtopic.php?t=8677

MichaIng and others added 25 commits February 18, 2021 22:08
+ DietPi-Software | RPi Cam Control: Fix raspimjpeg on Stretch by installing the dedicated Stretch-compatible binary
+ DietPi-Software | RPi Cam Control: Use G_EXEC wherever possible
+ CHANGELOG | Remove outstanding issue entry about raspimjpeg streaming on Lighttpd, until someone verifies that it is still present. Generally it works on Lighttpd, as the RPi Cam Web Interface maintained installer contains a Lighttpd block meanwhile.
+ DietPi-Software | Lighttpd: On uninstall, do not attempt to remove /etc/systemd/system/certbot.service.d if it is not present
+ DietPi-Backup / DietPi-Sync | Link changed from phpBB to dietpi.com/docs
+ DietPi-Software | Python 3 pip: Fix get-pip.py download: Download_Install() does not require a target path anymore. When none is given, or the target name matches the downloaded file name, it will simply downloaded to the working directory.
+ DietPi-Set_hardware | soundcard: Fix a bug on current Debian Buster ALSA packages so that the ALSA daemon only starts when its configuration file exists, rather than when it does not exist, in which case the ALSA restore oneshot service restores control states already. This bug was introduced with Buster and fixed with Bullseye.
+ DietPi-Set_hardware | soundcard: Remove the obsolete workaround for the other Buster-introduced bug where control states were the ALSA restore oneshot service was not started when control states did not exist, which means that service as well did never store states on shutdown. The faulty condition has been removed, inducing the above other bug in the same turn, but at least the restore service is now active in any case.
+ DietPi-Patch | Remove obsolete ALSA control store step
+ DietPi-Software | ALSA: On uninstall, remove our alsa-state.service fix
+ DietPi-PREP | Satisfy shellcheck: We remove system directories intentionally here to be freshly restored with the package reinstall and reconfiguration below
+ DietPi-Survey_report | Assure that unset array entries are not glob expanded
+ DietPi-Software | Docker: Install the APT repository manually. It is trivial and the Docker installer does nothing else than obtaining the distribution and package manager. This allows us to enable the install option on Debian Bullseye by keep using the Buster repository, which should work fine, at least for testing purpose.
+ DietPi-Software | Add further use of G_EXEC where applicable
+ DietPi-Network | Override [email protected] type to give network(-online).target more meaning and remove obsolete ifquery call: #4121 (comment)
+ DietPi-Boot | Allow service to start earlier that that it's wait for network and time sync can overlap with [email protected] / networking.service WiFi connection establishing, DHCP leases etc. network.target + network-online.target are now both delayed until [email protected] has finished, so that all network-related services would stack up too much.
+ CHANGELOG | Network: A change has been implemented on the order in which network-related systemd service targets are reached
+ CHANGELOG | Add a release PR URL
+ DietPi-LED_control | Minor
- dietpi-drive_manager
+ DietPi-Cleaner | Fix docs URL
Links changed from phpBB to dietpi.com/docs #3
@MichaIng MichaIng added the Beta 🧪 Issues specific to the Beta branch testing label Feb 20, 2021
@MichaIng MichaIng added this to the v7.0 milestone Feb 20, 2021
+ CHANGELOG | Docker: The Docker APT repository is now installed manually instead of using the official Docker installer
+ CHANGELOG | Audio: Resolved a bug with Debian Buster, where the ALSA state daemon was always running, even when it was not configured
+ DietPi-Config | Instead of adding regular WiFi settings, then in case of hotspot, removing them and adding hotspot configs, create only Ethernet config first, then add either regular WiFi or hotspot config, based on choice.
+ DietPi-Config | Do not add loopback interface config, as ifup configures this internally automatically
+ Network | Do not statically add udev rule to disable WiFi adapter power savings. Our interfaces config contains "wireless-power off" which invokes iwconfig on ifup to do exactly that (same command, same arguments), when the interface is brought up. In case of inactive WiFi adapters, power savings do not hurt or might be even save power ;). With Debian Bullseye, wireless-tools (iwconfig) has been deprecated in favour of iw. As long as we do not face many older adapters to not support iw, we might drop wireless-tools, invalidating the "wireless-power" interface setting, so that we need to find an own implementation, either via udev rule or /etc/network/if-pre-up-d/.
+ DietPi-Patches | Remove obsolete udev rule, as WiFi power saving is disabled via /etc/network/intefaces > "wireless-power off" > /etc/network/if-pre-up.d/wireless-tools (wireless-tools package) when the WiFi interface is configured.
+ DietPi-Globals | G_OBTAIN_CPU_TEMP: Do not trust negative temperature readouts and add an additional tunable for Roseapple Pi. This may fix as well temperature estimation on OrangePi's.
+ CHANGELOG | G_OBTAIN_CPU_TEMP: Negative temperatures are not trusted anymore, "N/A" will be printed instead
…4124)

+ DietPi-Software | Node-RED: Switch to a local service user install right into /mnt/dietpi_userdata/node-red/node_modules. This allows Node-RED to control core modules as well. Additionally add a console alias for the admin CLI which invokes the service user instance via sudo. Also do not install Python 2 anymore, everything should now work with Python 3.
+ RC up
+ RC up
+ DietPi-Globals | Increment default RC version
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 v7.0 | Please help testing and hardening the upcoming release
2 participants