From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 04:15:58 2017 Received: (at 28772) by debbugs.gnu.org; 12 Oct 2017 08:15:58 +0000 Received: from localhost ([127.0.0.1]:34834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2Yes-0005qL-1k for submit@debbugs.gnu.org; Thu, 12 Oct 2017 04:15:58 -0400 Received: from mail-lf0-f41.google.com ([209.85.215.41]:46261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2Yeq-0005q6-AQ for 28772@debbugs.gnu.org; Thu, 12 Oct 2017 04:15:56 -0400 Received: by mail-lf0-f41.google.com with SMTP id g70so5033209lfl.3 for <28772@debbugs.gnu.org>; Thu, 12 Oct 2017 01:15:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=66mvBZ8mLKWg3ZWtBCqDltNvEA4XcgYQGHGeaRIX6UI=; b=q1B8EGgrr1S7zGTfhyUiCobzUCzmW1LYgvCS0uNjQdiSjK6LyzfbWGZ8H1riLrjX6u Xmd/HNGA1ixxLcWF3pIgj0GfXerKt+hczu8di+yL15flSbFd8JOIC5LPiCzJPUf9G/pG JsQvBE3XnzLtFWSTvCKt5MrxtTTLALypn/x2n8aqrVB1dk4Jm4s5KhhH+xvPkOF47DK/ +l4tZczgk/uiOH+VAhGuX9n9K8QOmpc2ion3DsqGAK7mC+isNer7bnHG5chZ9JNoAZqk Utc6FOwwxE6YuMjonbdXg5juVkOL3imfg4sddT/ah/FbqDHSdEdC/qKtgevdDwSA4BiW hk4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=66mvBZ8mLKWg3ZWtBCqDltNvEA4XcgYQGHGeaRIX6UI=; b=kZvU99On89MHIiaFZxt1jY4ZI3OogBZW7Pz467qXfOfZpJerglpWBgQfLtQbHW651R SCfElqQMUVFU8Ws+F2ycTbx7lvqFKAQMaIOPwDMjpGNSph1RwODBx4XlQR+U2q2iwU1a qaRuNeHSQs2s6bg6dbT8SVwJqL34kvnmKNT5Ak+RjvQS53PDGQ7yrmV2yX/yQHTW1/SL O4aSNxQsul5jnKIO+OXwj9aYy5JFhMB9+n9RpwHZ6DJ1gAA2wSvVTgQIgax25dm+1QNZ ydIwBqhGrH0HTW6fG+peEAWz43maeOt+R8m5lrDFaqGwXu/G69sF+AmRIH9zYua8qn/t /YPQ== X-Gm-Message-State: AMCzsaXlMwP2xDSbnEobhU0xjRXaP2V+5SN64hfw6mmKMfPhN4mVKY2k 7HLzB29ICzHOBIWtadSD+pYoEg== X-Google-Smtp-Source: AOwi7QBi/CxOrNd3VRZSdlISLxWJuH/94Jymga3ERMNKh2SqX/tuiFaapekLY3bdYDSIOLADMe4uVA== X-Received: by 10.46.7.2 with SMTP id 2mr759761ljh.120.1507796150163; Thu, 12 Oct 2017 01:15:50 -0700 (PDT) Received: from magnolia (ppp91-122-82-19.pppoe.avangarddsl.ru. [91.122.82.19]) by smtp.gmail.com with ESMTPSA id h19sm386054ljb.30.2017.10.12.01.15.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Oct 2017 01:15:49 -0700 (PDT) From: Oleg Pykhalov To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#28772: guix system reconfigure after kernel panic user or group not created References: <8760bnh7os.fsf@gmail.com> <87d15vm2t8.fsf@gnu.org> <87r2u9fvpz.fsf@gmail.com> <871sm8ssru.fsf@gnu.org> Date: Thu, 12 Oct 2017 11:15:48 +0300 In-Reply-To: <871sm8ssru.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 12 Oct 2017 09:57:09 +0200") Message-ID: <87o9pceq8b.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 28772 Cc: 28772@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) Hello Ludovic, ludo@gnu.org (Ludovic Court=C3=A8s) writes: [...] > I think we can avoid the problem by forcefully removing these two lock > files at boot time: > > diff --git a/gnu/services.scm b/gnu/services.scm > index 329b7b151..2ef1d8530 100644 > --- a/gnu/services.scm > +++ b/gnu/services.scm > @@ -368,6 +368,8 @@ boot." > #t)))) > ;; Ignore I/O errors so the system can boot. > (fail-safe > + (delete-file "/etc/group.lock") > + (delete-file "/etc/passwd.lock") > (delete-file-recursively "/tmp") > (delete-file-recursively "/var/run") > (mkdir "/tmp") > > There is also a '/etc/.pwd.lock'. Info about this file https://lists.debian.org/debian-user/2005/07/msg02949.html I'm not sure if any files are exist. Days past after reconfigure failure. $ sudo find /etc -name '*.lock' # Shows nothing. [...] > IOW, shepherd caught the exceptions and didn=E2=80=99t die. > > What am I missing? I'll try to make a reproducible thing later. Thanks, Oleg.