all messages for Guix-related lists mirrored at yhetil.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

* bug#27146: system init: if /etc doesn't exist, create it
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2017-08-02 22:37 UTC (permalink / raw)
  To: ng0; +Cc: 27146-done

ng0 <ng0@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’.

^ 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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.