Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
castrojo opened this issue Feb 6, 2023 · 3 comments
Open

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

castrojo opened this issue Feb 6, 2023 · 3 comments
Labels
bug Something isn't working containers Related to containers or ostree native containers f39 Related to Fedora 39 f40 Related to Fedora 40 upstream Issue reported, fixed or related to upstream projects

Comments

@castrojo
Copy link

castrojo commented Feb 6, 2023

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.
@castrojo castrojo added the bug Something isn't working label Feb 6, 2023
@travier
Copy link
Member

travier commented Feb 7, 2023

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 travier added the containers Related to containers or ostree native containers label Feb 7, 2023
@travier
Copy link
Member

travier commented Feb 8, 2023

@travier travier added f37 Related to Fedora 37 upstream Issue reported, fixed or related to upstream projects labels Mar 13, 2023
@travier travier added f38 Related to Fedora 38 f39 Related to Fedora 39 f40 Related to Fedora 40 and removed f37 Related to Fedora 37 labels Nov 24, 2023
@travier travier removed the f38 Related to Fedora 38 label Apr 29, 2024
@travier
Copy link
Member

travier commented Oct 30, 2024

Is this still an issue in Fedora 41? This should probably be tracked in a bootc issue instead now: https://gitlab.com/fedora/bootc/tracker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working containers Related to containers or ostree native containers f39 Related to Fedora 39 f40 Related to Fedora 40 upstream Issue reported, fixed or related to upstream projects
Projects
None yet
Development

No branches or pull requests

2 participants