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)
signature.asc
Description: Digital signature

