chiark / gitweb /
nspawn: complain and continue if machine has same id
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 12 Dec 2013 03:00:33 +0000 (22:00 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 12 Dec 2013 03:39:41 +0000 (22:39 -0500)
commit4d680aeea1e479f08f3dbdb7430def5d9eefe2ee
tree8fd1e3c149131c552dffa7d6d7fc2f5f1bf4893c
parent50f72bca65ad291685e5b79903cb6ac3fbc8364d
nspawn: complain and continue if machine has same id

If --link-journal=host or --link-journal=guest is used, this totally
cannot work and we exit with an error. If however --link-journal=auto
or --link-journal=no is used, just display a warning.

Having the same machine id can happen if booting from the same
filesystem as the host. Since other things mostly function correctly,
let's allow that.

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