<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - systemd-user not working with .mount's"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87602">87602</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>systemd-user not working with .mount's
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>devkid@devkid.net
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>systemctl --user start <unit>.mount won't work because it uses the -n
(--no-mtab) for mount, which is not permitted for non-root users.
Example:
$ cat ~/.config/systemd/user/home-devkid-Mounts-eeets.mount
[Mount]
What=sshfs#eeets:
Where=/home/devkid/Mounts/eeets
Type=fuse
Options=idmap=user,workaround=rename
$ systemctl --user start home-devkid-Mounts-eeets.mount
Job for home-devkid-Mounts-eeets.mount failed. See "systemctl status
home-devkid-Mounts-eeets.mount" and "journalctl -xe" for details.
$ journalctl -xe
Dez 22 18:41:32 desktop systemd[1887]: Mounting /home/devkid/Mounts/eeets...
-- Subject: Unit UNIT has begun with start-up
-- Defined-By: systemd
-- Support: <a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a>
--
-- Unit UNIT has begun starting up.
Dez 22 18:41:32 desktop systemd[1887]: home-devkid-Mounts-eeets.mount mount
process exited, code=exited status=1
Dez 22 18:41:32 desktop systemd[1887]: Failed to mount
/home/devkid/Mounts/eeets.
-- Subject: Unit UNIT has failed
-- Defined-By: systemd
-- Support: <a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a>
--
-- Unit UNIT has failed.
--
-- The result is failed.
Dez 22 18:41:32 desktop systemd[1887]: Unit home-devkid-Mounts-eeets.mount
entered failed state.
Dez 22 18:41:32 desktop mount[5648]: mount: nur »root« kann die Option
»--no-mtab« verwenden</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>