[Qa-jenkins-scm] [jenkins.debian.net] 01/01: bind-mount /dev/shm again, i misinterpreted a closed pbuilder bug. Now /run/shm is mounted by default, but no /dev/shm is available as tmpfs or symlink to /run/shm
Holger Levsen
holger at moszumanska.debian.org
Fri Jun 19 11:55:59 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 f4748cb9e9f179011c8548adfce48a5737fe277e
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Fri Jun 19 11:44:27 2015 +0000
bind-mount /dev/shm again, i misinterpreted a closed pbuilder bug. Now /run/shm is mounted by default, but no /dev/shm is available as tmpfs or symlink to /run/shm
---
etc/pbuilderrc | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/etc/pbuilderrc b/etc/pbuilderrc
index dc611e6..6812ce2 100644
--- a/etc/pbuilderrc
+++ b/etc/pbuilderrc
@@ -12,12 +12,13 @@ COMPRESSPROG="pigz"
unset http_proxy
export -n http_proxy
# /sys and /proc were added as workarounds for #773767
-BINDMOUNTS="$BINDMOUNTS /sys"
+# there are software wanting /dev/shm writable, so give them so. There are tons
+# of bug shm related in pbuilder, that's just a workaround for all of them.
+# /run/shm is already mounted as a tmpfs by default.
+BINDMOUNTS="$BINDMOUNTS /sys /dev/shm"
# set PATH to predictable values, see #780729 and #780725
PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
-USEDEVSHM=yes
-
# used on reproducible builds
if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then
PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path"
--
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