all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: help-guix <help-guix@gnu.org>
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: Re: Putting a file into system image ~user/ but not on reconfigure
Date: Thu, 17 Aug 2023 21:30:24 +0200	[thread overview]
Message-ID: <d9cd1802-eaca-2715-7733-494787f15b5f@crazy-compilers.com> (raw)
In-Reply-To: <ZNjvhS9T2uwf8Yz6@pbp>

Hello Efraim,

Am 13.08.23 um 16:58 schrieb Efraim Flashner:
> I feel compelled to ask if the key must be in
> ~vagrant/.ssh/authorized_keys or if /etc/ssh/authorized_keys.d/vagrant
> is acceptable.

I'm afraid it needs to be in ~vagrant/.ssh/authorized_keys: When first 
booting the machine, Vagrant logs into it and replaces the key. Thus the 
user vagrant must be allowed to change the respective file.

Why are you asking? What would be easier (in respect of not 
re-installing the key), if putting the key into 
/etc/ssh/authorized_keys.d/vagrant would work?

> Also, could you use /etc/services or another file in /etc/static as a
> marker that the system has been booted at least once before?

Such a marker would be okay. Anyhow to make this work, some respective 
new service would need to detect this quite early, before /etc/service 
gets linked. Otherwise the service could not distinguish between "first" 
and "at least once"- Or did I misse something?

Is there some means of ordering service execution/start?

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          |h.goebel@crazy-compilers.com                |
|www.crazy-compilers.com  | compilers which you thought are impossible |



  reply	other threads:[~2023-08-17 19:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-09 22:11 Putting a file into system image ~user/ but not on reconfigure Hartmut Goebel
2023-08-10 12:12 ` wolf
2023-08-10 12:38   ` Hartmut Goebel
2023-08-13 14:58     ` Efraim Flashner
2023-08-17 19:30       ` Hartmut Goebel [this message]
2023-08-18 12:53         ` Efraim Flashner
2023-08-24 18:57           ` Hartmut Goebel

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d9cd1802-eaca-2715-7733-494787f15b5f@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=efraim@flashner.co.il \
    --cc=help-guix@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 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.