Repository navigation
Release 2026.3 - #3630
Merged
Merged
Release 2026.3#3630
Conversation
jmarrero
marked this pull request as draft
August 5, 2026 13:09
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 |
Member
|
This will need rebasing again now that #3624 landed too |
Member
|
@jmarrero do you want me to take this one? |
jmarrero
force-pushed
the
release-2026.3
branch
from
August 5, 2026 20:27
63a40d3 to
53b92b5
Compare
jmarrero
marked this pull request as ready for review
August 5, 2026 20:31
cgwalters
approved these changes
Aug 5, 2026
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
enabled auto-merge
August 5, 2026 23:04
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 2026.3
This PR contains two commits:
is_release_build=yesis_release_build=noThe tarball
libostree-2026.3.tar.xzwas generated from the release commit via./autogen.sh && make dist.Changes since 2026.2
Security:
Bug fixes:
Features & improvements:
CI / style:
Closes #3628