[systemd-bugs] [Bug 87428] New: systemd-nspawn: restarting systemd-nspawn@ container fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 17 17:05:52 PST 2014


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

            Bug ID: 87428
           Summary: systemd-nspawn: restarting systemd-nspawn@ container
                    fails
           Product: systemd
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: net147 at gmail.com
        QA Contact: systemd-bugs at lists.freedesktop.org

Using systemd 218 from [testing] repository on Arch Linux x86_64.

# mkdir /var/lib/container/test
# pacstrap -i -c -d /var/lib/container/test base
# systemctl start systemd-nspawn at test
# systemctl status systemd-nspawn at testsystemd-nspawn at test.service - Container test
   Loaded: loaded (/usr/lib/systemd/system/systemd-nspawn at .service; disabled;
vendor preset: disabled)
   Active: active (running) since Thu 2014-12-18 11:58:15 EST; 4s ago
     Docs: man:systemd-nspawn(1)
 Main PID: 9629 (systemd-nspawn)
   Status: "Container running."
   CGroup:
/system.slice/system-systemd\x2dnspawn.slice/systemd-nspawn at test.service
           ├─9629 /usr/bin/systemd-nspawn --quiet --keep-unit --boot
--link-journal=try-guest --directory=/var/lib/container/test
           ├─9630 /usr/lib/systemd/systemd
           └─system.slice
             ├─dbus.service
             │ └─9669 /usr/bin/dbus-daemon --system --address=systemd: --nofork
--nopidfile --systemd-activation
             ├─systemd-journald.service
             │ └─9645 /usr/lib/systemd/systemd-journald
             ├─systemd-logind.service
             │ └─9668 /usr/lib/systemd/systemd-logind
             └─console-getty.service
               └─9673 /sbin/agetty --noclear --keep-baud console 115200 38400
9600 vt102

Dec 18 11:58:16 arch systemd-nspawn[9629]: Starting Cleanup of Temporary
Directories...
Dec 18 11:58:16 arch systemd-nspawn[9629]: [  OK  ] Started Login Service.
Dec 18 11:58:16 arch systemd-nspawn[9629]: [  OK  ] Started Permit User
Sessions.
Dec 18 11:58:16 arch systemd-nspawn[9629]: Starting Console Getty...
Dec 18 11:58:16 arch systemd-nspawn[9629]: [  OK  ] Started Console Getty.
Dec 18 11:58:16 arch systemd-nspawn[9629]: [  OK  ] Reached target Login
Prompts.
Dec 18 11:58:16 arch systemd-nspawn[9629]: [  OK  ] Reached target Multi-User
System.
Dec 18 11:58:16 arch systemd-nspawn[9629]: [  OK  ] Reached target Graphical
Interface.
Dec 18 11:58:16 arch systemd-nspawn[9629]: [  OK  ] Started Cleanup of
Temporary

# machinectl reboot test
# systemctl status systemd-nspawn at testsystemd-nspawn at test.service - Container test
   Loaded: loaded (/usr/lib/systemd/system/systemd-nspawn at .service; disabled;
vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:systemd-nspawn(1)

Dec 18 11:59:56 arch systemd-nspawn[9629]: [  OK  ] Stopped target Local File
Systems (Pre).
Dec 18 11:59:56 arch systemd-nspawn[9629]: Stopping Remount Root and Kernel
File Systems...
Dec 18 11:59:56 arch systemd-nspawn[9629]: [  OK  ] Stopped Remount Root and
Kernel File Systems.
Dec 18 11:59:56 arch systemd-nspawn[9629]: [  OK  ] Started Generate
shutdown-ramfs.
Dec 18 11:59:56 arch systemd-nspawn[9629]: [  OK  ] Reached target Shutdown.
Dec 18 11:59:56 arch systemd-nspawn[9629]: Sending SIGTERM to remaining
processes...
Dec 18 11:59:56 arch systemd-nspawn[9629]: Sending SIGKILL to remaining
processes...
Dec 18 11:59:56 arch systemd-nspawn[9629]: Rebooting.
Dec 18 11:59:56 arch systemd[1]: Stopping Container test...
Dec 18 11:59:56 arch systemd[1]: Stopped Container test.

-- 
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/20141218/ef9598f4/attachment.html>


More information about the systemd-bugs mailing list