On Sunday 12 May 2013 11:01:00 Andrea Turrini wrote:
On 05/12/2013 10:37 AM, ErwinL wrote:
What you want to do doesn't work because the "Age" parameter is ignored with the "R" option. See "man tmpfiles.d" for details.
Oops, I have not noted this case. I really would like to know the rational behind this choice, since I find it very weird.
Have a look at the file "/usr/lib/tmpfiles.d/tmp.conf". I think that you get what you want if you comment out the two lines starting with an "X". But then I have to take care of it on each update of systemd.
So, the question now is: how can I remove directories older than 3 days? Or, in general, how can I override an "X" in a system provided file?
Andrea, The man page of tmpfiles.d states that files in /etc/tmpfiles.d have precedence over files in /usr/lib/tmpfiles.d. So, it should be sufficient to copy file /usr/lib/tmpfiles.d/tmp.conf to /etc/tmpfiles.d/tmp.conf and edit the copy. Please, read that man page. Erwin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org