Skip to content

composefs-finalize-staged fails when switching from image where directory in /etc is a symlink in staged image #335

Description

@renner0e

When I bootc switch from
ghcr.io/renner0e/aurora-composefs@sha256:8fee93a376b4aaa4bdfaf04788820772474a8f90f85804471502c9778b7e0154
to
ghcr.io/zirconium-dev/zirconium-hawaii@sha256:6df3ff8ea4057dea6bdde6ef91689b66a60af4086877e26860301b060a539819

the new deployment is staged but the system won't actually boot into the new deployment, when I troubleshooted this with bootc composefs-finalize-staged I get this error:

error: Computing diff: Getting modifications: Getting modifications: Directory entry "certs" is not a subdirectory

aurora-composefs: /etc/ssl/certs is a directory
zirconium-hawaii: /etc/ssl/certs is a symlink -> /etc/pki/ca-trust/extracted/pem/directory-hash

this is with bootc 1.15.2

Metadata

Metadata

Labels

triagedThis issue appears to be valid

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions