From 05b175ed308ab7b18aafaa88031aa0b5891fecd2 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Mon, 1 Jun 2015 21:34:21 +0200 Subject: pbuilder: now that we run jessie set USEDEVSHM to yes instead of explicit bind-mouning --- TODO | 1 - etc/pbuilderrc | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 501ffef8..2958bbf7 100644 --- a/TODO +++ b/TODO @@ -87,7 +87,6 @@ The plan is to run a jenkins.d.o host, which is maintained by DSA, but we are ma * Apply the patch from https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=26;filename=pbuilder.patch;att=1;bug=677666 to the installed pbuilder package(s) ** also the other pbuilder patches * replace with bin/setsid.py workaround with setsid from the util-linux package from jessie -* etc/pbuilderrc: remove /run/shm bindmount once we are running jessie - this is a workaround for #700591 * bin/g-i-installation: use lvcreate without --virtualsize * check if the sudo workaround in bin/g-i-installation is still needed: 'guestmount -o uid=$(id -u) -o gid=$(id -g)' would be nicer, but it doesnt work: as root, the files seem to belong to jenkins, but as jenkins they cannot be accessed. * reproducible: let the scheduler use the xz-compressed file instead of the gzip one. This is because of missing lzma module in wheezy's python. diff --git a/etc/pbuilderrc b/etc/pbuilderrc index dc9b8853..4fd3f642 100644 --- a/etc/pbuilderrc +++ b/etc/pbuilderrc @@ -11,9 +11,8 @@ COMPRESSPROG="pigz" # unset proxy, see #780587 unset http_proxy export -n http_proxy -# remove /run/shm bindmount once we are running jessie - this is a workaround for #700591 # /sys and /proc were added as workarounds for #773767 -BINDMOUNTS="$BINDMOUNTS /run/shm /dev/shm /sys" +BINDMOUNTS="$BINDMOUNTS /sys" # set PATH to predictable values, see #780729 and #780725 PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" # Use a different umask, but only do so when the UTS namespace differs from pid 1's UTS namespace. @@ -22,3 +21,5 @@ PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then umask 0002 fi + +USEDEVSHM=yes -- cgit v1.2.3-70-g09d2