systemd-tmpfiles doesn't clean build root from /tmp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hey guys,
I've started using /tmp for building packages using extra-x86_64-build
(and similar). However, I've a problem with the /tmp/extra-x86_64 not
being cleaned on boot by systemd-tmpclean.

I have the following in /etc/tmpfiles.d/tmp.conf:

    # Clear tmp directories separately, to make them easier to override
    d /tmp 1777 root root 0d
    d /var/tmp 1777 root root 0d
    # Exclude namespace mountpoints created with PrivateTmp=yes
    x /tmp/systemd-private-*
    x /var/tmp/systemd-private-*
    X /tmp/systemd-private-*/tmp
    X /var/tmp/systemd-private-*/tmp

the problem is that while it seems /tmp gets cleaned to some extent,
/tmp/extra-x86_64/ is still there. What is worse, the root is not
usable either:

    ==> ERROR: '/tmp/extra-x86_64/root' does not appear to be a Arch chroot.


Any ideas?


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux