[systemd-devel] PrivateTmp and "tmpwatch"
h.reindl at thelounge.net
Sun Feb 3 07:52:42 PST 2013
may it be that PrivateTmp does not refresh the folders
/tmp/systemd-private* and if "tmpwatch" is deleting
them they are mnot re-created?
Can't create/write to file '/tmp/#sql_57d8_0.MYI' (Errcode: 2)
after restart mysqld.service which is here configured with
PrivateTmp all is fine again - recently i decided to dedicate
a special folder for mysqltmp and modified my daily logwatch
to ignore folders starting with "systemd-" but this is not
i would suggest systemd to touch the folders regulary or watch if
they are removed by whatever foreign process and re-create them
[root at buildserver:~]$ rpm -q systemd
[root at buildserver:~]$ cat /etc/cron.daily/tmpwatch-rh
/usr/sbin/tmpwatch "$flags" -x /tmp/.X11-unix -x /tmp/.XIM-unix -x /tmp/.font-unix -x /tmp/.ICE-unix -x
/tmp/.Test-unix -X '/tmp/hsperfdata_*' -X '/tmp/systemd*' 1d /tmp
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 263 bytes
Desc: OpenPGP digital signature
More information about the systemd-devel