Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #169911
| From | MI <mi.lists.debian@alma.ch> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | How to prevent /tmp files from being deleted at reboot |
| Date | 2016-07-09 17:20 +0200 |
| Message-ID | <rT2cW-4IP-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
In Debian Jessie, systemd ignores the TMPTIME variable in /etc/default/rcS and just
blindly deletes everything on every reboot.
A bug has been filed about it: "#795269 TMPTIME not honored anymore"
( https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=795269 )
But I tried the suggested solution, and the files in /tmp still get deleted at reboot.
What I currently have which doesn't work:
$ egrep -v '^(#|$)' /etc/tmpfiles.d/tmp.conf
D /tmp 1777 root root 30d
x /tmp/systemd-private-%b-*
X /tmp/systemd-private-%b-*/tmp
x /var/tmp/systemd-private-%b-*
X /var/tmp/systemd-private-%b-*/tmp
Would someone know what I can do so that only files older than some number of days
get deleted?
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
How to prevent /tmp files from being deleted at reboot MI <mi.lists.debian@alma.ch> - 2016-07-09 17:20 +0200
Re: How to prevent /tmp files from being deleted at reboot Sven Hartge <sven@svenhartge.de> - 2016-07-09 19:40 +0200
Re: How to prevent /tmp files from being deleted at reboot MI <mi.lists.debian@alma.ch> - 2016-07-09 23:20 +0200
Re: How to prevent /tmp files from being deleted at reboot Linux-Fan <Ma_Sys.ma@web.de> - 2016-07-10 15:40 +0200
Re: How to prevent /tmp files from being deleted at reboot Wilko Fokken <wfokken@web.de> - 2016-08-07 21:00 +0200
Re: How to prevent /tmp files from being deleted at reboot Jörg-Volker Peetz <jvpeetz@web.de> - 2016-07-10 17:20 +0200
Re: How to prevent /tmp files from being deleted at reboot MI <mi.lists.debian@alma.ch> - 2016-07-10 23:10 +0200
Re: How to prevent /tmp files from being deleted at reboot "D. R. Evans" <doc.evans@gmail.com> - 2016-07-11 16:00 +0200
Re: How to prevent /tmp files from being deleted at reboot MI <mi.lists.debian@alma.ch> - 2016-07-11 17:50 +0200
Re: How to prevent /tmp files from being deleted at reboot "D. R. Evans" <doc.evans@gmail.com> - 2016-07-11 18:10 +0200
Re: How to prevent /tmp files from being deleted at reboot MI <mi.lists.debian@alma.ch> - 2016-07-16 15:00 +0200
Re: How to prevent /tmp files from being deleted at reboot "D. R. Evans" <doc.evans@gmail.com> - 2016-07-16 15:10 +0200
Re: How to prevent /tmp files from being deleted at reboot Michael Biebl <biebl@debian.org> - 2016-07-16 15:30 +0200
Re: How to prevent /tmp files from being deleted at reboot "D. R. Evans" <doc.evans@gmail.com> - 2016-07-16 17:10 +0200
Re: How to prevent /tmp files from being deleted at reboot Michael Biebl <biebl@debian.org> - 2016-07-16 17:30 +0200
How to prevent /tmp files from being deleted at reboot Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com> - 2016-08-05 09:30 +0200
Re: How to prevent /tmp files from being deleted at reboot Michael Biebl <biebl@debian.org> - 2016-08-05 21:40 +0200
Re: Re: How to prevent /tmp files from being deleted at reboot Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com> - 2016-08-06 16:10 +0200
Re: How to prevent /tmp files from being deleted at reboot Michael Biebl <biebl@debian.org> - 2016-07-16 15:30 +0200
Re: How to prevent /tmp files from being deleted at reboot Michael Biebl <biebl@debian.org> - 2016-07-11 12:40 +0200
Re: How to prevent /tmp files from being deleted at reboot MI <mi.lists.debian@alma.ch> - 2016-07-11 15:30 +0200
Re: How to prevent /tmp files from being deleted at reboot Michael Biebl <biebl@debian.org> - 2016-07-12 17:40 +0200
Re: How to prevent /tmp files from being deleted at reboot Michael Biebl <biebl@debian.org> - 2016-07-12 17:40 +0200
Re: How to prevent /tmp files from being deleted at reboot MI <mi.lists.debian@alma.ch> - 2016-07-16 16:10 +0200
Re: How to prevent /tmp files from being deleted at reboot Michael Biebl <biebl@debian.org> - 2016-07-16 16:20 +0200
Re: How to prevent /tmp files from being deleted at reboot MI <mi.lists.debian@alma.ch> - 2016-07-16 16:30 +0200
Re: How to prevent /tmp files from being deleted at reboot Mark Fletcher <mark27q1@gmail.com> - 2016-07-16 16:40 +0200
Re: How to prevent /tmp files from being deleted at reboot Michael Biebl <biebl@debian.org> - 2016-07-16 16:50 +0200
Re: How to prevent /tmp files from being deleted at reboot MI <mi.lists.debian@alma.ch> - 2016-07-16 17:20 +0200
How to prevent /tmp files from being deleted at reboot Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com> - 2016-08-05 09:30 +0200
Re: How to prevent /tmp files from being deleted at reboot Josh Triplett <josh@joshtriplett.org> - 2016-07-28 09:10 +0200
csiph-web