Bug#756551: systemd-nspawn: Host and machine ids are equal - refusing to link journals

Michael Biebl biebl at debian.org
Thu Aug 21 04:17:24 BST 2014


Am 30.07.2014 22:20, schrieb Major Hayden:
> Package: systemd
> Version: 208-6
> Severity: normal
> 
> Dear Maintainer,
> 
> I have a KVM virtual machine and I'm trying to run a systemd-nspawn container within that virtual machine.  Whenever I try to start the container using systemd (systemctl start systemd-nspawn@[containername]), the container fails to start.  The following appears in the system journal:
> 
> Jul 30 19:19:55 debian systemd-nspawn[16026]: Failed to symlink /var/lib/container/compute/var/log/journal/68b90f1c373df91c895d11ec53d9428b to /var/log/journal/68b90f1c373df91c895d11ec53d9428b: No such file or directory
> Jul 30 19:19:55 debian systemd-nspawn[16026]: Container failed with error code 1.
> Jul 30 19:19:55 debian systemd[1]: systemd-nspawn at compute.service: main process exited, code=exited, status=1/FAILURE
> Jul 30 19:19:55 debian systemd[1]: Unit systemd-nspawn at compute.service entered failed state.
> 
> The systemd instance inside the container is attempting to use the same UUID for the machine-id as the parent KVM virtual machine.  This bug affects Red Hat Enterprise Linux 7 as well:
> 
>   https://bugzilla.redhat.com/show_bug.cgi?id=1123452
> 
> There's a relevant email thread from Lennart with a possible fix:
> 
> https://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg18617.html
> http://cgit.freedesktop.org/systemd/systemd/commit/?id=0b36bbc42d3a408531517a02acaf56105b863d55

The Debian package already contains this particular commit.

Please double check if you can actually reproduce the problem with an
up-to-date jessie or sid system in your kvm instance and nspawn chroot.


[1]
http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/patches/machine-id-only-look-into-KVM-uuid-when-we-are-not-r.patch

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20140821/e0d7be7e/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list