Skip to content

Release 2026.3 - #3630

Merged
jmarrero merged 2 commits into
ostreedev:mainfrom
jmarrero:release-2026.3
Aug 5, 2026
Merged

jmarrero merged 2 commits into
ostreedev:mainfrom
jmarrero:release-2026.3

Conversation

@jmarrero

@jmarrero jmarrero commented Aug 5, 2026 •

Copy link
Copy Markdown
Member

Release 2026.3

This PR contains two commits:

  1. Release 2026.3 -- sets is_release_build=yes
  2. Post-release version bump -- bumps to 2026.4 and sets is_release_build=no

The tarball libostree-2026.3.tar.xz was generated from the release commit via ./autogen.sh && make dist.

Changes since 2026.2

Security:

  • static-delta: Add resource limits for LZMA decompression (CVE / RHEL-189208)
  • static-delta: Reject oversized parts at generation time
  • static-delta: Validate decompressed size against declared usize
  • static-delta: guard bspatch against integer truncation on 32-bit
  • static-delta: Account for the full part payload consistently

Bug fixes:

  • repo-commit: preserve existing object inode when staging to objects/
  • lib/commit: Fix min-free-space accounting for duplicate content objects
  • lib/commit: Fix min-free-space accounting for reflinked content objects
  • deploy: Fix enum type mismatch in copy flags
  • prepare-root: Properly check return value of snprintf()
  • ostree-sign-ed25519: Fix overwriting already-set GErrors
  • ostree-blob-reader: Add error handling for invalid base64 blobs
  • find-remotes: Don't require write access to repo unless pulling
  • build: Remove G_GNUC_CONST from *_get_type declarations
  • configure: Ignore typedef-redefinition warnings with Clang
  • Revert "sysroot: Merge bootconfig-extra from previously staged deployment"

Features & improvements:

  • lib/commit: Report whether committed object already existed
  • prepare-root: create /run/systemd/volatile-root for composefs
  • man: Document how to select subkeys with --gpg-sign
  • man: Tweak formatting for ostree-summary.xml options

CI / style:

  • style: Fix clang-format violations
  • ci: revert removing coreos-ci Jenkins CI job
Colin Walters (21):
      Merge pull request #3606 from jmarrero/release-20262
      Revert "sysroot: Merge bootconfig-extra from previously staged deployment"
      Merge pull request #3610 from cgwalters/revert-staged-bootconfig-extra-merge
      Merge pull request #3603 from electricface/fix-consume-inode-stability
      Merge pull request #3614 from jlebon/pr/double-accounting
      Merge pull request #3615 from jlebon/pr/reflink-accounting
      Merge commit from fork
      Merge commit from fork
      Merge pull request #3607 from jmarrero/re-add-jenkins
      Merge pull request #3592 from bbhtt/bbhtt/fix-werrors
      Merge pull request #3589 from miabbott/vserver
      Merge pull request #3617 from cgwalters/ukleinek-snprintf-rebase
      Merge pull request #3566 from jeckersb/readme-atomic-desktops
      Merge pull request #3608 from ricardosalveti/volatile-root-composefs
      static-delta: Account for the full part payload consistently
      Merge pull request #3618 from cgwalters/static-delta-overhead
      Merge pull request #3620 from pwithnall/sign-verify-error-handling
      Merge pull request #3625 from pwithnall/gpg-sign-bang
      Merge pull request #3629 from jmarrero/ci-fixes-aug26
      Merge pull request #3627 from lzwind/fix-find-remotes-writable
      Merge pull request #3626 from lzwind/remove-g-gnuc-const

John Eckersberg (1):
      README.md: Link to top-level Atomic Desktops page

Jonathan Lebon (4):
      lib/commit: Report whether committed object already existed
      lib/commit: Fix min-free-space accounting for duplicate content objects
      tree: Go back to git.mk-generated .gitignore
      lib/commit: Fix min-free-space accounting for reflinked content objects

Joseph Marrero Corchado (11):
      configure: post-release version bump
      ci: revert removing coreos-ci Jenkins CI job
      admin: Drop UNLOCKED flag from instutil set-kargs
      static-delta: guard bspatch against integer truncation on 32-bit
      tests/bsdiff: add content_size guard boundary test
      static-delta: Add resource limits for LZMA decompression
      static-delta: Reject oversized parts at generation time
      static-delta: Validate decompressed size against declared usize
      style: Fix clang-format violation in ostree-repo-finder-mount.c
      style: Fix clang-format violation in tests/test-bsdiff.c
      Release 2026.3

Micah Abbott (1):
      docs: update link to VServer reference

Philip Withnall (6):
      ostree-blob-reader: Add error handling for invalid base64 blobs
      ostree-sign-ed25519: Fix overwriting already-set GErrors
      ostree-sign: Slightly clarify docs around --key-file
      man: Fix some grammar problems with --gpg-sign documentation
      man: Document how to select subkeys with --gpg-sign
      man: Tweak formatting for ostree-summary.xml options

Ricardo Salveti (1):
      prepare-root: create /run/systemd/volatile-root for composefs

Uwe Kleine-König (1):
      prepare-root: Properly check return value of snprintf()

bbhtt (2):
      configure: Ignore typedef-redefinition warnings with Clang
      deploy: Fix enum type mismatch in copy flags

electricface (1):
      repo-commit: preserve existing object inode when staging to objects/

lzwind (2):
      find-remotes: Don't require write access to repo unless pulling
      build: Remove G_GNUC_CONST from *_get_type declarations

Closes #3628

@jmarrero
jmarrero marked this pull request as draft August 5, 2026 13:09
@jmarrero

jmarrero commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

I want to try to get #3611 in for this release. Trying to add the tests to the bootc integration we have in that PR too

@cgwalters

Copy link
Copy Markdown
Member

This will need rebasing again now that #3624 landed too

@cgwalters

Copy link
Copy Markdown
Member

@jmarrero do you want me to take this one?

@jmarrero
jmarrero marked this pull request as ready for review August 5, 2026 20:31
@jmarrero

jmarrero commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

fcos CI failures will be a follow up but AI investigation says it's not a regression. merging and proceeding with the release.

@jmarrero
jmarrero enabled auto-merge August 5, 2026 23:04
@jmarrero
jmarrero merged commit 1b36550 into ostreedev:main Aug 5, 2026
40 of 41 checks passed
@cgwalters

Copy link
Copy Markdown
Member

Thanks for doing this release!

jmarrero added a commit to jmarrero/ostree that referenced this pull request Sep 13, 2026
The coreos-ci Jenkins job (continuous-integration/jenkins/pr-merge) has
reported "This commit cannot be built" on every PR since at least March
2026 (ostreedev#3570, ostreedev#3571, ostreedev#3576, ostreedev#3578, ostreedev#3587, ostreedev#3600, ostreedev#3630, ostreedev#3648, ostreedev#3654,
ostreedev#3655), including PRs that were merged.  The static analysis, core
build, unit tests, kolainst build and artifact stages all pass; the job
dies on the first command of the "Build FCOS" stage:

  + rsync -rlv installed/rootfs/ /
  rsync: [generator] failed to modify permissions on "/.": Operation not permitted (1)
  rsync: [generator] failed to modify permissions on "/usr/lib": Operation not permitted (1)
  rsync: [generator] failed to modify permissions on "/usr/lib64": Operation not permitted (1)
  rsync error: some files/attrs were not transferred (see previous errors) (code 23)
  ERROR: script returned exit code 23

(e.g. https://jenkins-coreos-ci.apps.ocp.fedoraproject.org/job/ostree/job/PR-3611/8/console)

How we got here:

- c7265cc ("ci: drop running COSA as UID 0") switched the cosa pod to
  an unprivileged user that is only a member of GID 0, relying on
  coreos-assembler making /usr writable for that group:
  coreos/coreos-assembler#4410 (which in turn
  was done for coreos/coreos-installer#1716).

- coreos-assembler then narrowed that from `chmod -R g+w /usr/` to
  directories only, `find /usr -type d | xargs chmod g+w`, in
  coreos/coreos-assembler@533ac5be8
  ("build.sh: make /usr permission changes smarter").  So the target
  directories are root-owned and group-writable, but the existing files
  in them (e.g. /usr/bin/ostree) are not writable by us.

- rsync writes each file to a temporary name and renames it, which only
  needs write access to the directory, so every file is actually
  transferred.  But rsync also tries to chmod each directory it recurses
  into whenever the mode it computes differs from what is on disk, and
  chmod on a directory we don't own fails with EPERM.  rsync still
  exits 23 ("partial transfer") and the stage aborts.  --no-perms and
  --no-times do not avoid the chmod.

Reproduced outside CI in a fedora:44 container running as uid 1000 /
gid 0 with root-owned, g+w /, /usr/bin, /usr/lib, /usr/lib64 and an
existing root-owned 0755 /usr/bin/ostree: `rsync -rl` exits 23 with
exactly the messages above.

Use `cp -dR --remove-destination src/. /` instead, for both the rootfs
and the kolainst tests:

- cp never touches the metadata of directories that already exist, so
  there is no chmod to fail;
- -d keeps symlinks as symlinks (e.g. /etc/grub.d/15_ostree and the
  libostree-1.so.1 -> libostree-1.so.1.0.0 link) and -R recurses;
- --remove-destination unlinks the existing root-owned, non-writable
  file before creating the new one, instead of trying to open it for
  writing;
- executable bits are preserved because cp applies the source mode
  (masked by umask) when it creates a file.

In the same container reproduction the cp variant exits 0, the
replaced binary runs the new version, symlinks are intact and the
directory modes are untouched.

rpm-ostree avoids this by still running its cosa pod with
`runAsUser: 0` and dropping to the builder user with `runuser` for the
coreos-assembler commands; this keeps ostree on the unprivileged path
that c7265cc introduced.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GuhQwaRdNU5bp3BdjzED9g
Signed-off-by: Joseph Marrero Corchado <jmarrero@redhat.com>
jmarrero added a commit to jmarrero/ostree that referenced this pull request Sep 13, 2026
The coreos-ci Jenkins job (continuous-integration/jenkins/pr-merge) has
reported "This commit cannot be built" on every PR since at least March
2026 (ostreedev#3570, ostreedev#3571, ostreedev#3576, ostreedev#3578, ostreedev#3587, ostreedev#3600, ostreedev#3630, ostreedev#3648, ostreedev#3654,
ostreedev#3655), including PRs that were merged.  The static analysis, core
build, unit tests, kolainst build and artifact stages all pass; the job
dies on the first command of the "Build FCOS" stage:

  + rsync -rlv installed/rootfs/ /
  rsync: [generator] failed to modify permissions on "/.": Operation not permitted (1)
  rsync: [generator] failed to modify permissions on "/usr/lib": Operation not permitted (1)
  rsync: [generator] failed to modify permissions on "/usr/lib64": Operation not permitted (1)
  rsync error: some files/attrs were not transferred (see previous errors) (code 23)
  ERROR: script returned exit code 23

(e.g. https://jenkins-coreos-ci.apps.ocp.fedoraproject.org/job/ostree/job/PR-3611/8/console)

How we got here:

- c7265cc ("ci: drop running COSA as UID 0") switched the cosa pod to
  an unprivileged user that is only a member of GID 0, relying on
  coreos-assembler making /usr writable for that group:
  coreos/coreos-assembler#4410 (which in turn
  was done for coreos/coreos-installer#1716).

- coreos-assembler then narrowed that from `chmod -R g+w /usr/` to
  directories only, `find /usr -type d | xargs chmod g+w`, in
  coreos/coreos-assembler@533ac5be8
  ("build.sh: make /usr permission changes smarter").  So the target
  directories are root-owned and group-writable, but the existing files
  in them (e.g. /usr/bin/ostree) are not writable by us.

- rsync writes each file to a temporary name and renames it, which only
  needs write access to the directory, so every file is actually
  transferred.  But rsync also tries to chmod each directory it recurses
  into whenever the mode it computes differs from what is on disk, and
  chmod on a directory we don't own fails with EPERM.  rsync still
  exits 23 ("partial transfer") and the stage aborts.  --no-perms and
  --no-times do not avoid the chmod.

Reproduced outside CI in a fedora:44 container running as uid 1000 /
gid 0 with root-owned, g+w /, /usr/bin, /usr/lib, /usr/lib64 and an
existing root-owned 0755 /usr/bin/ostree: `rsync -rl` exits 23 with
exactly the messages above.

Use `cp -dR --remove-destination src/. /` instead, for both the rootfs
and the kolainst tests:

- cp never touches the metadata of directories that already exist, so
  there is no chmod to fail;
- -d keeps symlinks as symlinks (e.g. /etc/grub.d/15_ostree and the
  libostree-1.so.1 -> libostree-1.so.1.0.0 link) and -R recurses;
- --remove-destination unlinks the existing root-owned, non-writable
  file before creating the new one, instead of trying to open it for
  writing;
- executable bits are preserved because cp applies the source mode
  (masked by umask) when it creates a file.

In the same container reproduction the cp variant exits 0, the
replaced binary runs the new version, symlinks are intact and the
directory modes are untouched.

rpm-ostree avoids this by still running its cosa pod with
`runAsUser: 0` and dropping to the builder user with `runuser` for the
coreos-assembler commands; this keeps ostree on the unprivileged path
that c7265cc introduced.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GuhQwaRdNU5bp3BdjzED9g
Signed-off-by: Joseph Marrero Corchado <jmarrero@redhat.com>
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.

Release 2026.3

2 participants