diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-September/018680.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-September/018680.html | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-September/018680.html b/zarb-ml/mageia-dev/2012-September/018680.html new file mode 100644 index 000000000..89946107a --- /dev/null +++ b/zarb-ml/mageia-dev/2012-September/018680.html @@ -0,0 +1,126 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] [soft-commits] [5837] mount /dev/shm as --bind like other mount points (mga#7329) + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B5837%5D%20mount%20/dev/shm%20as%20--bind%0A%20like%20other%20mount%20points%20%28mga%237329%29&In-Reply-To=%3CCAONrEtYu62qZU_qqbe4nbO2LiGqnEGwy0L9%2BTt6BqPK%2BUTo_2Q%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="018677.html"> + <LINK REL="Next" HREF="018682.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] [soft-commits] [5837] mount /dev/shm as --bind like other mount points (mga#7329)</H1> + <B>Thierry Vignaud</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B5837%5D%20mount%20/dev/shm%20as%20--bind%0A%20like%20other%20mount%20points%20%28mga%237329%29&In-Reply-To=%3CCAONrEtYu62qZU_qqbe4nbO2LiGqnEGwy0L9%2BTt6BqPK%2BUTo_2Q%40mail.gmail.com%3E" + TITLE="[Mageia-dev] [soft-commits] [5837] mount /dev/shm as --bind like other mount points (mga#7329)">thierry.vignaud at gmail.com + </A><BR> + <I>Fri Sep 14 18:18:13 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="018677.html">[Mageia-dev] [soft-commits] [5837] mount /dev/shm as --bind like other mount points (mga#7329) +</A></li> + <LI>Next message: <A HREF="018682.html">[Mageia-dev] [soft-commits] [5837] mount /dev/shm as --bind like other mount points (mga#7329) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#18680">[ date ]</a> + <a href="thread.html#18680">[ thread ]</a> + <a href="subject.html#18680">[ subject ]</a> + <a href="author.html#18680">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 14 September 2012 17:46, Pascal Terjan <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">pterjan at gmail.com</A>> wrote: +><i> I would prefer a different tmpfs to not interfere with stuff outside the chroot +</I> +I agree but this needs sudo config and people were complaining about it. + +><i> On Wed, Sep 12, 2012 at 10:35 AM, <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at mageia.org</A>> wrote: +</I>>><i> Revision 5837 Author tv Date 2012-09-12 19:35:55 +0200 (Wed, 12 Sep 2012) +</I>>><i> +</I>>><i> Log Message +</I>>><i> +</I>>><i> mount /dev/shm as --bind like other mount points (mga#7329) +</I>>><i> +</I>>><i> else it can result in sudo asking password +</I>>><i> +</I>>><i> Modified Paths +</I>>><i> +</I>>><i> build_system/iurt/trunk/NEWS +</I>>><i> build_system/iurt/trunk/lib/Iurt/Chroot.pm +</I>>><i> +</I>>><i> Modified: build_system/iurt/trunk/NEWS +</I>>><i> =================================================================== +</I>>><i> --- build_system/iurt/trunk/NEWS 2012-09-12 17:35:50 UTC (rev 5836) +</I>>><i> +++ build_system/iurt/trunk/NEWS 2012-09-12 17:35:55 UTC (rev 5837) +</I>>><i> @@ -1,4 +1,5 @@ +</I>>><i> 0.6.11 (unreleased) +</I>>><i> +- mount /dev/shm as --bind like other mount points (mga#7329) +</I>>><i> +</I>>><i> 0.6.10 +</I>>><i> - fix false positive when looking for errors +</I>>><i> +</I>>><i> Modified: build_system/iurt/trunk/lib/Iurt/Chroot.pm +</I>>><i> =================================================================== +</I>>><i> --- build_system/iurt/trunk/lib/Iurt/Chroot.pm 2012-09-12 17:35:50 UTC (rev +</I>>><i> 5836) +</I>>><i> +++ build_system/iurt/trunk/lib/Iurt/Chroot.pm 2012-09-12 17:35:55 UTC (rev +</I>>><i> 5837) +</I>>><i> @@ -88,7 +88,7 @@ +</I>>><i> sudo($config, "--umount", "$chroot/proc"); +</I>>><i> return; +</I>>><i> } +</I>>><i> - if (system("$sudo mount none -t tmpfs $chroot/dev/shm")) { +</I>>><i> + if (!sudo($config, '--bindmount', "/dev/shm", "$chroot/dev/shm")) { +</I>>><i> plog('WARNING', "Failed to mount /dev/shm"); +</I>>><i> } +</I>>><i> if ($run->{icecream}) { +</I>>><i> +</I></PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="018677.html">[Mageia-dev] [soft-commits] [5837] mount /dev/shm as --bind like other mount points (mga#7329) +</A></li> + <LI>Next message: <A HREF="018682.html">[Mageia-dev] [soft-commits] [5837] mount /dev/shm as --bind like other mount points (mga#7329) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#18680">[ date ]</a> + <a href="thread.html#18680">[ thread ]</a> + <a href="subject.html#18680">[ subject ]</a> + <a href="author.html#18680">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |