Package: util-linux
Version: 2.27.1-1
Severity: normal
File: /usr/bin/unshare

Dear Maintainer,

unshare -r, when executed as normal user (uid=1000) fails with 'operation not 
permitted'

Test case:
$ unshare -r whoami
unshare: unshare failed: Operation not permitted

Compare with (fairly useless):
$ sudo unshare -r whoami
root

$ su -c 'unshare -r whoami'
root

.... This seems to rather defeat the point of having unshare -r.
This may be related to previously closed bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780841

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages util-linux depends on:
ii  initscripts     2.88dsf-59.2
ii  libblkid1       2.27.1-1
ii  libc6           2.21-4
ii  libfdisk1       2.27.1-1
ii  libmount1       2.27.1-1
ii  libncursesw5    6.0+20151024-2
ii  libpam0g        1.1.8-3.1
ii  libselinux1     2.4-3
ii  libsmartcols1   2.27.1-1
ii  libsystemd0     228-2+b1
ii  libtinfo5       6.0+20151024-2
ii  libudev1        228-2+b1
ii  libuuid1        2.27.1-1
ii  lsb-base        9.20150917
ii  sysvinit-utils  2.88dsf-59.2
ii  tzdata          2015g-1
ii  zlib1g          1:1.2.8.dfsg-2+b1

util-linux recommends no packages.

Versions of packages util-linux suggests:
ii  dosfstools          3.0.28-2
ii  kbd                 2.0.3-1
ii  util-linux-locales  2.27.1-1

-- debconf information:
  util-linux/noauto-with-nonzero-passnum:

Reply via email to