diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2012-September/018677.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/2012-September/018677.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-September/018677.html | 125 |
1 files changed, 125 insertions, 0 deletions
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 @@ +<!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=%3CCA%2BCX%2Bbj5ZuQ1O_RQx%3Dzc58BK4cOz8%2BJZP0EnD1c4VrJ%3DtsEQQA%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="018668.html"> + <LINK REL="Next" HREF="018680.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] [soft-commits] [5837] mount /dev/shm as --bind like other mount points (mga#7329)</H1> + <B>Pascal Terjan</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=%3CCA%2BCX%2Bbj5ZuQ1O_RQx%3Dzc58BK4cOz8%2BJZP0EnD1c4VrJ%3DtsEQQA%40mail.gmail.com%3E" + TITLE="[Mageia-dev] [soft-commits] [5837] mount /dev/shm as --bind like other mount points (mga#7329)">pterjan at gmail.com + </A><BR> + <I>Fri Sep 14 17:46:06 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="018668.html">[Mageia-dev] [changelog] [RPM] cauldron core/release accountsservice-0.6.24-1.mga3 +</A></li> + <LI>Next message: <A HREF="018680.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#18677">[ date ]</a> + <a href="thread.html#18677">[ thread ]</a> + <a href="subject.html#18677">[ subject ]</a> + <a href="author.html#18677">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>I would prefer a different tmpfs to not interfere with stuff outside the chroot + +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> 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="018668.html">[Mageia-dev] [changelog] [RPM] cauldron core/release accountsservice-0.6.24-1.mga3 +</A></li> + <LI>Next message: <A HREF="018680.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#18677">[ date ]</a> + <a href="thread.html#18677">[ thread ]</a> + <a href="subject.html#18677">[ subject ]</a> + <a href="author.html#18677">[ 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> |