rpm-ostree installation failure due to broken %post scriptlet (onepassword-mcp) on immutable distros (Bazzite / Silverblue)
Hi 1Password Team,
A recent update to the 1Password RPM package introduces a packaging error that causes installations and system upgrades to fail on immutable, ostree-based Linux distributions (such as Bazzite, Fedora Silverblue, and Universal Blue).
The issue stems from the %post installation scriptlet attempting to modify a hardcoded path under /usr/share/ during the deployment compilation phase. On an rpm-ostree system, the build environment treats these modifications as a violation or cannot find the file in the expected sandboxed path, forcing the entire transaction to abort.
Error Logs (journalctl -t 'rpm-ostree(1password.post)'):
chown: cannot access '/usr/share/1password/onepassword-mcp': No such file or directory
chmod: cannot access '/usr/share/1password/onepassword-mcp': No such file or directory
These lines started appearing on the 4th of November, which checks out with the release of 8.12.44 for Linux the day before.
Why this happens:
During the rpm-ostree compose phase, traditional post-install scripts that assume a standard, mutable root file system often fail if they try to execute destructive permissions changes (chown/chmod) directly inside /usr.
Interestingly, manually downloading the loose package and layering it locally via sudo rpm-ostree install ./1password-8.12.44.x86_64.rpm succeeds (as it handles scriptlet execution differently), but pulling the exact same package down from the official 1Password repository via the system daemon fails completely.
Could the packaging team look into making the %post script more robust, or wrap these commands to fail gracefully so it doesn't break system updates for ostree/atomic users?
Thank you!
