<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 --- - systemd-nspawn fails to start dirty rootfs"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=68369">68369</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>systemd-nspawn fails to start dirty rootfs
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>maxposedon@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </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>systemd-nspawn has problems to start, when rootfs is dirty on some journal file
check. Its easy to catch with btrfs snapshots (see below). And when journal is
deleted it starts just fine.

m_melnikau-M11xR3 max_posedon # btrfs subvolume snapshot / /.tmp
Create a snapshot of '/' in '//.tmp'

m_melnikau-M11xR3 max_posedon # systemd-nspawn -D /.tmp -b
Spawning namespace container on /.tmp (console is /dev/pts/4).
Init process in the container running as PID 3928.
/etc/localtime is not a symlink, not updating container timezone.
/.tmp/var/log/journal/be1598bd68baa268cb48e33d0000000f not empty.
Container failed with error code 1

m_melnikau-M11xR3 max_posedon # rm -rf
/.tmp/var/log/journal/be1598bd68baa268cb48e33d0000000f 

m_melnikau-M11xR3 max_posedon # systemd-nspawn -D /.tmp -b                      
Spawning namespace container on /.tmp (console is /dev/pts/4).
Init process in the container running as PID 4096.
/etc/localtime is not a symlink, not updating container timezone.
systemd 206 running in system mode. (+PAM +LIBWRAP -AUDIT -SELINUX +IMA
-SYSVINIT -LIBCRYPTSETUP +GCRYPT +ACL +XZ)
Detected virtualization 'systemd-nspawn'.

Welcome to Gentoo/Linux!

Set hostname to <m_melnikau-M11xR3>.</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>