[systemd-devel] Wildcards support for tmpfiles

Andrey Borzenkov arvidjaar at gmail.com
Sun Nov 28 07:06:45 PST 2010


Here is actual snippet from rc.sysinit:

# Clean up various /tmp bits
[ -n "$SELINUX_STATE" ] && restorecon /tmp
rm -f /tmp/.X*-lock /tmp/.lock.* /tmp/.gdm_socket /tmp/.s.PGSQL.*
rm -rf /tmp/.X*-unix /tmp/.ICE-unix /tmp/.font-unix /tmp/hsperfdata_* \
       /tmp/kde-* /tmp/ksocket-* /tmp/mc-* /tmp/mcop-* /tmp/orbit-*  \
       /tmp/scrollkeeper-*  /tmp/ssh-* \
       /dev/.in_sysinit

Most of these directories are actually per-user so there is no way to
list each one individually. Is wildcard support just not implemented
or there are arguments against adding it?

TIA


More information about the systemd-devel mailing list