From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#27146: system init: if /etc doesn't exist, create it Date: Thu, 03 Aug 2017 00:37:37 +0200 Message-ID: <87d18dr3ym.fsf@gnu.org> References: <20170530131329.7pmus43ig53ah7lb@abyayala> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dd2HF-0008Uk-HV for bug-guix@gnu.org; Wed, 02 Aug 2017 18:38:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dd2HC-0003R5-Am for bug-guix@gnu.org; Wed, 02 Aug 2017 18:38:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36376) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dd2HC-0003Qn-6y for bug-guix@gnu.org; Wed, 02 Aug 2017 18:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dd2HC-0007DP-0j for bug-guix@gnu.org; Wed, 02 Aug 2017 18:38:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <20170530131329.7pmus43ig53ah7lb@abyayala> (ng0@pragmatique.xyz's message of "Tue, 30 May 2017 13:13:29 +0000") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: ng0 Cc: 27146-done@debbugs.gnu.org ng0 skribis: > I had the unfortunate experience of remote fixing a system, > and one way I tried to fix my original problem was to > remove the /etc directory (this included the content of > debian 8 with some alternative changes to the minimal > one I did not set up myself). > When I rebooted, this is still at activation of the first > system generation, I get the repl because the symlink > target does not exist (obviously). > > We should think of such situations, however uncommon they are, > and check if /etc exists. If it doesn't exist create it > otherwise it is assumed that it exists and for example > this symlink creation will work: ssl -> /run/current-system/profile/etc/s= sl Indeed, fixed in 49962b15a1c4e72a55b6cf273806d203906de2ed. Thanks, Ludo=E2=80=99.