fedora-silverblue / issue-tracker

Fedora Silverblue issue tracker
https://fedoraproject.org/atomic-desktops/silverblue/
126 stars 3 forks source link

virt-manager won't build in a container due to unbound dependency #413

Open castrojo opened 1 year ago

castrojo commented 1 year ago

Describe the bug Adding virt-manager to a container file results in a failed build due to this error from unbound:

Found file: "var/lib/unbound/root.key"
error: Found content in var
Error: building at STEP "RUN rpm-ostree install ..." 

To Reproduce Please describe the steps needed to reproduce the bug:

  1. Adding virt-manager to an rpm-ostree install stanza in a Containerfile fails both locally with podman and in a github runner.
  2. Manually layering virt-manager works fine, this appears to be container workflow specific.
travier commented 1 year ago

It's from unbound-libs & unbound-anchor. Short term workaround: rm the key. Proper fix: Update the package to use a tmpfiles.d config to copy it on boot as needed from /usr.

travier commented 1 year ago

See also https://bugzilla.redhat.com/show_bug.cgi?id=2002689