Bug#779902: /tmp can be mounted as tmpfs against user's will

Michael Biebl biebl at debian.org
Fri Mar 20 07:39:41 GMT 2015


Am 20.03.2015 um 08:26 schrieb Didier Roche:
> Hey,
> 
> Attaching the patch (which tries to be less intrusive with mounts, only
> affecting /tmp) that I pinged on IRC for better tracking.
> Tested under multiple configurations. /tmp isn't mounted as tmpfs
> neither at boot, nor after a service restart having PrivateTmp. Enabling
> the tmp mount unit now ensures that it's started at boot, before
> services having PrivateTmp.

Hi Didier,

thanks for the patch. I had something like this in mind.
We could be extra nice and only add the After=tmp.mount if tmp.mount is
actually enabled, because we only need the After ordering in this case.
But that's mostly a cosmetic issue and I'm happy to ship the patch as is.

Michael
-- 
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: 834 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150320/fe6fa6aa/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list