Jason Record changed bug 1211124
What Removed Added
CC   jason.record@suse.com

Comment # 5 on bug 1211124 from Jason Record
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


You are receiving this mail because: