FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux General Discussion

 
 
LinkBack Thread Tools
 
Old 06-21-2012, 11:20 PM
Tom Gundersen
 
Default tmp files no longer removed

On Jun 21, 2012 11:12 AM, "Kevin Chadwick" <ma1l1ists@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 be configured to revert to the default.

-t
 
Old 06-21-2012, 11:29 PM
David Benfell
 
Default tmp files no longer removed

-----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 Benfell
benfell@parts-unknown.org


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJP465hAAoJELT202JKF+xpadwP/1vOGzfVVFx8fvJm43IeWrt0
3KfPsi01nghg8YtFFBh1+pN6iJKZ+IR4EZmnZZAWP+Orh8HSTV utXzkUoSV8lufO
uHszjPPwiaFfP4XjiR2E5SYuN6NMNAi/vht4oJbTST8ekGAaK/dPT0wRgl65b9yc
6vv7jMLswK1j3OJaGhIYwHGO5qWDRurmNtHFJrupvQHOcK2ToR bVb4nnIuyzZLNb
xPCa6m5at4SCcekrqLQVj01Phj8DNgEkHBYvaH9vqAlPjq/t2omu1zV2VDxJFnk3
cwDy5++2opKPYp6SalKCXlKmvrVbi9izBoNut4A4odb6QydX5E C29XqMfOcyvF+I
IzN77PNHuiL6fFhO4RM+BRIPbNOyRRekhZ9k2dI7T5sN4sP2fK oP2prj0RNVs2Lw
FHTIemOMzNVrY6+lSyY/OHoQq6myn6IXsWcCtc3BBa+AlFhLfHWgJU9g4YlwK9VX
6s7gTgXG7+9pV84bj1XxRHHQCtQIh7Bw6A9EQAvxkAlDCxE6gR azZSeXiGyg34LI
yWSm3ZYowVT+/s0ZlXrCyIE0NGy3i2Y3S+A5Uz7Tcrkdfc793r7Y25CWio64CNU m
9SVsToySvu5V1Cm/BltaS3OdnbKZ7U/pwmW4+cv52qlIMidwlAQGmh93RGF3Tfyt
ia6d5TN8HVTLIF3l7eXO
=qbKT
-----END PGP SIGNATURE-----
 
Old 06-21-2012, 11:32 PM
Kevin Chadwick
 
Default tmp files no longer removed

> > > 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 stuff to
> the initscripts it should be done by using our hooks system or
> /etc/rc.local. For the record, editing rc.sysinit directly itself is
> probably not a good idea as it will be overwritten on upgrade.


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 getty I'm just not sure if it can apply to all unit files.

__________________________________________________ ______

Why not do something good every day and install BOINC.
__________________________________________________ ______
 
Old 06-21-2012, 11:42 PM
Tom Gundersen
 
Default tmp files no longer removed

On Fri, Jun 22, 2012 at 1:32 AM, Kevin Chadwick <ma1l1ists@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 getty I'm just not sure if it can apply to all unit files.

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.

If you want to add your own custom stuff instead then in initscripts
you'd make a hook (as before) and in systemd you'd add a .service file
[2].

HTH,

Tom

[0]: <http://0pointer.de/public/systemd-man/tmpfiles.d.html>
[1]: <http://0pointer.de/public/systemd-man/systemd-tmpfiles.html>
[2]: <http://0pointer.de/public/systemd-man/systemd.service.html>
 
Old 06-22-2012, 05:57 AM
Lukáš Jirkovský
 
Default tmp files no longer removed

On 22 June 2012 01:42, Tom Gundersen <teg@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 in systemd package. I'll create
a bug report for that later.

If it had been there, I wouldn't have asked this question at all, as
everything necessary is mentioned in the manpage.

Lukas
 
Old 06-22-2012, 10:09 AM
Kevin Chadwick
 
Default tmp files no longer removed

> 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.
>
> If you want to add your own custom stuff instead then in initscripts
> you'd make a hook (as before) and in systemd you'd add a .service file
> [2].

Fair enough and Thanks.

I'll likely find out more about systemd malleability in due course some
time anyway. I just don't use the system with it very often.

__________________________________________________ ______

Why not do something good every day and install BOINC.
__________________________________________________ ______
 

Thread Tools




All times are GMT. The time now is 11:34 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org