Skip to content

Hardlinked /etc issue (0.1.14) #856

@kfox1111

Description

@kfox1111

If I use Kaniko to customize an image with the following Dockerfile:

FROM quay.io/almalinuxorg/almalinux-bootc:9.4-20241023
RUN \
  sed -i 's/^mirrorlist=/#mirrorlist=/g' /etc/yum.repos.d/almalinux* && \
  sed -i 's/^# baseurl=/baseurl=/g' /etc/yum.repos.d/almalinux* && \
  dnf install -y ipmitool && \
  dnf clean all

It builds fine, but bootc wont update from it:

# bootc update --apply
layers already present: 66; layers needed: 1 (16.1 MB)
Fetched layers: 0 B in 0 seconds (0 B/s)
ERROR Upgrading: Pulling: Importing: Parsing layer blob sha256:4b0c8eadb903bd0240bb6ab893234db523e7f4a714ea75c109223edaf2618b1f: error: ostree-tar: Processing deferred hardlink sysroot/ostree/repo/objects/41/9c4ead30115abd80d094723b6d25e0d9bda444a445cd979a7ba23217177b74.file: Failed to find object: No such file or directory: 9c4ead30115abd80d094723b6d25e0d9bda444a445cd979a7ba23217177b74.file: Processing tar: Failed to commit tar: ExitStatus(unix_wait_status(256))

Interestingly, it only seems to happen with dnf installs. With copying files in, or doing other commands, the images deploy fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/clientRelated to the client/CLIbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions