Skip to content

1.7.1

Choose a tag to compare

@steeb-k steeb-k released this 04 Aug 02:49
· 6 commits to main since this release

Patch release fixing drive health on Linux, which did not work in 1.7.0.
Windows is unaffected by the defect; its artifacts are rebuilt at 1.7.1 so both
platforms carry the same version.

KI-55 — Drive Health showed nothing on Linux

Installing the background collector with install-service.sh also enables
diskoria-tray.service, which starts Diskoria with --minimized. That launch
deliberately skips the pkexec relaunch, so logging in never raises an
authentication prompt.

The single-instance guard runs before elevation, also deliberately, so that a
second launch hands off to the running instance instead of prompting again.
Together those two correct behaviours produced a wrong one: from the first
login onward, every launch — including the desktop icon — was handed to the
unelevated tray process, which opened a window that could not read a single
device.

query_nvme: open failed path=/dev/nvme0n1 err=Permission denied (os error 13)

The root collector still supplied a temperature, so the page looked populated
rather than empty, which is how this reached a release.

What changed

A process may run without privileges, but a window may not. Elevation is now
decided per window rather than per launch:

  • The tray and autostart still run unelevated, so logging in still does not
    prompt.
  • When that process is asked to show a window, it hands off to an elevated one
    instead of opening an unprivileged window itself.
  • Dismissing the authentication prompt now means no window, rather than a
    window that cannot read a device. The tray and background monitoring keep
    running, and a notification explains what happened — previously the only
    record was a log line that a desktop launch never shows.
  • Declining at startup exits with an explanation instead of continuing in a
    state where nothing works.

Opening additional windows from an already-elevated instance does not ask
again, and --no-elevate still gives an unprivileged session for development
and demos.

Upgrading

Linux users on 1.7.0 should update: 1.7.0's Linux build cannot read drive
health once the background service is installed. The portable binary replaces
itself, or reinstall with:

curl -fsSL https://raw.githubusercontent.com/steeb-k/diskoria/main/scripts/install-linux.sh | bash

Windows users on 1.7.0 are unaffected by this defect and can update at their
convenience.