I use Leap 15.4
My /TMP directory is not being cleaned and occupies 90 GB on disk. My Directory /etc/tmpfiles.d is empty.
I tried to create the file with:
cp /usr/lib/tmpfiles.d/tmp.conf /etc/tmpfiles.d/tmp.conf.
cp: Impossible to obtain information for ‘/usr/lib/tmpfiles.d/tmp.conf’: File or non -existent folder
and It’s not possible, the file tmp.conf not exist. I use btrfs, I don’t know has something to do.
Someone knows how to solve this problem.
My fstab:
UUID=5593a102-1216-453b-ae78-a53d4be7315c swap swap defaults 0 0
UUID=7e10806d-155d-401b-80c5-59183713335a / btrfs defaults 0 0
UUID=7e10806d-155d-401b-80c5-59183713335a /.snapshots btrfs subvol=/@/.snapshots 0 0
UUID=7e10806d-155d-401b-80c5-59183713335a /var btrfs subvol=/@/var 0 0
UUID=7e10806d-155d-401b-80c5-59183713335a /usr/local btrfs subvol=/@/usr/local 0 0
UUID=7e10806d-155d-401b-80c5-59183713335a /tmp btrfs subvol=/@/tmp 0 0
UUID=7e10806d-155d-401b-80c5-59183713335a /srv btrfs subvol=/@/srv 0 0
UUID=7e10806d-155d-401b-80c5-59183713335a /root btrfs subvol=/@/root 0 0
UUID=7e10806d-155d-401b-80c5-59183713335a /opt btrfs subvol=/@/opt 0 0
UUID=7e254ce5-03ed-4e12-89a6-f3feb99ed1ad /home xfs defaults 0 0
UUID=7e10806d-155d-401b-80c5-59183713335a /boot/grub2/x86_64-efi btrfs subvol=/@/boot/grub2/x86_64-efi 0 0
UUID=7e10806d-155d-401b-80c5-59183713335a /boot/grub2/i386-pc btrfs subvol=/@/boot/grub2/i386-pc 0 0
UUID=725B-2856 /boot/efi vfat utf8 0 2
Thanks
Rui Pedro