summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/20120425/007785.html
blob: 227566d62dbb42bf670c0e5d0d89ad1b8cc0decc (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-discuss] [Mageia-dev] many systemd temporary directories
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20%5BMageia-dev%5D%20many%20systemd%20temporary%20directories&In-Reply-To=%3C4F972512.1000708%40colin.guthr.ie%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   
   <LINK REL="Next"  HREF="007114.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-discuss] [Mageia-dev] many systemd temporary directories</H1>
    <B>Colin Guthrie</B> 
    <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20%5BMageia-dev%5D%20many%20systemd%20temporary%20directories&In-Reply-To=%3C4F972512.1000708%40colin.guthr.ie%3E"
       TITLE="[Mageia-discuss] [Mageia-dev] many systemd temporary directories">mageia at colin.guthr.ie
       </A><BR>
    <I>Wed Apr 25 00:11:43 CEST 2012</I>
    <P><UL>
        
        <LI>Next message: <A HREF="007114.html">[Mageia-discuss] many systemd temporary directories
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#7785">[ date ]</a>
              <a href="thread.html#7785">[ thread ]</a>
              <a href="subject.html#7785">[ subject ]</a>
              <a href="author.html#7785">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>'Twas brillig, and Florian Hubold at 24/04/12 22:21 did gyre and gimble:
&gt;<i> Am 24.04.2012 22:51, schrieb Colin Guthrie:
</I>&gt;&gt;<i> 'Twas brillig, and Florian Hubold at 24/04/12 21:27 did gyre and gimble:
</I>&gt;&gt;&gt;<i> Am 24.04.2012 20:51, schrieb Juergen Harms:
</I>&gt;&gt;&gt;&gt;<i> I just saw that systemd creates (and does not purge) lots of directories like
</I>&gt;&gt;&gt;&gt;<i> /tmp/systemd-namespace-&lt;uniqueid&gt;/ - I now have nearly 50 of them (one
</I>&gt;&gt;&gt;&gt;<i> partial explanation might be that I did quite some re-booting these last days).
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Nothing serious, they are small - but nevertheless ... Is this normal,
</I>&gt;&gt;&gt;&gt;<i> shouldnt there be some automatic purging mechanism?
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Juergen
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Maybe we should default to /tmp being on tmpfs so that
</I>&gt;&gt;&gt;<i> this gets purged on every reboot? This would also be more
</I>&gt;&gt;&gt;<i> in accordance with FHS imho.
</I>&gt;&gt;<i> This is one of my goals for mga3 (I have it in my notes for the
</I>&gt;&gt;<i> technical specs discussion that will come), but certainly not for mga2
</I>&gt;&gt;<i> as this is quite a big change and some apps may have to be patched to
</I>&gt;&gt;<i> use /var/tmp instead etc. if they store large things in there.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Col
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;<i> Well, this is what FHS says (in an ideal world it would reflect reality)
</I>&gt;<i> 
</I>&gt;<i>     Programs must not assume that any files or directories in /tmp are
</I>&gt;<i>     preserved between invocations of the program.
</I>&gt;<i> 
</I>&gt;<i>     IEEE standard P1003.2 (POSIX, part 2) makes requirements that are similar
</I>&gt;<i>     to the above section.
</I>&gt;<i> 
</I>&gt;<i>     Although data stored in /tmp may be deleted in a site-specific manner, it
</I>&gt;<i>     is recommended that files and directories located in /tmp be deleted
</I>&gt;<i>     whenever the system is booted.
</I>&gt;<i> 
</I>&gt;<i> Just mentioned it as one possible solution to the problem at hands.
</I>
Absolutely (for once the FHS is sensible here :D).

But it's more of a practical consideration at the moment. Some apps do
indeed store large data here... so we'd need to do this kind of thing
early on in the cycle, not last minute.

I think Fedora will ultimately do this, as will SuSE, so I don't see any
problem with it in principle.

Col


-- 

Colin Guthrie
colin(at)mageia.org
<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>

Day Job:
  Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
Open Source:
  Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
  PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
  Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>
</PRE>

<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	
	<LI>Next message: <A HREF="007114.html">[Mageia-discuss] many systemd temporary directories
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#7785">[ date ]</a>
              <a href="thread.html#7785">[ thread ]</a>
              <a href="subject.html#7785">[ subject ]</a>
              <a href="author.html#7785">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
mailing list</a><br>
</body></html>