summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-September/018677.html
blob: e6ddcd8de90a6da49bbbfc9cf4a2d010d35b4ecc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
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,  &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at mageia.org</A>&gt; wrote:
&gt;<i> Revision 5837 Author tv Date 2012-09-12 19:35:55 +0200 (Wed, 12 Sep 2012)
</I>&gt;<i>
</I>&gt;<i> Log Message
</I>&gt;<i>
</I>&gt;<i> mount /dev/shm as --bind like other mount points (mga#7329)
</I>&gt;<i>
</I>&gt;<i> else it can result in sudo asking password
</I>&gt;<i>
</I>&gt;<i> Modified Paths
</I>&gt;<i>
</I>&gt;<i> build_system/iurt/trunk/NEWS
</I>&gt;<i> build_system/iurt/trunk/lib/Iurt/Chroot.pm
</I>&gt;<i>
</I>&gt;<i> Modified: build_system/iurt/trunk/NEWS
</I>&gt;<i> ===================================================================
</I>&gt;<i> --- build_system/iurt/trunk/NEWS	2012-09-12 17:35:50 UTC (rev 5836)
</I>&gt;<i> +++ build_system/iurt/trunk/NEWS	2012-09-12 17:35:55 UTC (rev 5837)
</I>&gt;<i> @@ -1,4 +1,5 @@
</I>&gt;<i>  0.6.11 (unreleased)
</I>&gt;<i> +- mount /dev/shm as --bind like other mount points (mga#7329)
</I>&gt;<i>
</I>&gt;<i>  0.6.10
</I>&gt;<i>  - fix false positive when looking for errors
</I>&gt;<i>
</I>&gt;<i> Modified: build_system/iurt/trunk/lib/Iurt/Chroot.pm
</I>&gt;<i> ===================================================================
</I>&gt;<i> --- build_system/iurt/trunk/lib/Iurt/Chroot.pm	2012-09-12 17:35:50 UTC (rev
</I>&gt;<i> 5836)
</I>&gt;<i> +++ build_system/iurt/trunk/lib/Iurt/Chroot.pm	2012-09-12 17:35:55 UTC (rev
</I>&gt;<i> 5837)
</I>&gt;<i> @@ -88,7 +88,7 @@
</I>&gt;<i>  	sudo($config, &quot;--umount&quot;, &quot;$chroot/proc&quot;);
</I>&gt;<i>  	return;
</I>&gt;<i>      }
</I>&gt;<i> -    if (system(&quot;$sudo mount none -t tmpfs $chroot/dev/shm&quot;)) {
</I>&gt;<i> +    if (!sudo($config, '--bindmount', &quot;/dev/shm&quot;, &quot;$chroot/dev/shm&quot;)) {
</I>&gt;<i>  	plog('WARNING', &quot;Failed to mount /dev/shm&quot;);
</I>&gt;<i>      }
</I>&gt;<i>      if ($run-&gt;{icecream}) {
</I>&gt;<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>