vagga: Permission denied mounting proc

I’m going crazy. Getting this error on a VM that was working fine. I recently hard reset the VM due to a memory issue. A vagga container was running at the time of the hard reset. Now when trying to run a container I get:

ERROR:main: Error executing _build: Can't mount pseudofs /home/andy/git/nginx-scripts/.vagga/.mnt/proc (, options: proc): permission denied

I think this might be a general linux container - and not a vagga issue. Just hoping you might have some thoughts / seen this before Paul…

andy@hop:~/git/nginx-scripts$ uname -a
Linux hop 3.12-1-amd64 #1 SMP Debian 3.12.6-2 (2013-12-29) x86_64 GNU/Linux

andy@hop:~/git/nginx-scripts$ cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux jessie/sid"
NAME="Debian GNU/Linux"
ID=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL="https://bugs.debian.org/"

andy@hop:~/git/nginx-scripts$ sysctl kernel.unprivileged_userns_clone
kernel.unprivileged_userns_clone = 1

andy@hop:~/git/nginx-scripts$ grep andy /etc/sub[ug]id
/etc/subgid:andy:100000:65536
/etc/subuid:andy:100000:65536

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 28 (25 by maintainers)

Most upvoted comments

Next helped me:

sudo chmod u+s /usr/bin/newuidmap /usr/bin/newgidmap

In the shadow-4.4 package there were changed permissions on some executables:

$ tar tvf shadow-4.2-1-x86_64.pkg.tar.xz |grep usr/bin/newuidmap
-rwsr-xr-x root/root     33848 2014-05-08 15:48 usr/bin/newuidmap
$ tar tvf shadow-4.4-1-x86_64.pkg.tar.xz |grep usr/bin/newuidmap 
-rwxr-xr-x root/root     33816 2016-10-02 20:03 usr/bin/newuidmap