[systemd-bugs] [Bug 68369] New: systemd-nspawn fails to start dirty rootfs

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 20 23:48:02 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=68369

          Priority: medium
            Bug ID: 68369
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: systemd-nspawn fails to start dirty rootfs
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: maxposedon at gmail.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

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>.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20130821/84ec999d/attachment.html>


More information about the systemd-bugs mailing list