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

2014-07-16 Thread Jon Severinsson
From: Michael Stapelberg mich...@stapelberg.de But enable it by default in make install and systemd preset. --- Makefile.am | 4 ++-- system-preset/90-systemd.preset | 1 + units/tmp.mount | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git

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

2014-07-16 Thread Kay Sievers
On Wed, Jul 16, 2014 at 12:09 PM, Jon Severinsson j...@severinsson.net wrote: From: Michael Stapelberg mich...@stapelberg.de But enable it by default in make install and systemd preset. tmp.mount is part of our default expected setup and should behave like this by default without any presets

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

2014-07-16 Thread Jon Severinsson
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?

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

2014-07-16 Thread Kay Sievers
On Wed, Jul 16, 2014 at 2:57 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Jul 16, 2014 at 01:51:13PM +0200, Jon Severinsson wrote: 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

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

2014-07-16 Thread Lennart Poettering
On Wed, 16.07.14 13:51, Jon Severinsson (j...@severinsson.net) wrote: 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

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

2014-07-16 Thread Tollef Fog Heen
]] Lennart Poettering (Also I see little point in /tmp not being a tmpfs anyway. If you want a lot of space there, then use swap -- of which you can have up to 2G even on 32bit systems. tmpfs on on swap has the great benefit that it relieves the kernel from always having to utimately flush

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

2014-07-16 Thread Uoti Urpala
On Wed, 2014-07-16 at 20:22 +0200, Tollef Fog Heen wrote: ]] Lennart Poettering (Also I see little point in /tmp not being a tmpfs anyway. If you want a lot of space there, then use swap -- of which you can have up to 2G even on 32bit systems. tmpfs on on swap has the great benefit that

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

2014-07-16 Thread Michael Biebl
2014-07-16 16:59 GMT+02:00 Lennart Poettering lenn...@poettering.net: THis wouldn't work the way you might expect. RequiresMountsFor= I don't think we actually have a unit which has RequiresMountsFor=tmp.mount and if there was, I would consider that broken. -- Why is it that all of the