From: ng0 <ng0@pragmatique.xyz>
To: 27146@debbugs.gnu.org
Subject: bug#27146: system init: if /etc doesn't exist, create it
Date: Tue, 30 May 2017 13:13:29 +0000 [thread overview]
Message-ID: <20170530131329.7pmus43ig53ah7lb@abyayala> (raw)
[-- Attachment #1: Type: text/plain, Size: 727 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next reply other threads:[~2017-05-30 13:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-30 13:13 ng0 [this message]
2017-08-02 22:37 ` bug#27146: system init: if /etc doesn't exist, create it Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170530131329.7pmus43ig53ah7lb@abyayala \
--to=ng0@pragmatique.xyz \
--cc=27146@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).