summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-29 16:38:52 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-29 16:38:52 +0100
commit0259bba352e835936fe154e0651af621069727e3 (patch)
treef9f19ca41e2546b5d43a9e06136d66dcb2dc4463 /etc
parentc22fd2bd3562e75d064b0dac6860838361b44b39 (diff)
downloadjenkins.debian.net-0259bba352e835936fe154e0651af621069727e3.tar.xz
Use rm -rf --one-file-system to delete chroots, thanks to Andreas Beckmann for the idea.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/sudoers.d/jenkins2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/sudoers.d/jenkins b/etc/sudoers.d/jenkins
index 584284b3..e0d69acf 100755
--- a/etc/sudoers.d/jenkins
+++ b/etc/sudoers.d/jenkins
@@ -1,4 +1,4 @@
-jenkins ALL= NOPASSWD: /usr/sbin/debootstrap *, NOPASSWD: /usr/sbin/chroot /chroots/*, NOPASSWD: /bin/rm -rf /chroots/*, NOPASSWD: /bin/umount -l /chroots/*, NOPASSWD: /usr/bin/du *, SETENV: NOPASSWD: /usr/sbin/pbuilder *
+jenkins ALL= NOPASSWD: /usr/sbin/debootstrap *, NOPASSWD: /usr/sbin/chroot /chroots/*, NOPASSWD: /bin/rm -rf --one-file-system /chroots/*, NOPASSWD: /bin/umount -l /chroots/*, NOPASSWD: /usr/bin/du *, SETENV: NOPASSWD: /usr/sbin/pbuilder *
# keep these environment variables
Defaults env_keep += "http_proxy", env_reset