From 07a60cc13c48c5f79616b07aad2808bfe809de22 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 22 Oct 2014 20:29:25 +0200 Subject: [PATCH] firstboot: don't prohibit re-generating the machine id on the current root fs If it really is missing it should be safe to create it. Also see: http://lists.freedesktop.org/archives/systemd-devel/2014-August/022726.html --- src/firstboot/firstboot.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/firstboot/firstboot.c b/src/firstboot/firstboot.c index 6b0d2fc86..93273d903 100644 --- a/src/firstboot/firstboot.c +++ b/src/firstboot/firstboot.c @@ -451,9 +451,6 @@ static int process_machine_id(void) { if (faccessat(AT_FDCWD, etc_machine_id, F_OK, AT_SYMLINK_NOFOLLOW) >= 0) return 0; - if (!arg_root) - return 0; - if (sd_id128_equal(arg_machine_id, SD_ID128_NULL)) return 0; -- 2.30.2