2019-04-12 20:45:53 +08:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
2024-11-21 17:25:38 +08:00
|
|
|
# See tmpfiles.d(5) for details.
|
2019-04-12 20:45:53 +08:00
|
|
|
|
|
|
|
# Exclude namespace mountpoints created with PrivateTmp=yes
|
|
|
|
x /tmp/systemd-private-%b-*
|
|
|
|
X /tmp/systemd-private-%b-*/tmp
|
|
|
|
x /var/tmp/systemd-private-%b-*
|
|
|
|
X /var/tmp/systemd-private-%b-*/tmp
|
|
|
|
|
|
|
|
# Remove top-level private temporary directories on each boot
|
2024-09-18 03:46:04 +08:00
|
|
|
R! /tmp/systemd-private-*
|
|
|
|
R! /var/tmp/systemd-private-*
|
2019-05-31 16:16:17 +08:00
|
|
|
|
|
|
|
# Handle lost systemd-coredump temp files. They could be lost on old filesystems,
|
|
|
|
# for example, after hard reboot.
|
|
|
|
x /var/lib/systemd/coredump/.#core*.%b*
|
2024-09-18 03:46:04 +08:00
|
|
|
r! /var/lib/systemd/coredump/.#*
|