Re: [arch-general] tmp files no longer removed

2012-06-22 Thread Lukáš Jirkovský
On 22 June 2012 01:42, Tom Gundersen t...@jklm.no wrote: The tmpfiles.d fragment is documented in the tmpfiles.d(5)[0] and the tmpfiles utility is documented in systemd-tmpfiles(8)[1]. So there actually is man page for the systemd-tmpfiles. It is missing from the systemd-tools, instead it is

Re: [arch-general] tmp files no longer removed

2012-06-22 Thread Kevin Chadwick
I'm really not sure what you are asking here, so bear with me... The tmpfiles.d fragment is documented in the tmpfiles.d(5)[0] and the tmpfiles utility is documented in systemd-tmpfiles(8)[1]. Both in systemd and initscripts we call /usr/bin/systemd-tmpfiles --clean to clean up old files.

Re: [arch-general] tmp files no longer removed

2012-06-21 Thread Kevin Chadwick
I believe this is correct. However, I would point out that I had to disable tmpfs on my Linode because it was taking too much memory. What are you doing that uses so much memory? I enable a small memory filesystem that doesn't grow for /tmp on my web servers. You just have to configure the

Re: [arch-general] tmp files no longer removed

2012-06-21 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/21/12 02:11, Kevin Chadwick wrote: The ability I would certainly agree with but has it been removed? Is the question, Where is the best place to add /bin/rm to init nowadays? Elsewhere in this thread, someone mentions tmpfiles.d. There

Re: [arch-general] tmp files no longer removed

2012-06-21 Thread Kevin Chadwick
There is a configuration file in /usr/lib/tmpfiles.d named tmp.conf which can be copied to /etc/conf.d and modified as needed. I meant a place for any shell incarnation though not a rigid?? pre-ordained facility. - From what I've been able to piece together, one can then run

Re: [arch-general] tmp files no longer removed

2012-06-21 Thread Tom Gundersen
On Jun 21, 2012 1:16 PM, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote: There is a configuration file in /usr/lib/tmpfiles.d named tmp.conf which can be copied to /etc/conf.d and modified as needed. I meant a place for any shell incarnation though not a rigid?? pre-ordained facility. Nothing

Re: [arch-general] tmp files no longer removed

2012-06-21 Thread Tom Gundersen
On Jun 21, 2012 11:12 AM, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote: The ability to clean /tmp at boot should probably be preserved. The ability I would certainly agree with but has it been removed? It has not been removed. The standard behavior changed slightly, but as mentioned this can

Re: [arch-general] tmp files no longer removed

2012-06-21 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/21/12 16:20, Tom Gundersen wrote: It has not been removed. The standard behavior changed slightly, but as mentioned this can be configured to revert to the default. Yes, my bad, as you've probably already discovered. :-) - -- David

Re: [arch-general] tmp files no longer removed

2012-06-21 Thread Kevin Chadwick
There is a configuration file in /usr/lib/tmpfiles.d named tmp.conf which can be copied to /etc/conf.d and modified as needed. I meant a place for any shell incarnation though not a rigid?? pre-ordained facility. Nothing has changed in this respect. If you want to add your own

Re: [arch-general] tmp files no longer removed

2012-06-21 Thread Tom Gundersen
On Fri, Jun 22, 2012 at 1:32 AM, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote: I figured that, atleast the rc.local bit. There's no exec line that can be used in the tmpfiles.d either in arch or full systemd then running it at the same stage of init, just out of interest. I know there is one for

Re: [arch-general] tmp files no longer removed

2012-06-20 Thread Chris Sakalis
On Wed, Jun 20, 2012 at 7:05 PM, Lukáš Jirkovský l.jirkov...@gmail.com wrote: Hello, before submitting bug report I want to make sure this isn't feature. My problem is that my /tmp folder is no longer cleaned up during boot. Now I have to do that manually which is really annoying. I dug

Re: [arch-general] tmp files no longer removed

2012-06-20 Thread Klaus
Lukáš Jirkovský schrieb: Hello, before submitting bug report I want to make sure this isn't feature. My problem is that my /tmp folder is no longer cleaned up during boot. Now I have to do that manually which is really annoying. I dug through the git of initscripts and it seems to be caused

Re: [arch-general] tmp files no longer removed

2012-06-20 Thread A Rojas
Lukáš Jirkovský wrote: Hello, before submitting bug report I want to make sure this isn't feature. My problem is that my /tmp folder is no longer cleaned up during boot. Now I have to do that manually which is really annoying. See

Re: [arch-general] tmp files no longer removed

2012-06-20 Thread Leonid Isaev
On Wed, 20 Jun 2012 18:05:38 +0200 Lukáš Jirkovský l.jirkov...@gmail.com wrote: Hello, before submitting bug report I want to make sure this isn't feature. My problem is that my /tmp folder is no longer cleaned up during boot. Now I have to do that manually which is really annoying. I dug

Re: [arch-general] tmp files no longer removed

2012-06-20 Thread Lukáš Jirkovský
On 20 June 2012 18:15, Klaus thor...@brothersofgrey.net wrote: Lukáš Jirkovský schrieb: Hello, before submitting bug report I want to make sure this isn't feature. My problem is that my /tmp folder is no longer cleaned up during boot. Now I have to do that manually which is really annoying.

Re: [arch-general] tmp files no longer removed

2012-06-20 Thread Lukáš Jirkovský
On 20 June 2012 18:20, Leonid Isaev lis...@umail.iu.edu wrote: On Wed, 20 Jun 2012 18:05:38 +0200 Lukáš Jirkovský l.jirkov...@gmail.com wrote: Hello, before submitting bug report I want to make sure this isn't feature. My problem is that my /tmp folder is no longer cleaned up during boot.

Re: [arch-general] tmp files no longer removed

2012-06-20 Thread Mantas Mikulėnas
On Wed, Jun 20, 2012 at 7:05 PM, Lukáš Jirkovský l.jirkov...@gmail.com wrote: I dug through the git of initscripts and it seems to be caused by the replacement of the original code by the systemd-tmpfiles tool. I've just tried to run systemd-tmpfiles manually and it seems that it is not able

Re: [arch-general] tmp files no longer removed

2012-06-20 Thread Tom Gundersen
On Jun 20, 2012 6:05 PM, Lukáš Jirkovský l.jirkov...@gmail.com wrote: Hello, before submitting bug report I want to make sure this isn't feature. My problem is that my /tmp folder is no longer cleaned up during boot. Now I have to do that manually which is really annoying. I dug through the

Re: [arch-general] tmp files no longer removed

2012-06-20 Thread Lukáš Jirkovský
On 20 June 2012 18:24, Mantas Mikulėnas graw...@gmail.com wrote: On Wed, Jun 20, 2012 at 7:05 PM, Lukáš Jirkovský l.jirkov...@gmail.com wrote: I dug through the git of initscripts and it seems to be caused by the replacement of the original code by the systemd-tmpfiles tool. I've just tried

Re: [arch-general] tmp files no longer removed

2012-06-20 Thread Lukáš Jirkovský
On 20 June 2012 18:28, Tom Gundersen t...@jklm.no wrote: On Jun 20, 2012 6:05 PM, Lukáš Jirkovský l.jirkov...@gmail.com wrote: Hello, before submitting bug report I want to make sure this isn't feature. My problem is that my /tmp folder is no longer cleaned up during boot. Now I have to do

Re: [arch-general] tmp files no longer removed

2012-06-20 Thread Tom Gundersen
On Jun 20, 2012 6:32 PM, Lukáš Jirkovský l.jirkov...@gmail.com wrote: On 20 June 2012 18:28, Tom Gundersen t...@jklm.no wrote: On Jun 20, 2012 6:05 PM, Lukáš Jirkovský l.jirkov...@gmail.com wrote: Hello, before submitting bug report I want to make sure this isn't feature. My problem is

Re: [arch-general] tmp files no longer removed

2012-06-20 Thread Lukáš Jirkovský
On 20 June 2012 18:32, Lukáš Jirkovský l.jirkov...@gmail.com wrote: On 20 June 2012 18:28, Tom Gundersen t...@jklm.no wrote: On Jun 20, 2012 6:05 PM, Lukáš Jirkovský l.jirkov...@gmail.com wrote: Hello, before submitting bug report I want to make sure this isn't feature. My problem is that my

Re: [arch-general] tmp files no longer removed

2012-06-20 Thread Lukáš Jirkovský
On 20 June 2012 18:47, Tom Gundersen t...@jklm.no wrote: Looks like a bug, if you create a bug report I'll look into it. Done, it's FS#30384 That said, I think you want to use 'D' rather than 'd' (check the man page). Alternatively, you can specify an age in milliseconds, rather than

Re: [arch-general] tmp files no longer removed

2012-06-20 Thread Kevin Chadwick
I've just tried to run systemd-tmpfiles manually and it seems that it is not able to do even a simple task such as rm -rf /tmp/*. For my own understanding is it possible to add an exec line to these systemd files like for the inittab replacements getty.service so that you can add anything you

Re: [arch-general] tmp files no longer removed

2012-06-20 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/20/12 09:15, Klaus wrote: Is there a line like tmpfs /tmptmpfs nodev,nosuid0 0 which creates a ramdisk and mounts it on /tmp. I think that is the standard configuration of Arch Linux. I believe this is correct.