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

Open Beta v7.6 | Please help testing and hardening the upcoming release #4728

Closed
MichaIng opened this issue Sep 11, 2021 · 6 comments · Fixed by #4727, #4735, #4746 or #4747
Closed

Open Beta v7.6 | Please help testing and hardening the upcoming release #4728

MichaIng opened this issue Sep 11, 2021 · 6 comments · Fixed by #4727, #4735, #4746 or #4747
Labels
Beta 🧪 Issues specific to the Beta branch testing Information ℹ️
Milestone

Comments

@MichaIng
Copy link
Owner

MichaIng commented Sep 11, 2021

RC version v7.6.2
v7.6.0 PR #4727
v7.6.1 PR #4735
v7.6.2 PR #4746
Raw changelog https://github.com/MichaIng/DietPi/blob/beta/CHANGELOG.txt
Code changes master...beta
Release date 2021-09-18

How to apply: https://github.com/MichaIng/DietPi/blob/master/BRANCH_SYSTEM.md

Related/solved issues: https://github.com/MichaIng/DietPi/issues?q=is%3Aissue+milestone%3Av7.6


Beta v7.6.2

(2021-09-18)

Changes

  • General | Initial detection and support for Debian 12 Bookworm (the new "testing" version) has been added to DietPi. Everyone is invited to upgrade to Bookworm to stay on bleeding edge. Just note that due to continued breaking changes coming with package upgrades, some features and software installs are broken or will break. We are happy to receive your bug report then, to have necessary changes implemented in DietPi as fast as breaking changes in Bookworm happen, until it becomes the new stable Debian release, expected in summer 2023.
  • DietPi-FS_partition_resize | On first boot, DietPi automatically expands the root partition and filesystem to cover the full disk size. In some circumstances, e.g. on older kernel versions, it may happen that the two used commands "partprobe" and "partx -u" fail to inform the kernel about the changed partition table and hence the filesystem is not expanded. In such case, the system is now rebooted automatically once to assure that the new partition table is loaded and the filesystem is then expanded. This change affects only new images with contain DietPi v7.6 already, since this expansion is done before DietPi updates itself. Many thanks to @Dtrieb for reporting a case where the filesystem expansion failed: DietPi-FS_partition_resize | Reboot once when partprobe failed #4582
  • DietPi-Drive_Manager | Native Linux exFAT support is now detected and respected by skipping the obsolete FUSE driver install in case. Additionally the new "exfatprogs" are installed on Bullseye, written and implemented with Debian Bullseye along with the native Linux exFAT implementation.
  • DietPi-Drive_Manager | exFAT mounts now have 775 mode and are owned by the "dietpi" group, if it was not manually removed. By default, when the FUSE driver is used, mounts have 777 mode so that all users have full access, which isn't optimal for security reasons. With native Linux exFAT support mounts have 755 mode by default, so that DietPi-Software's download and media software implementations don't have write access. "775 root:dietpi" is a good compromise if the "dietpi" group exists, matching the permissions for content directories in /mnt/dietpi_userdata. Many thanks to @K92Pi for reporting a related issue: DietPi-Drive_Manager | Add reasonable permissions and native Linux exFAT support #4680
  • DietPi-Drive_Manager | Added support for moving the root filesystem to a different drive on Odroid N2.
  • 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: DietPi-Login/Autostart | Add autostart option for a custom script to be ran after automatic login. #4634
  • DietPi-Software | TigerVNC: Instead of x11vnc, TigerVNC's own scraping server is now used for shared desktop mode, which is a bit lighter and shares a lot of libraries with the TigerVNC standaline server package.
  • DietPi-Software | RealVNC: Having desktop autologin enabled does not force the shared desktop VNC mode anymore. Furthermore our "vncserver.service" does not call RealVNC's "vncserver-x11-serviced.service" for the shared desktop mode, but instead the actual vncserver-x11 executable is called directly. This has some benefits, e.g. it allows to use our service for a virtual desktop while using RealVNC's service to allow connections to the shared local desktop independently. Many thanks to @K92Pi for bringing this idea to us: VNC won't show desktop when HDMI port is unplugged  #4672
  • DietPi-Software | RealVNC: The VNC server is now started with "VncAuth" authentication by default, which allows any VNC viewer to connect, not just RealVNC's ones. Use "vncpasswd" to change the password, which is now independent of the UNIX user passwords. It defaults to the global software password on a fresh install.
  • DietPi-Software | 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. Many thanks to @zompiexx for reporting this issue: Amiberry 4.1.4 exposes Linux CLI #4692
  • DietPi-Software | MPD: The service file and default mpd.conf are not overwritten anymore (from Buster on), but instead the required changes are added to the default, shipped with the Debian package. This resolves some error messages on MPD startup on Bullseye and leaves most custom changes untouched on a reinstall. Furthermore, by default MPD now logs to journal, accessible via "journalctl -u mpd". Many thanks to @maartenlangeveld for reporting the MPD startup errors: mpd : Failed to initialize io_uring: io_uring_queue_init() failed: Cannot allocate memory  #4690
  • DietPi-Software | Kodi: Our Raspberry Pi accelerated Kodi package is now installed on ARMv7 RPi systems as well.

New Software

  • Box64 | This x86_64 userspace emulator allows you to run x86_64 binaries on an ARMv8/arm64 system. It works very similar to Box86, hence is able to use arm64 shared libraries with the x86_64 binaries, so that often no additional libraries need to be installed. Thanks to binfmt, it is invoked automatically if an x86_64 binary is tried to be executed. Many thanks to @ravenclaw900 for implementing this software title: DietPi-Software | Box64 #4625
  • File Browser | Access and manage your data from 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 and also sharing files and directories via password-protected link is possible.
  • Spotifyd | Spotifyd streams music just like the official client, but is more lightweight. It also supports the Spotify Connect protocol, which makes it show up as a device that can be controlled from the official clients. Many thanks to @ressu for implementing this software title: DietPi-Software | Add spotifyd #4713

Fixes

@MichaIng MichaIng added Testing/testers required 🔽 Information ℹ️ Beta 🧪 Issues specific to the Beta branch testing labels Sep 11, 2021
@MichaIng MichaIng added this to the v7.6 milestone Sep 11, 2021
@MichaIng MichaIng pinned this issue Sep 11, 2021
@MichaIng MichaIng linked a pull request Sep 11, 2021 that will close this issue
@MichaIng MichaIng changed the title Open Beta v7.5 | Please help testing and hardening the upcoming release Open Beta v7.6 | Please help testing and hardening the upcoming release Sep 11, 2021
@MichaIng MichaIng linked a pull request Sep 15, 2021 that will close this issue
@MichaIng
Copy link
Owner Author

Beta v7.6.1 has been merged: #4735

@KamikazeePL
Copy link

KamikazeePL commented Sep 16, 2021

There is a problem with FileBrowser user dietpi doesn't have ADMIN and SHARE permissions.
I fixed it.

dietpi-services stop filebrowser
 /opt/filebrowser/filebrowser users update dietpi --perm.admin --perm.share -d /mnt/dietpi_userdata/filebrowser/filebrowser.db

@Joulinar
Copy link
Collaborator

Thx for sharing, we will have a look.

@Joulinar
Copy link
Collaborator

Joulinar commented Sep 16, 2021

hmm at least Share permissions should be active by default isn't it?

root@DietPi4:/mnt/dietpi_userdata/filebrowser# /opt/filebrowser/filebrowser users ls
ID  Username  Scope  Locale  V. Mode  S.Click  Admin  Execute  Create  Rename  Modify  Delete  Share  Download  Pwd Lock
1   dietpi    .      en      list     false    false  true     true    true    true    true    true   true      false
root@DietPi4:/mnt/dietpi_userdata/filebrowser#

@MichaIng
should I open a new PR to add the admin permissions?

@MichaIng
Copy link
Owner Author

Definitely! Many thanks for pointing this out, especially since I get my dark mode now 😄. Related docs: https://filebrowser.org/cli/filebrowser-users-add#options

This was linked to pull requests Sep 17, 2021
@MichaIng
Copy link
Owner Author

DietPi v7.6 has just been released. Many thanks to all testers! ❤️

@MichaIng MichaIng unpinned this issue Sep 18, 2021
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 Information ℹ️
Projects
None yet
3 participants