Indeed systemd-tmpfiles-clean.service does not read this, and I'm really
not sure whether this should be put back. Preserving files in /tmp is
counterintuitive, a recipe for filling up the disk, does not meet user
expectations when rebooting, is not intended by the FHS
(http://www.pathname.com/fhs/pub/fhs-2.3.html#TMPTEMPORARYFILES), and
that option can never work reliably: If you enable tmp.mount or
otherwise make /tmp a tmpfs this option cannot work.

If you really don't want to clean /tmp you can do "sudo systemctl mask
systemd-tmpfiles-clean.service", but I highly recommend *not* to do
this.

We might add a comment to rcS that this setting does not work under
systemd and is discouraged?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1444958

Title:
  STC830:Brazos:br311p06:  file(s) are deleted from the /tmp after each
  reboot on Ubuntu OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1444958/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to