aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-11-11 20:42:43 +0100
committerGitHub <noreply@github.com>2021-11-11 20:42:43 +0100
commit69d2e78b3bb328535e70fa7845cbea86355ceafb (patch)
tree9b30a38518b9cbe9ee752fe2420420e0a82a5aa2 /pkg
parent375ff223f430301edf25ef5a5f03a1ae1e029bef (diff)
parent9877280f5afa42cb7381939ea8f33cf7e0c4a57e (diff)
downloadpodman-69d2e78b3bb328535e70fa7845cbea86355ceafb.tar.gz
podman-69d2e78b3bb328535e70fa7845cbea86355ceafb.tar.bz2
podman-69d2e78b3bb328535e70fa7845cbea86355ceafb.zip
Merge pull request #12214 from giuseppe/fix-rootless-error-message
rootless: adjust error message
Diffstat (limited to 'pkg')
-rw-r--r--pkg/rootless/rootless_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/rootless/rootless_linux.go b/pkg/rootless/rootless_linux.go
index 7f9228666..3e81d5c14 100644
--- a/pkg/rootless/rootless_linux.go
+++ b/pkg/rootless/rootless_linux.go
@@ -325,7 +325,7 @@ func becomeRootInUserNS(pausePid, fileToRead string, fileOutput *os.File) (_ boo
uidsMapped = err == nil
}
if !uidsMapped {
- logrus.Warnf("Using rootless single mapping into the namespace. This might break some images. Check /etc/subuid and /etc/subgid for adding sub*ids")
+ logrus.Warnf("Using rootless single mapping into the namespace. This might break some images. Check /etc/subuid and /etc/subgid for adding sub*ids if not using a network user")
setgroups := fmt.Sprintf("/proc/%d/setgroups", pid)
err = ioutil.WriteFile(setgroups, []byte("deny\n"), 0666)
if err != nil {