<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Issues during boot with automounts"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=71483#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Issues during boot with automounts"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=71483">bug 71483</a>
              from <span class="vcard"><a class="email" href="mailto:david@davidstrauss.net" title="David Strauss <david@davidstrauss.net>"> <span class="fn">David Strauss</span></a>
</span></b>
        <pre>Here are the unit files that should work fine. One thing I've newly noticed is
that manually starting the automount from SSH not only makes it start fine; it
also starts properly on its own during subsequent boots.

These are not the ones that hang. I'll post those, too.

I have 12 of these: var-tmp-1 through var-tmp-12



[root@systemd-f19 ~]# cat /etc/systemd/system/var-tmp-1.automount
[Unit]
Description=test automounter 1

[Automount]
Where=/var/tmp/1
DirectoryMode=0770

[Install]
WantedBy=multi-user.target



[root@systemd-f19 ~]# cat /etc/systemd/system/var-tmp-1.mount
[Unit]
Requires=var-tmp-1.automount
After=var-tmp-1.automount

[Mount]
What=/usr/bin
Where=/var/tmp/1
Options=bind



[root@systemd-f19 ~]# systemctl status var-tmp-3.automount
var-tmp-3.automount - test automounter 3
   Loaded: loaded (/etc/systemd/system/var-tmp-3.automount; enabled)
   Active: failed (Result: resources)
    Where: /var/tmp/3</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>