[systemd-bugs] [Bug 73710] fstab-generator fails to create mount unit

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 17 10:26:21 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=73710

Lennart Poettering <lennart at poettering.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #5 from Lennart Poettering <lennart at poettering.net> ---
So, using fstab with non-unique entries was probably always in the area of
"undefined behaviour". Maybe mount itself didn't break, but a lot of other
software parsing that file certainly did.

In systemd we explicitly don't support fstabs like this, and will generate the
error you saw. THis is unlikely to change, since we name the units
automatically after the mount points they refer to, and unit names must be
unique.

So, I can certainly see your usecase, but I kinda like the current properties
of systemd's mount handling in that the mapping between units and paths is
bijective and easily understandable which we'd lose if we wanted to support
this usecase.

This issue has come up once before, so we know at least of two people looking
for this. However, I am inclined to say that this is probably nothing we will
support in systemd, sorry.

I'd recommend to simply use two different mount points for this and manage a
symlink as suggested by David Strauss.

Sorry if this answer is a bit disappointing!

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140117/5665175c/attachment.html>


More information about the systemd-bugs mailing list