Skip to content

fix(updates): link borealos pubkey in /etc for older container policies - #40

Merged
hal7df merged 1 commit into
mainfrom
fix/pubkey-path-migration
Jul 10, 2026
Merged

fix(updates): link borealos pubkey in /etc for older container policies#40
hal7df merged 1 commit into
mainfrom
fix/pubkey-path-migration

Conversation

@hal7df

@hal7df hal7df commented Jul 10, 2026

Copy link
Copy Markdown
Owner

Moving borealos.pub to /usr/lib/pki/containers unexpectedly deleted the corresponding file from /etc on existing installs, stranding users with older container policies. This symlinks the public key to the old path to allow upgrades to work with older policies.

Fixing manual installations

This will not address installations that are already stranded; the fix will need to be applied manually in these cases. This can be done by manually running one of the following commands (either will work):

  1. sudo cp -f /usr/etc/containers/policy.json /etc/containers/policy.json
  2. sudo ln -s /usr/lib/pki/containers/borealos.pub /etc/pki/containers/borealos.pub

Other fixes

The revamp to the build system dropped the set -e from the top-level build script, causing silent failures in the build modules. This issue has now been corrected (and silent build failures resolved).

@hal7df
hal7df force-pushed the fix/pubkey-path-migration branch from c9ea120 to 1983f90 Compare July 10, 2026 02:35
@hal7df
hal7df force-pushed the fix/pubkey-path-migration branch from 1983f90 to e7ca88c Compare July 10, 2026 02:41
@hal7df
hal7df merged commit 0609fdf into main Jul 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant