[Piuparts-commits] [piuparts] 01/01: Fix devpts mounting to use the correct gid=5, mode=620 mount options. (Patch taken from Adam Conrad.)

Holger Levsen holger at layer-acht.org
Sun Jun 19 10:23:46 UTC 2016


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

holger pushed a commit to branch develop
in repository piuparts.

commit 5bbda479a83f0b4c8946773f6971ea0fd65a32a1
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Jun 19 12:23:09 2016 +0200

    Fix devpts mounting to use the correct gid=5,mode=620 mount options. (Patch taken from Adam Conrad.)
---
 debian/changelog | 2 ++
 piuparts.py      | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index d8bfac9..e30b856 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 piuparts (0.72) UNRELEASED; urgency=medium
 
   * instances/piuparts.conf.pejacevic: test jessie2bpo and jessie2bpo2stretch.
+  * Fix devpts mounting to use the correct gid=5,mode=620 mount options.
+    (Patch taken from Adam Conrad.)
 
  -- Holger Levsen <holger at debian.org>  Thu, 05 May 2016 14:04:29 +0200
 
diff --git a/piuparts.py b/piuparts.py
index 4be1130..fc1a4f4 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -1583,7 +1583,7 @@ class Chroot:
         etcmtab = self.relative("etc/mtab")
         if not os.path.lexists(etcmtab):
             os.symlink("../proc/mounts", etcmtab)
-        self.mount("devpts", "/dev/pts", fstype="devpts")
+        self.mount("devpts", "/dev/pts", fstype="devpts", opts="gid=5,mode=620")
         self.mount("tmpfs", "/dev/shm", fstype="tmpfs", opts="size=65536k")
         if selinux_enabled():
             self.mount("/sys/fs/selinux", self.selinuxfs_path(), opts="bind,ro")

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



More information about the Piuparts-commits mailing list