unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Eddy Pronk <epronk@muftor.com>
Cc: guix-devel@gnu.org, David Thompson <davet@gnu.org>
Subject: Re: guixsd in lxd container
Date: Mon, 19 Jun 2017 13:41:06 +0200	[thread overview]
Message-ID: <874lvcyzl9.fsf@gnu.org> (raw)
In-Reply-To: <CAErGuQhemzYJff25ccKj1V4KgiSGs=xZgt7uBXtBvAw+b-FWEw@mail.gmail.com> (Eddy Pronk's message of "Fri, 16 Jun 2017 22:21:59 +1000")

Hi Eddy,

Sorry for the delay.

Eddy Pronk <epronk@muftor.com> skribis:

> On Mon, Jun 12, 2017 at 6:26 AM, Ludovic Courtès <ludo@gnu.org> wrote:
>>> I had to comment out some snippets from activation.scm:
>>>
>>> ;; activate-modprobe
>>> ;; activate-firmware
>>> ;; activate-ptrace-attach
>>
>> Yeah, ‘guix system container’ does that too:
>>
>>   http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/system.scm#n418
>>   http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services.scm#n466
>>
>> I think we should look for ways that would allow you to reuse what ‘guix
>> system container’ does.
>
> Shall I open a bug for this so it can be tracked?

Before, I’d like to make sure we have a good understanding of what we
need.

My first question would be, do we really need to have a mechanism other
than ‘guix system container’?  I guess that if the host system runs LXD,
it’s better to use it than to spawn the script that ‘guix system
container’ generates.

In that case, what about adding an LXD backend to ‘guix system
container’?  AIUI LXD has a REST API¹; by doing a POST on /1.0/images,
we should be able to register our container image, though it’s not clear
to me what image format is expected.  If we can figure out these
details, it might not be that hard to implement.

Dave, there’s also some overlap with your work on ‘guix deloy’ I think.
Thoughts?

Ludo’.

¹ https://github.com/lxc/lxd/blob/master/doc/rest-api.md

  reply	other threads:[~2017-06-19 11:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-07 13:08 guixsd in lxd container Eddy Pronk
2017-06-09 21:54 ` Ludovic Courtès
2017-06-10  4:53   ` Eddy Pronk
2017-06-10  5:30     ` Jan Nieuwenhuizen
2017-06-11 20:26     ` Ludovic Courtès
2017-06-16 12:21       ` Eddy Pronk
2017-06-19 11:41         ` Ludovic Courtès [this message]
2017-06-20 12:35           ` Eddy Pronk

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=874lvcyzl9.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=davet@gnu.org \
    --cc=epronk@muftor.com \
    --cc=guix-devel@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).