unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27146: system init: if /etc doesn't exist, create it
@ 2017-05-30 13:13 ng0
  2017-08-02 22:37 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: ng0 @ 2017-05-30 13:13 UTC (permalink / raw)
  To: 27146

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-02 22:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-30 13:13 bug#27146: system init: if /etc doesn't exist, create it ng0
2017-08-02 22:37 ` Ludovic Courtès

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).