Skip to content

initramfs inspection breaks using build containers #464

@supakeen

Description

@supakeen

When building with:

image-builder build qcow2 \
  --bootc-default-fs xfs \
  --bootc-build-ref quay.io/jbtrystramtestimages/cosa:latest \
  --bootc-ref quay.io/fedora/fedora-coreos:stable

The following error occurs:

WARNING: bootc support is experimental
Manifest generation step
Building manifest for bootc-based-qcow2
error: failed to run lsinitrd --mod --kver 6.18.8-200.fc43.x86_64: exit status 4, output:
Image: /boot/initramfs-6.18.8-200.fc43.x86_64.img: 35M
========================================================================
Version:
 
dracut modules:
========================================================================
 
stderr:
/usr/bin/lsinitrd: line 357: /boot/initramfs-6.18.8-200.fc43.x86_64.img: Permission denied
/usr/bin/lsinitrd: line 400: /boot/initramfs-6.18.8-200.fc43.x86_64.img: Permission denied
/usr/bin/lsinitrd: line 437: /boot/initramfs-6.18.8-200.fc43.x86_64.img: Permission denied
xzcat: /boot/initramfs-6.18.8-200.fc43.x86_64.img: Permission denied
xzcat: /boot/initramfs-6.18.8-200.fc43.x86_64.img: Permission denied

This is probably related to the introduction of initramfs inspection in: osbuild/images#2202

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions