Re: How to disable systemd-tmpfiles-clean.timer

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



Hi,

On Thu, 08 May 2014 02:43:57 -0400
Olivier Langlois <olivier@xxxxxxxxxxxxxxxxxxx> wrote:

> Since a recent update (I have first noticed a couple of weeks ago this
> new systemd enhancement), systemd started to automatically clean /tmp
> directory daily. This is not something that I like as I prefer to decide
> when to clean up and to manually perform the clean up.
> 
> I have tried
> 
> systemctl stop systemd-tmpfiles-clean.timer
> systemctl disable systemd-tmpfiles-clean.timer
> 
> The disabling apparently did not survived a reboot and the undesired
> systemd service came back.
> 
> I guess that I could mess with tmpfiles-clean config file but I am just
> not interested in the service at all. What is the sure way method to
> disable it for good?

systemd-tmpfiles-clean does more that just removing stuff from /tmp. So
changing the config is the only way to go. Just
copy /usr/lib/tmpfiles.d/tmp.conf to /etc/tmpfiles.d/ and modify it as you
like...

Cheers,
-- 
Leonid Isaev
GPG fingerprints: DA92 034D B4A8 EC51 7EA6  20DF 9291 EE8A 043C B8C4
                  C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D

Attachment: signature.asc
Description: PGP signature


[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