path: root/vagrant
diff options
authorintrigeri <>2019-10-19 07:57:37 +0000
committerintrigeri <>2019-10-19 07:57:37 +0000
commit6c7b1aaf63e77b4a3b47a53799563cb422885ecc (patch)
tree9ecec1ab9871a4267de47507ef2eaf5172bd5049 /vagrant
parent23c771bea0d87a8eb0d464903f0aa5bf54cb56b3 (diff)
Vagrant: remove obsolete hack
This hack was originally added to fix #12530, that is, to ensure that services won't start when we install packages in It's not needed anymore since we now have /proc in the chroot, which enables detection of chroot by various pieces of code, including the one that would otherwise start services.
Diffstat (limited to 'vagrant')
1 files changed, 0 insertions, 9 deletions
diff --git a/vagrant/definitions/tails-builder/ b/vagrant/definitions/tails-builder/
index 0b58e4c..e9069a8 100755
--- a/vagrant/definitions/tails-builder/
+++ b/vagrant/definitions/tails-builder/
@@ -15,18 +15,9 @@ cp "${CURDIR}/" "${ROOT}/"
cp "${CURDIR}/../../../config/chroot_sources/tails.binary.gpg" "${ROOT}/tmp/"
chmod +x "${ROOT}/"
-# Disable daemon auto-start
-cat > "${ROOT}/usr/sbin/policy-rc.d" <<EOF
-exit 101
-chmod a+x "${ROOT}/usr/sbin/policy-rc.d"
trap "umount ${ROOT}/proc" EXIT HUP INT QUIT TERM
chroot "${ROOT}" mount -t proc proc /proc
chroot "${ROOT}" "/"
-rm "${ROOT}/usr/sbin/policy-rc.d"
rm -f "${ROOT}/"
mv "${ROOT}/etc/resolv.conf.orig" "${ROOT}/etc/resolv.conf"