Bug#783509: systemd: /tmp purged on every reboot

Martin Pitt mpitt at debian.org
Wed Jun 10 16:26:47 BST 2015


Hello all,

Michael and I just discussed this. Our current patches are shaky at
best, and e. g. in the current 220-5 tmp.mount came back by default. I
committed another bandaid for that, but it's a disaster waiting to
happen.

So we agreed on the following:

 - Stop shipping /lib/systemd/system/tmp.mount
 - Ship it in /usr/share/systemd/ instead
 - On upgrade: if tmp.mount is enabled, copy tmp.mount from /usr/share
   to /etc/
   + Bonus (not required, but cleaner): update the enablement symlink
     accordingly
 - On new install: If RAMTMP==yes, copy tmp.mount from /usr/share and
   enable it
 - Update documentation about recommendation how to enable tmpfs /tmp:
   Add it to fstab, or do the copy/enable steps

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20150610/8d5b709b/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list