From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-September/018677.html | 125 ++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-September/018677.html (limited to 'zarb-ml/mageia-dev/2012-September/018677.html') diff --git a/zarb-ml/mageia-dev/2012-September/018677.html b/zarb-ml/mageia-dev/2012-September/018677.html new file mode 100644 index 000000000..e6ddcd8de --- /dev/null +++ b/zarb-ml/mageia-dev/2012-September/018677.html @@ -0,0 +1,125 @@ + + + + [Mageia-dev] [soft-commits] [5837] mount /dev/shm as --bind like other mount points (mga#7329) + + + + + + + + + +

[Mageia-dev] [soft-commits] [5837] mount /dev/shm as --bind like other mount points (mga#7329)

+ Pascal Terjan + pterjan at gmail.com +
+ Fri Sep 14 17:46:06 CEST 2012 +

+
+ +
I would prefer a different tmpfs to not interfere with stuff outside the chroot
+
+On Wed, Sep 12, 2012 at 10:35 AM,  <root at mageia.org> wrote:
+> Revision 5837 Author tv Date 2012-09-12 19:35:55 +0200 (Wed, 12 Sep 2012)
+>
+> Log Message
+>
+> mount /dev/shm as --bind like other mount points (mga#7329)
+>
+> else it can result in sudo asking password
+>
+> Modified Paths
+>
+> build_system/iurt/trunk/NEWS
+> build_system/iurt/trunk/lib/Iurt/Chroot.pm
+>
+> Modified: build_system/iurt/trunk/NEWS
+> ===================================================================
+> --- build_system/iurt/trunk/NEWS	2012-09-12 17:35:50 UTC (rev 5836)
+> +++ build_system/iurt/trunk/NEWS	2012-09-12 17:35:55 UTC (rev 5837)
+> @@ -1,4 +1,5 @@
+>  0.6.11 (unreleased)
+> +- mount /dev/shm as --bind like other mount points (mga#7329)
+>
+>  0.6.10
+>  - fix false positive when looking for errors
+>
+> Modified: build_system/iurt/trunk/lib/Iurt/Chroot.pm
+> ===================================================================
+> --- build_system/iurt/trunk/lib/Iurt/Chroot.pm	2012-09-12 17:35:50 UTC (rev
+> 5836)
+> +++ build_system/iurt/trunk/lib/Iurt/Chroot.pm	2012-09-12 17:35:55 UTC (rev
+> 5837)
+> @@ -88,7 +88,7 @@
+>  	sudo($config, "--umount", "$chroot/proc");
+>  	return;
+>      }
+> -    if (system("$sudo mount none -t tmpfs $chroot/dev/shm")) {
+> +    if (!sudo($config, '--bindmount', "/dev/shm", "$chroot/dev/shm")) {
+>  	plog('WARNING', "Failed to mount /dev/shm");
+>      }
+>      if ($run->{icecream}) {
+>
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1