hi

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
really perfect

i would suggest systemd to touch the folders regulary or watch if
they are removed by whatever foreign process and re-create them

[root@buildserver:~]$ rpm -q systemd
systemd-44-23.fc17.x86_64
_____________________________________________________________

[root@buildserver:~]$ cat /etc/cron.daily/tmpwatch-rh
#!/usr/bin/bash
flags=-umc
/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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to