summaryrefslogtreecommitdiff
path: root/vendor/github.com
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-07-30 09:44:02 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-07-31 08:35:20 +0000
commit00caebde61256dc7baaf99e5052305a1e15cbee5 (patch)
tree9a299521f91286d059106253de034b3fe5edba2d /vendor/github.com
parent5a4e5902a00fe593afc560e8ef9af1b246821f62 (diff)
downloadpodman-00caebde61256dc7baaf99e5052305a1e15cbee5.tar.gz
podman-00caebde61256dc7baaf99e5052305a1e15cbee5.tar.bz2
podman-00caebde61256dc7baaf99e5052305a1e15cbee5.zip
Add documentations on how to setup /etc/subuid and /etc/subgid
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #1185 Approved by: giuseppe
Diffstat (limited to 'vendor/github.com')
-rw-r--r--vendor/github.com/containers/storage/pkg/idtools/idtools.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/containers/storage/pkg/idtools/idtools.go b/vendor/github.com/containers/storage/pkg/idtools/idtools.go
index 68a072db2..9c591aff8 100644
--- a/vendor/github.com/containers/storage/pkg/idtools/idtools.go
+++ b/vendor/github.com/containers/storage/pkg/idtools/idtools.go
@@ -140,10 +140,10 @@ func NewIDMappings(username, groupname string) (*IDMappings, error) {
return nil, err
}
if len(subuidRanges) == 0 {
- return nil, fmt.Errorf("No subuid ranges found for user %q", username)
+ return nil, fmt.Errorf("No subuid ranges found for user %q in %s", username, subuidFileName)
}
if len(subgidRanges) == 0 {
- return nil, fmt.Errorf("No subgid ranges found for group %q", groupname)
+ return nil, fmt.Errorf("No subgid ranges found for group %q in %s", groupname, subgidFileName)
}
return &IDMappings{