<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 automatically unmounts fuse file systems with default names"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90907">90907</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>systemd automatically unmounts fuse file systems with default names
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (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>jacobsa@google.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The default name for a file system mounted using fusermount without setting the
fsname option is "/dev/fuse". This interacts poorly with systemd, which appears
to think that it should automatically unmount any such file system.

For example, [1] is a bug thread for a fuse library whose tests are affected by
this. They are flaky on Ubuntu 15.04, often seeing that the file system has
been unmounted out from underneath them. This looks like the following in
/var/syslog:

    Jun  8 06:39:41 ubuntu systemd[1]: Unit tmp-fusetest301566509.mount is
bound to inactive unit dev-fuse.device. Stopping, too.
    Jun  8 06:39:41 ubuntu systemd[1]: Unmounting /tmp/fusetest301566509...

If the tests are modified to set an fsname option, this behavior goes away.
That is a fine workaround, but given the default behavior of fusermount these
tests will not be the last to trip over this.

I am far from a systemd expert, so I'm not confident what the correct answer is
here. But at first glance it seems rude for systemd to be interfering with fuse
file systems with default names.

[1]: <a href="https://github.com/bazil/fuse/issues/89">https://github.com/bazil/fuse/issues/89</a></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>