[Git][qa/jenkins.debian.net][master] Allow more tar commands on jenkins.d.n

Holger Levsen (@holger) gitlab at salsa.debian.org
Tue Apr 7 10:07:29 BST 2026



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
4d65735c by Jochen Sprickerhof at 2026-04-07T11:07:20+02:00
Allow more tar commands on jenkins.d.n

Also move to /usr/bin as proposed by Holger.

Followup to f646694e0

(cherry picked from commit 2921715a5c86c5740e5c009a4976fa3d36f5d983)
Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


2 changed files:

- hosts/common/etc/sudoers.d/jenkins
- hosts/jenkins/etc/sudoers.d/jenkins


Changes:

=====================================
hosts/common/etc/sudoers.d/jenkins
=====================================
@@ -17,7 +17,7 @@ jenkins ALL=  \
 	/bin/chmod +x /chroots/*, \
 	/bin/tar -c --exclude ./sys/\* --exclude ./proc/\* -f /schroots/*, \
 	/bin/tar --mtime=* --clamp-mtime -C /srv/workspace/* -cf *, \
-	/bin/tar -C /schroots/* -xf /schroots/*, \
+	/usr/bin/tar -C /schroots/* -xf /schroots/*, \
 	/usr/sbin/chroot /schroots/*, \
 	/usr/sbin/chroot /chroots/*, \
 	/usr/sbin/chroot /media/*, \


=====================================
hosts/jenkins/etc/sudoers.d/jenkins
=====================================
@@ -13,6 +13,7 @@ jenkins ALL=  \
 	/bin/chmod -v 644 /var/lib/jenkins/userContent/*, \
 	/bin/chmod -v 664 /var/lib/jenkins/userContent/*, \
 	/bin/tar -c --exclude ./sys/\* --exclude ./proc/\* -f /schroots/*, \
+	/usr/bin/tar -C /schroots/* -xf /schroots/*, \
 	/usr/sbin/chroot /schroots/*, \
 	/usr/sbin/chroot /chroots/*, \
 	/usr/sbin/chroot /media/*, \



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/4d65735ccccf9b2479cd5f9d9d516c2520d768ea

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/4d65735ccccf9b2479cd5f9d9d516c2520d768ea
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20260407/fe1d74e4/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list