What | Removed | Added |
---|---|---|
CC | jason.record@suse.com |
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