Re: [systemd-devel] mount units and symlinks

2014-09-02 Thread Olav Vitters
On Mon, Jun 30, 2014 at 12:41:10PM -0700, Colin Walters wrote: > There's likely other people in the field though with mount points that > are symlinks, and while they're clearly buggy it'd be rather unfriendly > to just have them entirely break after upgrading systemd. Maybe a loud > warning? One

Re: [systemd-devel] mount units and symlinks

2014-06-30 Thread Lennart Poettering
On Tue, 01.07.14 00:27, Marco d'Itri (m...@linux.it) wrote: > On Jun 30, Lennart Poettering wrote: > > > BTW, I have now prepped a man page that codifies the assumptions and > > suggestions systemd makes on the file system hierarchy: > > > > http://www.freedesktop.org/software/systemd/man/file-

Re: [systemd-devel] mount units and symlinks

2014-06-30 Thread Lennart Poettering
On Tue, 01.07.14 00:16, Marco d'Itri (m...@linux.it) wrote: > On Jun 30, Lennart Poettering wrote: > > > BTW, I have now prepped a man page that codifies the assumptions and > > suggestions systemd makes on the file system hierarchy: > > > > http://www.freedesktop.org/software/systemd/man/file-

Re: [systemd-devel] mount units and symlinks

2014-06-30 Thread Marco d'Itri
On Jun 30, Lennart Poettering wrote: > BTW, I have now prepped a man page that codifies the assumptions and > suggestions systemd makes on the file system hierarchy: > > http://www.freedesktop.org/software/systemd/man/file-hierarchy.html The other major issue that I can see is that in Debian we

Re: [systemd-devel] mount units and symlinks

2014-06-30 Thread Marco d'Itri
On Jun 30, Lennart Poettering wrote: > BTW, I have now prepped a man page that codifies the assumptions and > suggestions systemd makes on the file system hierarchy: > > http://www.freedesktop.org/software/systemd/man/file-hierarchy.html Another difference is that Debian, Ubuntu and other deriva

Re: [systemd-devel] mount units and symlinks

2014-06-30 Thread Lennart Poettering
On Mon, 30.06.14 13:27, Colin Walters (walt...@verbum.org) wrote: > > On Mon, Jun 30, 2014, at 12:49 PM, Lennart Poettering wrote: > > > This sounds confused. Why would the cloud images not use a tmpfs for > > /tmp? > > https://git.fedorahosted.org/cgit/spin-kickstarts.git/tree/fedora-cloud-bas

Re: [systemd-devel] mount units and symlinks

2014-06-30 Thread Colin Walters
On Mon, Jun 30, 2014, at 12:49 PM, Lennart Poettering wrote: > This sounds confused. Why would the cloud images not use a tmpfs for > /tmp? https://git.fedorahosted.org/cgit/spin-kickstarts.git/tree/fedora-cloud-base.ks#n181 (Though honestly the biggest memory usage improvement at least for the

Re: [systemd-devel] mount units and symlinks

2014-06-30 Thread Lennart Poettering
On Mon, 30.06.14 12:41, Colin Walters (walt...@verbum.org) wrote: > > Why would you create such a symlink? This sounds wrong. /tmp should > > generally be a tmpfs these days, why would you link that? > > I need to support cases where /tmp is not tmpfs (e.g. current Fedora > cloud images). This s

Re: [systemd-devel] mount units and symlinks

2014-06-30 Thread Colin Walters
On Mon, Jun 30, 2014, at 12:29 PM, Lennart Poettering wrote: > > Why would you create such a symlink? This sounds wrong. /tmp should > generally be a tmpfs these days, why would you link that? I need to support cases where /tmp is not tmpfs (e.g. current Fedora cloud images). The rationale is th

Re: [systemd-devel] mount units and symlinks

2014-06-30 Thread Lennart Poettering
On Mon, 30.06.14 12:23, Colin Walters (walt...@verbum.org) wrote: > Hi, we were trying to update systemd to git master in gnome-continuous, > and hit an issue with mount points that are symlinks. > > It's pretty easy to reproduce: > > mkdir /mnt/a > ln -s a /mnt/b > cat > /etc/systemd/system/mnt

[systemd-devel] mount units and symlinks

2014-06-30 Thread Colin Walters
Hi, we were trying to update systemd to git master in gnome-continuous, and hit an issue with mount points that are symlinks. It's pretty easy to reproduce: mkdir /mnt/a ln -s a /mnt/b cat > /etc/systemd/system/mnt-b.mount << EOF [Mount] What=tmpfs Where=/mnt/b Type=tmpfs Options=mode=1777,strict