<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] [Mageia-discuss] many systemd temporary directories
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BMageia-discuss%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="Previous"  HREF="014735.html">
   <LINK REL="Next"  HREF="014741.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] [Mageia-discuss] many systemd temporary directories</H1>
    <B>Colin Guthrie</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BMageia-discuss%5D%20many%20systemd%20temporary%20directories&In-Reply-To=%3C4F972512.1000708%40colin.guthr.ie%3E"
       TITLE="[Mageia-dev] [Mageia-discuss] many systemd temporary directories">mageia at colin.guthr.ie
       </A><BR>
    <I>Wed Apr 25 00:11:30 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="014735.html">[Mageia-dev] [Mageia-discuss] many systemd temporary directories
</A></li>
        <LI>Next message: <A HREF="014741.html">[Mageia-dev] [Mageia-discuss] many systemd temporary directories
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#14737">[ date ]</a>
              <a href="thread.html#14737">[ thread ]</a>
              <a href="subject.html#14737">[ subject ]</a>
              <a href="author.html#14737">[ 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>Previous message: <A HREF="014735.html">[Mageia-dev] [Mageia-discuss] many systemd temporary directories
</A></li>
	<LI>Next message: <A HREF="014741.html">[Mageia-dev] [Mageia-discuss] many systemd temporary directories
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#14737">[ date ]</a>
              <a href="thread.html#14737">[ thread ]</a>
              <a href="subject.html#14737">[ subject ]</a>
              <a href="author.html#14737">[ 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>