Felix Rauch <
fe...@nice.ch> wrote:
> Ich kenne Debian nicht speziell, aber ich dachte eigentlich das
> klassischerweise /tmp bei jedem Neustart geloescht wird. Schliesslich
> ist es -- wie der Name schon sagt -- TeMPoraer ;-)
In my wheezy, /etc/init.d/checkroot-bootclean.sh is run and does:
clean_all
defined in /lib/init/bootclean.sh as e.g.:
clean_tmp
which looks like it take in account TMPTIME.
However, maybe you run jessie, which has changed from standard SYSV
init.d to the marvellous systemd, and not all scripts and configurations
have been migrated.
Notably, when you change a /etc/default file (maybe rcS, too), you need,
on jessie with systemd enabled, to do something like:
systemctl reload-daemon
I will try to attempt from not using jessie until it wheezy LTS gets EOL'd
(in about two years), and when it does, I hope its replacement will
be a bit more mature.
Meanwhile I am testing jessie in one system, and it works: it's very
loud (systemd chatters infinitely in the system logs, thank you logcheck
for filtering it for me). systemd is definitely something very nicely
designed and has some interesting features, so far none of them I required
in the last 20 years of using Linux with init.d scripts.
(yes, you can run sysv in jessie, but I expect it -- without having
tested -- to be as broken)