[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: allow sudo where schroot-create.sh needs it

Holger Levsen holger at moszumanska.debian.org
Sat Oct 3 07:52:58 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 5cf861ef62874b3cb91315b201177d19d0fe10bf
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Oct 3 09:52:18 2015 +0200

    reproducible: allow sudo where schroot-create.sh needs it
---
 hosts/bpi0-armhf-rb/etc/sudoers.d/jenkins             | 7 ++++---
 hosts/cbxi4pro0-armhf-rb/etc/sudoers.d/jenkins        | 7 ++++---
 hosts/hb0-armhf-rb/etc/sudoers.d/jenkins              | 7 ++++---
 hosts/jenkins/etc/sudoers.d/jenkins                   | 7 ++++---
 hosts/profitbricks-build2-amd64/etc/sudoers.d/jenkins | 7 ++++---
 hosts/wbq0-armhf-rb/etc/sudoers.d/jenkins             | 7 ++++---
 6 files changed, 24 insertions(+), 18 deletions(-)

diff --git a/hosts/bpi0-armhf-rb/etc/sudoers.d/jenkins b/hosts/bpi0-armhf-rb/etc/sudoers.d/jenkins
index d75335f..e4ed15b 100644
--- a/hosts/bpi0-armhf-rb/etc/sudoers.d/jenkins
+++ b/hosts/bpi0-armhf-rb/etc/sudoers.d/jenkins
@@ -1,9 +1,10 @@
 jenkins ALL=  \
 	NOPASSWD: /usr/sbin/debootstrap *, \
-	/usr/bin/tee /chroots/*, \
-	/usr/bin/tee -a /chroots/*, \
+	/usr/bin/tee /schroots/*, \
+	/usr/bin/tee -a /schroots/*, \
 	/usr/bin/tee /etc/schroot/chroot.d/jenkins*, \
-	/bin/chmod +x /chroots/*, \
+	/bin/chmod +x /schroots/*, \
+	/usr/sbin/chroot /schroots/*, \
 	/usr/sbin/chroot /chroots/*, \
 	/usr/sbin/chroot /media/*, \
 	/bin/ls -la /media/*, \
diff --git a/hosts/cbxi4pro0-armhf-rb/etc/sudoers.d/jenkins b/hosts/cbxi4pro0-armhf-rb/etc/sudoers.d/jenkins
index d75335f..e4ed15b 100644
--- a/hosts/cbxi4pro0-armhf-rb/etc/sudoers.d/jenkins
+++ b/hosts/cbxi4pro0-armhf-rb/etc/sudoers.d/jenkins
@@ -1,9 +1,10 @@
 jenkins ALL=  \
 	NOPASSWD: /usr/sbin/debootstrap *, \
-	/usr/bin/tee /chroots/*, \
-	/usr/bin/tee -a /chroots/*, \
+	/usr/bin/tee /schroots/*, \
+	/usr/bin/tee -a /schroots/*, \
 	/usr/bin/tee /etc/schroot/chroot.d/jenkins*, \
-	/bin/chmod +x /chroots/*, \
+	/bin/chmod +x /schroots/*, \
+	/usr/sbin/chroot /schroots/*, \
 	/usr/sbin/chroot /chroots/*, \
 	/usr/sbin/chroot /media/*, \
 	/bin/ls -la /media/*, \
diff --git a/hosts/hb0-armhf-rb/etc/sudoers.d/jenkins b/hosts/hb0-armhf-rb/etc/sudoers.d/jenkins
index d75335f..e4ed15b 100644
--- a/hosts/hb0-armhf-rb/etc/sudoers.d/jenkins
+++ b/hosts/hb0-armhf-rb/etc/sudoers.d/jenkins
@@ -1,9 +1,10 @@
 jenkins ALL=  \
 	NOPASSWD: /usr/sbin/debootstrap *, \
-	/usr/bin/tee /chroots/*, \
-	/usr/bin/tee -a /chroots/*, \
+	/usr/bin/tee /schroots/*, \
+	/usr/bin/tee -a /schroots/*, \
 	/usr/bin/tee /etc/schroot/chroot.d/jenkins*, \
-	/bin/chmod +x /chroots/*, \
+	/bin/chmod +x /schroots/*, \
+	/usr/sbin/chroot /schroots/*, \
 	/usr/sbin/chroot /chroots/*, \
 	/usr/sbin/chroot /media/*, \
 	/bin/ls -la /media/*, \
diff --git a/hosts/jenkins/etc/sudoers.d/jenkins b/hosts/jenkins/etc/sudoers.d/jenkins
index d75335f..e4ed15b 100644
--- a/hosts/jenkins/etc/sudoers.d/jenkins
+++ b/hosts/jenkins/etc/sudoers.d/jenkins
@@ -1,9 +1,10 @@
 jenkins ALL=  \
 	NOPASSWD: /usr/sbin/debootstrap *, \
-	/usr/bin/tee /chroots/*, \
-	/usr/bin/tee -a /chroots/*, \
+	/usr/bin/tee /schroots/*, \
+	/usr/bin/tee -a /schroots/*, \
 	/usr/bin/tee /etc/schroot/chroot.d/jenkins*, \
-	/bin/chmod +x /chroots/*, \
+	/bin/chmod +x /schroots/*, \
+	/usr/sbin/chroot /schroots/*, \
 	/usr/sbin/chroot /chroots/*, \
 	/usr/sbin/chroot /media/*, \
 	/bin/ls -la /media/*, \
diff --git a/hosts/profitbricks-build2-amd64/etc/sudoers.d/jenkins b/hosts/profitbricks-build2-amd64/etc/sudoers.d/jenkins
index d75335f..e4ed15b 100644
--- a/hosts/profitbricks-build2-amd64/etc/sudoers.d/jenkins
+++ b/hosts/profitbricks-build2-amd64/etc/sudoers.d/jenkins
@@ -1,9 +1,10 @@
 jenkins ALL=  \
 	NOPASSWD: /usr/sbin/debootstrap *, \
-	/usr/bin/tee /chroots/*, \
-	/usr/bin/tee -a /chroots/*, \
+	/usr/bin/tee /schroots/*, \
+	/usr/bin/tee -a /schroots/*, \
 	/usr/bin/tee /etc/schroot/chroot.d/jenkins*, \
-	/bin/chmod +x /chroots/*, \
+	/bin/chmod +x /schroots/*, \
+	/usr/sbin/chroot /schroots/*, \
 	/usr/sbin/chroot /chroots/*, \
 	/usr/sbin/chroot /media/*, \
 	/bin/ls -la /media/*, \
diff --git a/hosts/wbq0-armhf-rb/etc/sudoers.d/jenkins b/hosts/wbq0-armhf-rb/etc/sudoers.d/jenkins
index d75335f..e4ed15b 100644
--- a/hosts/wbq0-armhf-rb/etc/sudoers.d/jenkins
+++ b/hosts/wbq0-armhf-rb/etc/sudoers.d/jenkins
@@ -1,9 +1,10 @@
 jenkins ALL=  \
 	NOPASSWD: /usr/sbin/debootstrap *, \
-	/usr/bin/tee /chroots/*, \
-	/usr/bin/tee -a /chroots/*, \
+	/usr/bin/tee /schroots/*, \
+	/usr/bin/tee -a /schroots/*, \
 	/usr/bin/tee /etc/schroot/chroot.d/jenkins*, \
-	/bin/chmod +x /chroots/*, \
+	/bin/chmod +x /schroots/*, \
+	/usr/sbin/chroot /schroots/*, \
 	/usr/sbin/chroot /chroots/*, \
 	/usr/sbin/chroot /media/*, \
 	/bin/ls -la /media/*, \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list