Bug#1031105: unshared debootstrap fails if auto-apt-proxy is installed
Package: debootstrap
Version: 1.0.128+nmu2
Severity: normal
X-Debbugs-Cc: terceiro@debian.org
Control: affects -1 auto-apt-proxy mmdebstrap
Hi,
currently the mmdebstrap autopkgtest in experimental fails because debootstrap
cannot be run with the user namespace unshared if auto-apt-proxy is installed
and /tmp/.auto-apt-proxy-0 exists. Steps to reproduce:
$ mmdebstrap --variant=custom --mode=unshare --setup-hook='env container=lxc debootstrap unstable "$1" http://127.0.0.1/debian' /dev/null
The error message is:
E: insecure cache dir /tmp/.auto-apt-proxy-0. Must be owned by UID 0 and have permissions 700
The reason for this error is, that debootstrap will run auto-apt-proxy which
will find that /tmp/.auto-apt-proxy-0 exists but since the user namespace of
the process is unshared, it will be owned by user "nobody" from its
perspective.
Please provide a way to allow disabling running auto-apt-proxy when running
debootstrap.
Thanks!
cheers, josch
Reply to: