<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><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">71483</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Issues during boot with automounts
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>critical
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>david@davidstrauss.net
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=89008" name="attach_89008" title="Screenshot of boot with bar Requires= in VM console">attachment 89008</a> <a href="attachment.cgi?id=89008&action=edit" title="Screenshot of boot with bar Requires= in VM console">[details]</a></span>
Screenshot of boot with bar Requires= in VM console

Initially, I thought this was a performance issue with the CGroups refactoring
in v205+, but I'm seeing more curious things now. This is with master as of
2bba9a57e795ba873b76d8a63a743807d70b1603.

With 12 mount + automount pairs, boot hangs for 60 seconds *each* on the first
five of them if there's a misconfigured dependency.

Attachments:

 * A screenshot of VM console bootup (non-debug). This shows the 60 second
delay for each of those five automounts.
 * A non-debug log from journalctl --boot. Note that there's a time gap of 60 *
5 seconds.
 * A debug log (using "debug" in the kernel options) from journalctl --boot.

The bizarre thing is that the delay doesn't occur in debug mode.

If I fix the mounts to be correct, I don't get a boot delay, but the automounts
still don't work after initial boot. This is the more critical issue, but I'm
not sure if it's related to the first.

[root@systemd-f19 ~]# systemctl status var-tmp-1.automount
var-tmp-1.automount - test automounter 1
   Loaded: loaded (/etc/systemd/system/var-tmp-1.automount; enabled)
   Active: failed (Result: resources)
    Where: /var/tmp/1

[root@systemd-f19 ~]# systemctl start var-tmp-1.automount
[root@systemd-f19 ~]# systemctl status var-tmp-1.automount
var-tmp-1.automount - test automounter 1
   Loaded: loaded (/etc/systemd/system/var-tmp-1.automount; enabled)
   Active: active (waiting) since Mon 2013-11-11 02:50:55 PST; 1s ago
    Where: /var/tmp/1

Nov 11 02:50:55 systemd-f19 systemd[1]: Set up automount test automounter 1.</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>