[systemd-devel] [PATCH 08/10] units: make it possible to disable tmp.mount using systemctl

Jon Severinsson jon at severinsson.net
Wed Jul 16 04:51:13 PDT 2014


> tmp.mount is part of our default expected setup and should behave like
> this by default without any presets or configuration.

Which is why I made `make install` enable it, which wasn't in the original 
patch for Debian.

> It can be overridden by an entry in fstab just fine. Why is that needed?

To my knowledge you can not create an fstab entry that would make /tmp not be 
mounted at all but remain part of /. It can be done by masking the unit, but 
enable/disable seems more appropriate than unmask/mask.

Note that when Debian tried to change the default from /tmp being part of / to 
being a tmpfs several applications broke and the default was eventually 
reverted.  Most applications have probably been fixed since then, but even if 
we are able to change the default we will need a supported way of disabling 
it.


More information about the systemd-devel mailing list