diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-02-06 15:29:33 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-02-06 15:31:20 +0100 |
commit | e2970ea62d17ca98a3954c581523b8fa00a67bea (patch) | |
tree | 1a69fe45d3298db5b6e0941e4edbc88f9359de15 /pkg/sysinfo/sysinfo_linux.go | |
parent | b1d4dbd335f4801487ef86964b6833c3604ceef5 (diff) | |
download | podman-e2970ea62d17ca98a3954c581523b8fa00a67bea.tar.gz podman-e2970ea62d17ca98a3954c581523b8fa00a67bea.tar.bz2 podman-e2970ea62d17ca98a3954c581523b8fa00a67bea.zip |
rootless: do not override /dev/pts if not needed
when running in rootless mode we were unconditionally overriding
/dev/pts to take ride of gid=5. This is not needed when multiple gids
are present in the namespace, which is always the case except when
running the tests suite with only one mapping. So change it to check
how many gids are present before overriding the default mount.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'pkg/sysinfo/sysinfo_linux.go')
0 files changed, 0 insertions, 0 deletions