<!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: ><i> Am 24.04.2012 22:51, schrieb Colin Guthrie: </I>>><i> 'Twas brillig, and Florian Hubold at 24/04/12 21:27 did gyre and gimble: </I>>>><i> Am 24.04.2012 20:51, schrieb Juergen Harms: </I>>>>><i> I just saw that systemd creates (and does not purge) lots of directories like </I>>>>><i> /tmp/systemd-namespace-<uniqueid>/ - I now have nearly 50 of them (one </I>>>>><i> partial explanation might be that I did quite some re-booting these last days). </I>>>>><i> </I>>>>><i> Nothing serious, they are small - but nevertheless ... Is this normal, </I>>>>><i> shouldnt there be some automatic purging mechanism? </I>>>>><i> </I>>>>><i> Juergen </I>>>>><i> </I>>>><i> Maybe we should default to /tmp being on tmpfs so that </I>>>><i> this gets purged on every reboot? This would also be more </I>>>><i> in accordance with FHS imho. </I>>><i> This is one of my goals for mga3 (I have it in my notes for the </I>>><i> technical specs discussion that will come), but certainly not for mga2 </I>>><i> as this is quite a big change and some apps may have to be patched to </I>>><i> use /var/tmp instead etc. if they store large things in there. </I>>><i> </I>>><i> Col </I>>><i> </I>>><i> </I>><i> Well, this is what FHS says (in an ideal world it would reflect reality) </I>><i> </I>><i> Programs must not assume that any files or directories in /tmp are </I>><i> preserved between invocations of the program. </I>><i> </I>><i> IEEE standard P1003.2 (POSIX, part 2) makes requirements that are similar </I>><i> to the above section. </I>><i> </I>><i> Although data stored in /tmp may be deleted in a site-specific manner, it </I>><i> is recommended that files and directories located in /tmp be deleted </I>><i> whenever the system is booted. </I>><i> </I>><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>