[Bug 1211124] Path "/etc/SUSEConnect" from "/etc/containers/mounts.conf" (and others) doesn't exist on every container startup
https://bugzilla.suse.com/show_bug.cgi?id=1211124 https://bugzilla.suse.com/show_bug.cgi?id=1211124#c5 Jason Record <jason.record@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason.record@suse.com --- Comment #5 from Jason Record <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 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com