https://bugzilla.suse.com/show_bug.cgi?id=1211124 https://bugzilla.suse.com/show_bug.cgi?id=1211124#c6 --- Comment #6 from Jason Record <jason.record@suse.com> --- (In reply to Jason Record from comment #5)
I found this error as well in SLE Micro 5.5 new install running a container as a non-root user.
cat /etc/containers/mounts.conf # This configuration file specifies the default mounts for each container of the # tools adhering to this file (e.g., CRI-O, Podman, Buildah). The format of the # config is /SRC:/DST, one mount per line. /etc/SUSEConnect:/etc/SUSEConnect /etc/zypp/credentials.d/SCCcredentials:/etc/zypp/credentials.d/SCCcredentials
My container starts, but I get the warning:
podman run -dt -v scavol:/var/scatool:z -e MONITORING=1 -e MONITORING_ID=ce4ebd84-bb19-4d42-a077-870ca0ad024d --name scamonitor scatool:latest
WARN[0000] Failed to mount subscriptions, skipping entry in /etc/containers/mounts.conf: open /etc/zypp/credentials.d/SCCcredentials: permission denied
b5a3b675ffa6a41f4135648707bbec539342f716463b47546336bc63903a47ad
However, since I do not need any access to the mounts, I did the following to remove the errors.
touch ${HOME}/.config/containers/mounts.conf
I have also worked around it by running setfacl and giving my user rights to /etc/zypp/credentials.d/* -- You are receiving this mail because: You are on the CC list for the bug.