You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bootc container ukify fails with Operation not supported #1977
I put up #1980 as a first step to gather more context, try that and then once it breaks we can keep iterating and chasing how it's getting down into read_directory as you posted above. Then at the very least we'll have some useful context additions to merge so the next time we hit something in the same area we'll be better off :)
Bit confused here, I'm using bootc 1.16.4 which should have all the fixes above but still failing on Gitlab CI:
DEBUG argv0="bootc"
error: Building UKI: Computing composefs digest: Reading container root: Reading container root: Ensuring object from file descriptor: Ensuring object from reader: Creating object tmpfile: Opening temp file in objects directory: Operation not supported (os error 95)
subprocess exited with status 1
subprocess exited with status 1
Works fine locally.
Using the /var/tmp (tmpfs) workaround just causes an out of space error (whilst resolving the above).
Edit:
Just to add some more information....
I am building with Podman.
On Gitlab CI I am setting TMPDIR to a location that is not backed by overlayfs (/var/tmp is on Gitlab), which I had to do to fix some other weird issues with Chunkah. The Podman TMPDIR, where any build layers/etc should be running from, is just a normal ext4 filesystem.
Edit again:
I've opened a new issue as this is closed. The new issue contains a workaround for Gitlab CI specifically.
Activity
Johan-Liebert1 commentedon Feb 4, 2026
Investing further, the issue seems to be at
https://github.com/containers/composefs-rs/blob/a5e820595cdad4a9e919135c12ee51b16d4efd14/crates/composefs/src/fs.rs#L287
Need to debug a bit more
jeckersb commentedon Feb 4, 2026
I put up #1980 as a first step to gather more context, try that and then once it breaks we can keep iterating and chasing how it's getting down into
read_directoryas you posted above. Then at the very least we'll have some useful context additions to merge so the next time we hit something in the same area we'll be better off :)Johan-Liebert1 commentedon Feb 5, 2026
Seems like an issue with creating a tempfile
Volume mounting
/var/tmpfixes thistravier commentedon Mar 30, 2026
I think this happens due to fuse-overlayfs as it does not happen for me as root using overlay.
Adding
--mount=type=tmpfs,target=/var/tmpworked around it indeed.Workaround for bootc conatiner ukify issue
cgwalters commentedon Mar 30, 2026
PR in composefs/composefs-rs#276
fs: Allow reading filesystems without storing objects in repository
fs: Allow reading filesystems without storing objects in repository
fs: Allow reading filesystems without storing objects in repository
fs: Allow reading filesystems without storing objects in repository
fs: Allow reading filesystems without storing objects in repository
jeckersb commentedon Apr 28, 2026
I think this can probably be closed now that composefs/composefs-rs#276 is done?
travier commentedon May 4, 2026
We might still need the crate to be updated here?
Containerfile{,.uki}: Remove /var/tmp as tmpfs workaround
rlees85 commentedon Jul 22, 2026
Bit confused here, I'm using bootc 1.16.4 which should have all the fixes above but still failing on Gitlab CI:
Works fine locally.
Using the
/var/tmp(tmpfs) workaround just causes an out of space error (whilst resolving the above).Edit:
Just to add some more information....
I am building with Podman.
On Gitlab CI I am setting
TMPDIRto a location that is not backed by overlayfs (/var/tmpis on Gitlab), which I had to do to fix some other weird issues with Chunkah. The Podman TMPDIR, where any build layers/etc should be running from, is just a normal ext4 filesystem.Edit again:
I've opened a new issue as this is closed. The new issue contains a workaround for Gitlab CI specifically.