GNU bug report logs - #27146
system init: if /etc doesn't exist, create it

Previous Next

Package: guix;

Reported by: ng0 <ng0 <at> pragmatique.xyz>

Date: Tue, 30 May 2017 13:15:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27146 in the body.
You can then email your comments to 27146 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#27146; Package guix. (Tue, 30 May 2017 13:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ng0 <ng0 <at> pragmatique.xyz>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 30 May 2017 13:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ng0 <ng0 <at> pragmatique.xyz>
To: bug-guix <at> gnu.org
Subject: system init: if /etc doesn't exist, create it
Date: Tue, 30 May 2017 13:13:29 +0000
[Message part 1 (text/plain, inline)]
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/ssl

-- 
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
[signature.asc (application/pgp-signature, inline)]

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Wed, 02 Aug 2017 22:38:01 GMT) Full text and rfc822 format available.

Notification sent to ng0 <ng0 <at> pragmatique.xyz>:
bug acknowledged by developer. (Wed, 02 Aug 2017 22:38:02 GMT) Full text and rfc822 format available.

Message #10 received at 27146-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: ng0 <ng0 <at> pragmatique.xyz>
Cc: 27146-done <at> debbugs.gnu.org
Subject: Re: bug#27146: system init: if /etc doesn't exist, create it
Date: Thu, 03 Aug 2017 00:37:37 +0200
ng0 <ng0 <at> pragmatique.xyz> 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/ssl

Indeed, fixed in 49962b15a1c4e72a55b6cf273806d203906de2ed.

Thanks,
Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 31 Aug 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 233 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.