diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-11-11 20:42:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-11 20:42:43 +0100 |
commit | 69d2e78b3bb328535e70fa7845cbea86355ceafb (patch) | |
tree | 9b30a38518b9cbe9ee752fe2420420e0a82a5aa2 /pkg | |
parent | 375ff223f430301edf25ef5a5f03a1ae1e029bef (diff) | |
parent | 9877280f5afa42cb7381939ea8f33cf7e0c4a57e (diff) | |
download | podman-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.go | 2 |
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 { |