<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:lennart@poettering.net" title="Lennart Poettering <lennart@poettering.net>"> <span class="fn">Lennart Poettering</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - fstab-generator fails to create mount unit"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73710">bug 73710</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WONTFIX
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - fstab-generator fails to create mount unit"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73710#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - fstab-generator fails to create mount unit"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73710">bug 73710</a>
from <span class="vcard"><a class="email" href="mailto:lennart@poettering.net" title="Lennart Poettering <lennart@poettering.net>"> <span class="fn">Lennart Poettering</span></a>
</span></b>
<pre>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!</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>