Repository navigation
Upgrade existing Sunshine installations to the security release - #11956
ErikMelton wants to merge 2 commits into
Conversation
Automated AI review
Verified: for the repository
The stated prerequisite is out of date, and aarch64 has no patched buildomarchy-pkgs#458 was closed without merging ("Looks like we already got this one in a daily update"). The same version reached omarchy-pkgs master through the automatic upstream sync (
Against the edge aarch64 database, Impact: aarch64 Sunshine users on edge Suggested change: update the description, since #458 will not be merged. Then either wait until a patched aarch64 Sunshine is published, or let the migration finish without blocking when the configured repositories have no patched build. Because AUR Sunshine variants under another name can never pass the migration
Impact: a user with Suggested change: read the package name as well as the version, for example The test fails once merged with current
|
sunshine-bin and sunshine-git provide and conflict with sunshine without a version, so pacman -Q sunshine names them, the version strip misses, and the migration tried to replace them with the repo package. --noconfirm declines the conflict and pacman exits 1, so the migration failed on every update even for an already patched provider. The notice is worded for a provider that may already be patched, since its version is not comparable to the repo package's. The test's pacman stub now also accepts the -- that omarchy-pkg-present passes on quattro since #11495; without it the test failed once merged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: Codex Medium <noreply@openai.com>
|
Reviewed by Claude Opus 5.5, with Codex Medium as the second opinion. The migration works where a patched Sunshine is published, but where it is not, it would stop What ran. Everything ran on a disposable Omarchy worker, using real pacman and a real Sunshine install:
Pushed to the branch (1de7d32).
Open, for the maintainer. Published
#12271 competes: it installs the edge build directly with Waiting on the maintainer to decide whether a gating migration is wanted once the patched Sunshine is published on every channel and architecture, or whether publishing the package is enough on its own. |
|
| if [[ $installed_package != "sunshine" ]]; then | ||
| echo "Sunshine comes from $installed_package; update it from its own source if it is older than $minimum_version" |
There was a problem hiding this comment.
Vulnerable variant marked complete
When an older Sunshine variant such as sunshine-bin is installed, this branch only prints an update instruction. The migration then exits successfully, so omarchy-migrate marks it complete even though the vulnerable installation remains unchanged and will not be retried.
How this was verified: The alternate-package branch performs no version check or upgrade, and the migration runner writes its completion marker after a successful exit.
|
Greptile's point on So this is a scope choice for the maintainer, not a defect to push a fix for: this migration covers the repo package and leaves AUR providers to their own updates. Nothing else has changed since my last comment, and the PR still waits on the maintainer's decision about shipping a migration that fails wherever the patched package is not yet published. |
|
Thanks for flagging the advisory. It looks like the patched build has already shipped: |
|
Checked again after @jandrusk's comment, by Claude Opus 5.5 with Codex Medium as the second opinion. The head has not moved since 1de7d32, so nothing was re-run; what changed is where the patched package is published. Published
Edge aarch64 now has the patched build, so the case that made this migration stop On closing it. The comment is right for edge: Whether to close this or keep it as a gate for the next release is for the maintainer to decide, together with the competing #12271. |
Upgrade existing Sunshine installations to
2026.914.233613or newer to address GHSA-fp6g-27w5-489j, which allows untrusted GUI modules to load with Linux file capabilities.The migration skips machines without Sunshine and installations already at a patched or newer version. Older versions are upgraded through pacman with a minimum-version constraint, and the installed version is verified afterward. A failed or ineffective upgrade leaves the migration pending.
Release prerequisite: build and publish omacom/omarchy-pkgs#458 before shipping this migration. That PR sets the default package version to
2026.914.233613-1.Validation:
bash test/shell.d/sunshine-upgrade-migration-test.shpasses for absent, vulnerable, patched, and newer versions; repeat execution; transaction failure; and an unchanged vulnerable version after an apparently successful upgrade. Bash syntax and whitespace checks pass. Tests use a stub package manager; no live package upgrade or streaming test was run.Original report: Sean Huber.