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

Dev > Beta #2392

Merged
merged 329 commits into from
Jan 15, 2019
Merged

Dev > Beta #2392

merged 329 commits into from
Jan 15, 2019

Conversation

Fourdee
Copy link
Collaborator

@Fourdee Fourdee commented Jan 4, 2019

Changelog

Image line-up

  • We removed Jessie images from our download server (besides for Odroid C1), since we see no advantage to use them anymore. Existing Jessie systems are still supported, but we encourage all users to consider switching to a fresh Stretch image by times: https://github.com/Fourdee/DietPi/issues/2332

Changes / Improvements / Optimisations

Bug Fixes

  • DietPi-Software | Nextcloud: Resolved an issue, where the Nextcloud Apache config was not downloaded correctly. Thanks to @Stefan3v for reporting this issue: https://github.com/Fourdee/DietPi/issues/2383
  • DietPi-Software | ownCloud/Nextcloud (Talk): Resolved an issue, where occ/ncc commands could fail, if Redis server is not running: https://github.com/Fourdee/DietPi/issues/2321
  • DietPi-Software | ownCloud/Nextcloud: Resolved an issue, where during fresh installs on v6.19, Apache configs were not enabled correctly.
  • DietPi-Software | MPD: Resolved an issue on Stretch, where the mpd binary could not find the configuration file without giving it explicitely as argument. Thanks to @mfeif for reporting this issue: https://github.com/Fourdee/DietPi/issues/2378
  • DietPi-Software | Mopidy: Resolved an issue, where playlist files could not be created due to missing permissions. Further improved handling of existing configs, data and cache directories on (re)install. Thanks to @cyberlussi for reporting this issue: https://github.com/Fourdee/DietPi/issues/2384
  • DietPi-Sync | Resolved an issue, where dry-run and compression options were not applied correctly. Thanks to @WilburWalsh for reporting the issue and identifying the faulty code: https://dietpi.com/phpbb/viewtopic.php?f=11&t=5347
  • DietPi-Sync | Resolved an issue, where daily sync was not applied due to changed settings file scheme.
  • General | Enhanced and fixed some issue with dependencies and boot order of DietPi systemd units: https://github.com/Fourdee/DietPi/pull/2357
  • General | AudioPhonics I-Sabre-K2M: Once the driver is compiled, it will no longer be recompiled. This prevents ALSA installs from re-compiling the driver each time.
  • General | Resolved an issue, where login with non-bash session caused an error message. Thanks to @Elijahg for reporting this issue: https://github.com/Fourdee/DietPi/issues/2347
  • General | Resolved an issue where G_CHECK_URL would not terminate applications on failure. Also added option to retry + change networking options.

As always, many smaller code performance and stability improvements, visual and spelling fixes have been done, too much to list all of them here. Check out all code changes of this release on GitHub: https://github.com/Fourdee/DietPi/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aclosed+base%3Amaster

Known/Outstanding Issues

Daniel Knight and others added 30 commits December 20, 2018 21:11
+ Tweaks
+ Minor
+ Testing, not finished.
+ Patch fixes. Does not re-run current patch unless this is set.
+ Correction.
+ Function code for additional uses in future.
+ WIP/testing
+ Outside func.
+ WIP/testing
+ WIP/testing
+ DietPi-Software | Netdata: Fix uninstall removing root dir
+ DietPi-Software | Netdata: Use netdata user to run service
+ Netdata 1.11.1 binaries.
+ CHANGELOG | Netdata update
+ DietPi-Patch | Reinstall Netdata to apply new user, permissions and service
+ DietPi-Patch | Cleanup doubled/obsolete reinstalls
+ DietPi-Software | Netdata: Simplify binary download based on HW arch; Apply permissions according to docs and logs
+ DietPi-Software | Netdata: Adjust to match official unit + hardenings from Debian sid repo unit
+ DietPi-Software | Netdata: Workaround Jessie not supporting some systemd unit directives
+ DietPi-FS_partition_resize | Run unit before local-fs.target and swap targets reached, but after local-fs-pre.target to have all initial R/O root mounts, systemd-fsck and remounts done
+ DietPi-FS_partition_resize | Pull in local-fs-pre.target, which is special static systemd target, that is only reached, if actively pulled in. On fresh DietPi it it reached already, but we need to be failsafe
+ DietPi-FS_partition_resize | "-f" short for "--force" forces changes, even if drive is mounted/swap active, but "--no-reread" will simply skip the test, where we know the outcome on RootFS. To be fail-safe we leave both options inside.
+ DietPi-RAMdisk/log | Simplify: "After=local-fs.target" is added via default dependencies, and all mounts have to finish to reach this target; "StandardOutput=tty" does not make sense, if we forward everything to log file
+ DietPi-RAMdisk/log | Fix "dietpi-ramdisk/log.log" being overwritten on boot, rendering shutdown log useless. For now stay with adding logs to final log location directly.
+ DietPi-FS_partition_resize | Pre-create log dir to be fail-safe
+ DietPi-(Pre)Boot | Log STDERR to log file as well
+ DietPi-Boot | Run "Before=getty", and with this on idle (can happen early by chance) login prompts
+ DietPi-Boot | Do not run "After=network-online.target", since this can delay boot much and DietPi-Boot has it's own optional (dietpi.txt) network wait mechanism. Furthermore "network-online.target" is not pulled in by default, but an "active" unit, thus consumer services need/should pull it via Wants=. "apt-daily.service" e.g. does this, but we mask this one.
+ DietPi-PreBoot | "network-pre.target" is a passive unit that needs to be pulled in (Wants=) by services, otherwise it is not active. Currently for this reason, network interfaces are raised, before/while dietpi-ramdisk/log/preboot.
+ DietPi-PostBoot | Remove "Before=rc[.-]local.service", since those are meant to run before login prompt (Before=getty.target). rc-local is enabled, login prompt will run after postboot, thus over-prompt our banner.
+ DietPi-PostBoot | Oder "After=multi-user.target", which is the last actual login prompt target and assures, that out banner is shown after login prompt TTY clearing.
+ DietPi-PostBoot/Kill_SSH | Avoid /bin/bash sub shell call, which is not required, since we do no stream redirection here
+ DietPi-Kill_SSH | "Before/After=network.target" has no order effect for this service, which is called only on shutdown, since this target is not "reached" on shutdown. "shutdown.target" is the very last target reached on shutdown, so too late anyway. Best results (earliest execution) during my tests was without declaring any ordering.
+ DietPi-Patch | Resolve networking service order cycle on Jessie
+ DietPi-Kill_SSH | Run killall regardless or pgrep result, since pgrep is slower than an unsuccessful killall attempt. Script file not required anymore. "-q" to hide output. Rename to "dietpi-kill_ssh.service" for DietPi script naming consistency.
+ DietPi-Patch | Patch DietPi-Kill_SSH service rework
+ DietPi-Kill_SSH | Do not throw failure state, if killall command fails
+ CHANGELOG | DietPi systemd unit boot order/dependencies
+ DietPi-WiFi-Monitor | Shorten "Description" to have better syslog entries; Move explanation to comment
+ DietPi-WiFi-Monitor | Since this systemd unit prints to syslog/journald, reduce output to connection loss + reconnect only. Print connection checks only in debug mode.
+ DietPi-Drive_Manager | Add fsck flag to /boot as well
+ DietPi-Drive_Manager | Remove nofail and x-systemd.automount from boot as well
+ DietPi-Patch | Remove "nofail" and "x-systemd.automount" options from fstab on update
+ config.txt | Be more specific about RAMdisk hint, this is does not apply to all files in /boot/
+ config.txt | Minor wording and visual
+ dietpi.txt | Be more specific about RAMdisk hint, this is does not apply to all files in /boot/
+ boot_c2.ini | Be more specific about RAMdisk hint, this is does not apply to all files in /boot/
+ boot_c1.ini | Add hint to edit files at RAMdisk location
+ boot_xu4.ini | Add hint to edit files at RAMdisk location
+ WIP/testing
+ Generate GPL license in PREP as file.
- General | Resolved an issue where G_CHECK_URL would not terminate applications on failure. Also added option to retry + change networking options.
+ Minor tweak/cleanup after use.
+ REmove G_CHECK_NTP
+ Improve run_ntpd code to handle blocking retry until sucess.
+ Minor.
+ DietPi-Software | Nextcloud: Security hardenings based on official Apache and Nginx configs
+ DietPi-Software | Nextcloud: Remove "Referrer-Policy" header, which is set internally since NC15 and not checked on NC13 (Jessie)
+ DietPi-Software | Nextcloud: Update Nginx config to match current official docs
+ DietPi-Software | Nextcloud: Remove "preload" from HSTS header. Users should decide this by themselves, since removal from preload list can take a long time, if not wanted. Further only enable HSTS header, if chosen via dietpi-letsencrypt.
+ DietPi-Software | ownCloud: Update Nginx config to match current official docs
+ DietPi-Software | ownCloud: Remove "preload" from HSTS header. Users should decide this by themselves, since removal from preload list can take a long time, if not wanted. Further only enable HSTS header, if chosen via dietpi-letsencrypt.
+ DietPi-Software | Nextcloud: Minor Lighttpd config fix
+ DietPi-Software | ownCloud: Lighttpd config for security hardening
+ DietPi-Software | Nextcloud: Add link to docs with Apache config
+ DietPi-Software | ownCloud: Add link to docs with Apache config
Daniel Knight and others added 29 commits January 11, 2019 22:20
+ Minor
+ no longer required.
+ Dietpi-config remove rpi-update option
+ Patch for APT kernel install
https://github.com/Fourdee/DietPi/issues/2052
+ minor
+ Reboot required.

EG: in case of Odroid headers do not match active kernel, thus fails to active module.

https://github.com/Fourdee/DietPi/issues/2052#issuecomment-453690247
+ DietPi-Config | Allow firmware update via G_AGDUG for RPi as well, so user is not forced to run dietpi-update/software or dist-upgrade manually; Otherwise menu option should be hidden on RPi.
+ DietPi-Patch | RPi-Update: Do no call G_AGUP again within patch, since it was already called on update start
+ DietPi-Patch | RPi-Update: Remove rpi-source as well, if found
+ DietPi-Set_Hardware | i-sabre-k2m: Rebuild the kernel module each time, the sound card is selected, in case the kernel got upgraded and inform user about this requirement
+ DietPi-Patch | Remove obsolete .compiled_i-sabre-k2m flag as well
DietPi-Config | Firmware update fine tuning
+ Provide info when config files are updated via .conf install: https://github.com/Fourdee/DietPi/issues/2325#issuecomment-453792735
+ go with whippy.
- DietPi-Software | You will now recieve a whiptail prompt, if config files are overwritten during software installations: https://github.com/Fourdee/DietPi/issues/2325
+ DietPi-Software | ownCloud/Nextcloud/Wordpress: Download tar.bz2/gz archives, to have preserved permissions and lower download size
+ DietPi-Software | NoMachine: Update installs to v6.4.6; Enable ARMv8 support, testing required!
+ CHANGELOG | NoMachine: Enabled ARMv8 support and will now install current version 6.4.6
+ DietPi-Software | Airsonic: Install latest version via api.github.com
+ DietPi-Software | Airsonic: If user already exists, update via usermod instead of attempting useradd
+ DietPi-Software | Airsonic: Move airsonic home dir to dietpi_userdata as well
+ DietPi-Software | Minor coding
+ CHANGELOG | Airsonic: Now installs the latest upstream version automatically
+ DietPi-LetsEncrypt | Add more info about supported web applications, in non was found, and allow to switch to DietPi-Software directly
+ DietPi-LetsEncrypt | Minor coding
+ DietPi-Software | Minor coding
+ DietPi-Software | Airsonic: Use wget instead of Download_Install(), since we don't download a 7z archive anymore
+ DietPi-Software | Airsonic: wget -O requires a destination file name
+ DietPi-Software | Java: "ca-certificates-java" is now dependency of "openjdk-8-jre-headless" on all distro versions, so do not manually install
+ DietPi-Software | Java: "ca-certificates-java" dependencies now allow Java 8 only on all distro versions, Java 9+10 have been dropped mostly, so we don't require reinstall workaround anymore
+ DietPi-Software | Java: Install headless packages on Jessie as well
+ DietPi-Software | Java: Add all Java related packages to backports priority pin on Jessie, to allow automated APT upgrades for all of them
+ DietPi-Software | Jackett: Supports /latest on api.github.com
DietPi-Software | Airsonic: Update installer to latest version
DietPi-Software | NoMachine: Update to v6.4.6 and enable for ARMv8
@Fourdee Fourdee merged commit 5264df5 into beta Jan 15, 2019
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.

2 participants