How to remove this warning "Failed to mount subscriptions, skipping entry in /usr/share/containers/mounts.conf: getting host subscription data: failed to read subscriptions" while starting a podman container in Red Hat Enterprise Linux ?
Issue
How to remove this warning "Failed to mount subscriptions, skipping entry in /usr/share/containers/mounts.conf: getting host subscription data: failed to read subscriptions" while starting a podman container in Red Hat Enterprise Linux ?
WARN[0005] Failed to mount subscriptions, skipping entry in /usr/share/containers/mounts.conf: getting host subscription data: failed to read subscriptions from "/usr/share/rhel/secrets": open /usr/share/rhel/secrets/redhat.repo: permission denied
Environment
- Red Hat Enterprise Linux 8/9
- podman 4-X
- rootless container
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.