diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-06-22 15:23:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-22 15:23:27 +0200 |
commit | 4afdbcd6da849cbc072808d575d6b4ec90c5d9a6 (patch) | |
tree | 5ec834cdb07ad6b3a36391456ab5de8c3f68d339 /pkg | |
parent | 0e4b73456d4c545136a5cfd664b6d9d819ffc498 (diff) | |
parent | 11e237bc3a6ab7ccb3a05ea5ffb1b6b046c1bac3 (diff) | |
download | podman-4afdbcd6da849cbc072808d575d6b4ec90c5d9a6.tar.gz podman-4afdbcd6da849cbc072808d575d6b4ec90c5d9a6.tar.bz2 podman-4afdbcd6da849cbc072808d575d6b4ec90c5d9a6.zip |
Merge pull request #6703 from dougsland/msg
rootless_linux: improve error message
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/rootless/rootless_linux.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/rootless/rootless_linux.go b/pkg/rootless/rootless_linux.go index 3de136f12..01f5b1206 100644 --- a/pkg/rootless/rootless_linux.go +++ b/pkg/rootless/rootless_linux.go @@ -166,7 +166,8 @@ func GetConfiguredMappings() ([]idtools.IDMap, []idtools.IDMap, error) { } mappings, err := idtools.NewIDMappings(username, username) if err != nil { - logrus.Errorf("cannot find mappings for user %s: %v", username, err) + logrus.Errorf( + "cannot find UID/GID for user %s: %v - check rootless mode in man pages.", username, err) } else { uids = mappings.UIDs() gids = mappings.GIDs() |