[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 1895053] Re: Cannot nspawn raspbian 10 [FAILED] Failed to start Jou
From: |
Laurent Vivier |
Subject: |
[Bug 1895053] Re: Cannot nspawn raspbian 10 [FAILED] Failed to start Journal Service. |
Date: |
Thu, 10 Sep 2020 17:47:52 -0000 |
I'm sorry, it works fine for me on Fedora 32 with qemu built from GIT
v5.1.0.
$ uname -r
5.8.4-200.fc32.x86_64
wget https://downloads.raspberrypi.org/raspios_lite_armhf_latest
mv raspios_lite_armhf_latest raspios_lite_armhf_latest.zip
unzip raspios_lite_armhf_latest.zip
modprobe loop max_part=8
mkdir root
sudo losetup -f 2020-08-20-raspios-buster-armhf-lite.img
sudo mount /dev/loop0p2 root
sudo mount /dev/loop0p1 root/boot
sudo systemd-nspawn -D root --boot --bind
$HOME/Objects/qemu/linux-user/qemu-arm:/qemu-arm
Spawning container root on /raspios/root.
Press ^] three times within 1s to kill container.
systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK
+SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID
+ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
Detected virtualization systemd-nspawn.
Detected architecture arm.
Welcome to Raspbian GNU/Linux 10 (buster)!
....
Raspbian GNU/Linux 10 raspberrypi console
raspberrypi login: pi
Password:
Last login: Thu Sep 10 19:40:15 CEST 2020 on pts/0
Linux raspberrypi 5.8.4-200.fc32.x86_64 #1 SMP Wed Aug 26 22:28:08 UTC 2020
armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
pi@raspberrypi:~ $ /qemu-arm -version
qemu-arm version 5.1.0 (v5.1.0)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers
pi@raspberrypi:~ $
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1895053
Title:
Cannot nspawn raspbian 10 [FAILED] Failed to start Journal Service.
Status in QEMU:
New
Bug description:
Hi, I'm using nspawn and asked the question @systemd-devel. They redirected
me to you, guessing that nspawn calls a syscall or ioctl qemu isnt aware of and
can't implement properly?
They were like: "Sorry, that's not my department." ^^
Maybe you can reproduce the issue or help me investigating whats wrong
or put the ball right back into their court? :D
Testscript:
wget https://downloads.raspberrypi.org/raspios_lite_armhf_latest -o r.zip
unzip r.zip
LOOP=$(losetup --show -Pf *raspios-buster-armhf-lite.img)
mount ${LOOP}p2 /mnt
mount ${LOOP}p1 /mnt/boot
systemd-nspawn --bind /usr/bin/qemu-arm-static --boot --directory=/mnt --
systemd.log_level=debug
Output:
see attachment
System:
uname -a
Linux MArch 5.8.7-arch1-1 #1 SMP PREEMPT Sat, 05 Sep 2020 12:31:32 +0000
x86_64 GNU/Linux
qemu-arm-static --version
qemu-arm version 5.1.0
systemd-nspawn --version
systemd 246 (246.4-1-arch)
+PAM +AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP
+GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN
+PCRE2 default-hierarchy=hybrid
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1895053/+subscriptions
- [Bug 1895053] [NEW] Cannot nspawn raspbian 10 [FAILED] Failed to start Journal Service., Petunia, 2020/09/09
- [Bug 1895053] Re: Cannot nspawn raspbian 10 [FAILED] Failed to start Journal Service., Laurent Vivier, 2020/09/10
- [Bug 1895053] Re: Cannot nspawn raspbian 10 [FAILED] Failed to start Journal Service., Laurent Vivier, 2020/09/10
- [Bug 1895053] Re: Cannot nspawn raspbian 10 [FAILED] Failed to start Journal Service., Petunia, 2020/09/10
- [Bug 1895053] Re: Cannot nspawn raspbian 10 [FAILED] Failed to start Journal Service., Petunia, 2020/09/10
- [Bug 1895053] Re: Cannot nspawn raspbian 10 [FAILED] Failed to start Journal Service.,
Laurent Vivier <=
- [Bug 1895053] Re: Cannot nspawn raspbian 10 [FAILED] Failed to start Journal Service., Laurent Vivier, 2020/09/10
- [Bug 1895053] Re: Cannot nspawn raspbian 10 [FAILED] Failed to start Journal Service., Petunia, 2020/09/11
- [Bug 1895053] Re: Cannot nspawn raspbian 10 [FAILED] Failed to start Journal Service., Laurent Vivier, 2020/09/11
- [Bug 1895053] Re: Cannot nspawn raspbian 10 [FAILED] Failed to start Journal Service., Petunia, 2020/09/13
- [Bug 1895053] Re: Cannot nspawn raspbian 10 [FAILED] Failed to start Journal Service., Laurent Vivier, 2020/09/13
- [Bug 1895053] Re: Cannot nspawn raspbian 10 [FAILED] Failed to start Journal Service., Petunia, 2020/09/13
- [Bug 1895053] Re: Cannot nspawn raspbian 10 [FAILED] Failed to start Journal Service., Laurent Vivier, 2020/09/14
- [Bug 1895053] Re: Cannot nspawn raspbian 10 [FAILED] Failed to start Journal Service., Petunia, 2020/09/14
- [Bug 1895053] Re: Cannot nspawn raspbian 10 [FAILED] Failed to start Journal Service., Paul Zimmerman, 2020/09/14