[Pkg-systemd-maintainers] Bug#718906: systemd 204 mounts /tmp as tmpfs by default

Michael Biebl biebl at debian.org
Tue Aug 6 21:21:39 BST 2013


Am 06.08.2013 22:00, schrieb Michael Stapelberg:
> Package: systemd
> Version: 204-2
> Severity: normal
> 
> I noticed that /tmp gets exhausted on codesearch.debian.net due to
> systemd 204 mounting /tmp as tmpfs by default, which is because of the
> file /lib/systemd/system/tmp.mount.
> 
> Personally, I don’t mind /tmp being a tmpfs mount and have that setup on
> most of my machines, but I feel that we should at least:
> 
> 1) Mention this fact in debian/NEWS.Debian
> 2) Explain to users how to disable mounting /tmp as a tmpfs. I suppose
>    referring to
>    http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems/ is
>    good enough for now.
> 
> I suppose we explicitly don’t want to support /etc/default/tmpfs to be
> consistent with getting rid of these files for other init scripts.
> 
> In case nobody objects, I will take care of this in the next few days.

We could add

[Install]
WantedBy=local-fs.target

to tmp.mount and ship it disabled by default to be consistent with sysvinit.

Enabling tmp-on-tmpfs would then be as simple as
systemctl enable tmp.mount
which we could add to README.Debian


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20130806/f59b78d8/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list