GNU bug report logs - #53912
[PATCH 0/5] WIP Add WSL support.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Alex Griffin <a@HIDDEN>; Keywords: patch; Done: Mathieu Othacehe <othacehe@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 53912-done <at> debbugs.gnu.org:


Received: (at 53912-done) by debbugs.gnu.org; 25 Sep 2022 11:56:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 25 07:56:40 2022
Received: from localhost ([127.0.0.1]:46047 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocQFT-0002fn-Td
	for submit <at> debbugs.gnu.org; Sun, 25 Sep 2022 07:56:40 -0400
Received: from eggs.gnu.org ([209.51.188.92]:42140)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1ocQFS-0002fZ-9X
 for 53912-done <at> debbugs.gnu.org; Sun, 25 Sep 2022 07:56:38 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:37146)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>)
 id 1ocQFM-0001Qq-Rq; Sun, 25 Sep 2022 07:56:32 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=jfQnABW3H0jMFubPDmONBdu6Bxetorp3RNk59owgbZQ=; b=lhXMOXUTfOU5kOzfOaqr
 FzG5aBIsCQ5WzFs37KXimcIxjImjZ2oP8R+zBLRCCNYs3EiskrKW0lYUXx31xfNhFBWfDye1crUZK
 rIA+HCcw7Nc0HqhAQ6ol5bhLaXo5oGbWWaUGZyOBgESBLH4ewBBq34ZsRBoWVrRIQ8/mNjBabX9cS
 rE5jIIbgm0Ahu9IeGWYZevMTX0vFtY7M5ulnvIBc9hnPpQ22Hu/XZeLfQT7WwFqs4a3XzfnIKwk8n
 MFn3B0sl4Eozt88jV/G/MnFHqNoSv0vD3acwRswtt+JRxrEPAyuFzyYdHH6NkFkQTt9VvFRYsMk5S
 GHB4ezyFxRHx/w==;
Received: from 2a02-8429-81d2-3d01-94c9-8097-ea5c-2775.rev.sfr.net
 ([2a02:8429:81d2:3d01:94c9:8097:ea5c:2775]:55498 helo=meije)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>)
 id 1ocQFM-0002oO-8P; Sun, 25 Sep 2022 07:56:32 -0400
From: Mathieu Othacehe <othacehe@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#53912: [PATCH 0/5] WIP Add WSL support.
References: <875ypndznv.fsf@HIDDEN> <87czhnkilq.fsf@HIDDEN>
 <87wnaa2j86.fsf_-_@HIDDEN>
Date: Sun, 25 Sep 2022 13:56:29 +0200
In-Reply-To: <87wnaa2j86.fsf_-_@HIDDEN> (Mathieu Othacehe's message of "Sun, 
 11 Sep 2022 14:23:05 +0200")
Message-ID: <87k05rk6qa.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53912-done
Cc: 53912-done <at> debbugs.gnu.org, Alex Griffin <a@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


Hey,

> Tested all of it by creating a WSL image with some web services (nginx,
> tailon), they are started by Shepherd in the WSL and accessible from
> Windows.

And pushed, with a documentation update. I'll come up with a blog post
in the next coming days.

Thanks,

Mathieu




Notification sent to Alex Griffin <a@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Mathieu Othacehe <othacehe@HIDDEN>:
You have taken responsibility. Full text available.

Message received at 53912 <at> debbugs.gnu.org:


Received: (at 53912) by debbugs.gnu.org; 11 Sep 2022 12:23:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 11 08:23:16 2022
Received: from localhost ([127.0.0.1]:41049 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oXLzX-0003BF-NR
	for submit <at> debbugs.gnu.org; Sun, 11 Sep 2022 08:23:16 -0400
Received: from eggs.gnu.org ([209.51.188.92]:42668)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1oXLzW-0003B0-Dd
 for 53912 <at> debbugs.gnu.org; Sun, 11 Sep 2022 08:23:14 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:54882)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>)
 id 1oXLzQ-0003Ys-QZ; Sun, 11 Sep 2022 08:23:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=8M2UIlZ/PhrGkeFVvUxP4V9tiuDfK8DYfY6BNtDpw3o=; b=Y6JtDP+GQg0z9noMcg0T
 sU6GybkSK6vucGd1TdGLOaMfw16CWAa8M2XBIsfdQi79KB28SQy7if8jkkI2k8h+3olvj7Er4M5es
 azQmyUCFMTPfMkqaurfXfeg0X1Khy3Amu7zTQXUl1252jR1toCbkHZ63zbcOU4P1BNSTB5p0+UVDY
 aKoh2krKg3cvJbyN7Hh1IuG6T+tBZI6d4OLiSRj2SnZbH30K5IlO68XGXq1d89U57zktPeMQy5d6m
 iQnHuNA3X7fYKUsO20zteCS5FQh3uSAhoN3L1/on4Z+/1nYqeWGmba9sUoWQ0zZVR4SwLSYgyl+9J
 c/U2YWdvUkElwA==;
Received: from [2a02:587:1d33:7300:4fa4:945e:237e:7b1f] (port=46320 helo=meije)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>)
 id 1oXLzQ-0005iM-6q; Sun, 11 Sep 2022 08:23:08 -0400
From: Mathieu Othacehe <othacehe@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#53912: [PATCH 0/5] WIP Add WSL support.
References: <875ypndznv.fsf@HIDDEN> <87czhnkilq.fsf@HIDDEN>
Date: Sun, 11 Sep 2022 14:23:05 +0200
In-Reply-To: <87czhnkilq.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Mon, 11 Apr 2022 12:41:21 +0200")
Message-ID: <87wnaa2j86.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53912
Cc: Alex Griffin <a@HIDDEN>, 53912 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


Hey,

> At first sight, it looks mostly ready to me.  What=E2=80=99s missing is a
> section like =E2=80=9CRunning Guix under WSL=E2=80=9D, maybe next to =E2=
=80=9CRunning Guix in a
> VM=E2=80=9D.  WDYT?
>
> Better yet would be a =E2=80=9CSystem Images=E2=80=9D section under =E2=
=80=9CSystem
> Configuration=E2=80=9D, with a subsection dedicated to WSL images.

I added a "System Images" documentation chapter with:
https://issues.guix.gnu.org/57643.

I sent a preliminary patchset to add tarball support here:
https://issues.guix.gnu.org/57680.

I also took most of the comments of this thread into account an pushed a
revised version of this series to wip-image.

In the documentation patchset, there is an "Image Modules" section
describing how to create an image by running "guix system image
gnu/system/images/pine64.scm". Maybe I should also give a more specific
example of how to create a WSL image in that section?

Tested all of it by creating a WSL image with some web services (nginx,
tailon), they are started by Shepherd in the WSL and accessible from
Windows.

Thanks,

Mathieu




Information forwarded to guix-patches@HIDDEN:
bug#53912; Package guix-patches. Full text available.

Message received at 53912 <at> debbugs.gnu.org:


Received: (at 53912) by debbugs.gnu.org; 11 Aug 2022 22:31:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 11 18:31:35 2022
Received: from localhost ([127.0.0.1]:55149 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oMGiE-00040d-OW
	for submit <at> debbugs.gnu.org; Thu, 11 Aug 2022 18:31:35 -0400
Received: from mail-qk1-f181.google.com ([209.85.222.181]:36639)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jaccarmac@HIDDEN>) id 1oMGiB-00040P-9x
 for 53912 <at> debbugs.gnu.org; Thu, 11 Aug 2022 18:31:33 -0400
Received: by mail-qk1-f181.google.com with SMTP id n21so2454907qkk.3
 for <53912 <at> debbugs.gnu.org>; Thu, 11 Aug 2022 15:31:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:to:subject:message-id:date:from
 :mime-version:from:to:cc;
 bh=EVwdLz7J2SEPvREJcX58OHrPKJn+pzklWgfOeqGVBR8=;
 b=bcBuEc+PyY2H6+DAdBTHo4OArHuNGeLnfIZevdom5LNypk2e8RVcwL5HIi+mrKe/pr
 GTiNEdeOFa8QbiyQ+Eygy3TNkJlpfDT19YMNFvVU5k49xnqK8wrkcHNsTBb6iT4M7xxk
 e6YUDFmfU9k16Xbb3fbWxd6rPGh4TyNYs1x6AI/lox8FnrxrVgeCx4s5k0T97Q+uoppc
 Q6IlquqbOWvc1eqted6mYYaV9Yjk+rZ8W39K2g72fzybEagotS9bYQakIMytauxVL6bb
 NfDP0zWLYmPuFG/dssB3gvLQkDPMeYFJxiRdqwZNWhbahcfWe8y/3q9RF/fQFrd5uQsN
 Xs5g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:to:subject:message-id:date:from
 :mime-version:x-gm-message-state:from:to:cc;
 bh=EVwdLz7J2SEPvREJcX58OHrPKJn+pzklWgfOeqGVBR8=;
 b=vF83pItuTJ9DS527U/IdjYe0IGmlmYH6/GF5fQHBpht6pCYxGHGqM8cZKQD3mxZR1k
 clY8ytoC2KRmVkkFEG+6SLL2sgbEz5Lf4paxqf7SnMoQ+p0vBA3ou7iVdFOyC64J9z0b
 gYUpIoj7+EzK7DyF+qvMF8WsMiFRkpqgQNJJERFl2pCcNpQjCtowWRP3pRajAa5n5D6O
 VLaVqwBzc7PvrTMK7FULcEdyheY5uWBuH6hj+IdVYCjS6sKzK3gFomdiH2aN9z8S15Fm
 5HatFYjubBpgPShx6W1p+5bSXuP3jCQDODckVudsQilLH3FgDatJFyvYf5acq2viPZO9
 1QpA==
X-Gm-Message-State: ACgBeo0RpjtGToZdMcHKO02MpmDINHWK2xCFSRsUaQKaNnEkxyMVha9g
 irENZYLu1ug86h/+auibvxjBNumPKte9iYethsNZNXMBtQk=
X-Google-Smtp-Source: AA6agR7a67rvBHOaTDtB4gPHVWHxyIAD44NBlAgjkjOLWwWvIs4TyCBwxNB3wacKu7aQv77proR+ScI22h2g9ucfD00=
X-Received: by 2002:a37:4549:0:b0:6b9:183c:b931 with SMTP id
 s70-20020a374549000000b006b9183cb931mr925043qka.520.1660257085232; Thu, 11
 Aug 2022 15:31:25 -0700 (PDT)
MIME-Version: 1.0
From: Jacob MacDonald <jaccarmac@HIDDEN>
Date: Thu, 11 Aug 2022 17:31:14 -0500
Message-ID: <CACy6W0DVqFrSOayhoTz4Cm8CMKkWuNka4Mfv=60T6iPpR+SdUw@HIDDEN>
Subject: [PATCH 0/5] WIP Add WSL support.
To: 53912 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 53912
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Stefan wrote:

> The problems with sudo etc. in /run/setuid-programs/ stem from the nosuid=
 and noexec flags, which WSL sets when mounting /run as tmpfs.

Do you know if there was a 5.10->5.15 change on that front? I only saw
the issue after upgrading WSL (and not Guix), even though I had to
work around several mount issues getting Guix set up in the first
place.

> This all seems to be far from perfect to me.

It is less than ideal.

> All in all WSL assumes the Filesystem Hierarchie Standard and /etc/enviro=
nment

I do have some workarounds for the issues you mention; No long
examples since that work machine is airgapped, but I'll outline my
setup and can follow up with code. The filesystem standard, Linux and
Guix internals are the areas I'm fuzzy on, relying mostly on
third-party advice and a little bit of common-sense tinkering. It's
possible that something other than the WSL upgrade broke /run, but my
image started with a broken Guix and has undergone several successful
revisions.

> I use a guile script which remounts /run with these flags removed.

> With Windows 11 there is a boot option for the /etc/wsl.config, which mig=
ht be the optimal place for a script to do re-mounts and start shepherd.

That is exactly right based on my experience. My init script doesn't
do any mounts (since the old WSL seemed to let me call sudo just
fine), but it does start as root and make sure the file system is sane
before kicking things off.

> Changing the default user to prevent problems with local drives seems pos=
sible with an /etc/wsl.conf file. But then it will not be possible to use r=
oot=E2=80=99s shell entry for the script anymore.

I never investigated the ownership of /mnt/c/, but it seemed to work
OK in userspace. I could create files or delete/trash them from a
user-level Emacs.

> Hm, I guess that even if the sudo problem is solved, then still a =E2=80=
=9Csudo -i=E2=80=9D won=E2=80=99t be possible with the patch. Is that right=
?

I haven't used this patch, so I'm not sure how it interacts. However,
/run/setuid-programs/sudo -i fails for me as expected while
/run/current-system/profile/bin/sudo -i works.

> [WSL] makes it hard to launch arbitrary commands as intended with just =
=E2=80=9Cwsl -e ls=E2=80=9D in Guix. In such a case no shell is involved an=
d no /etc/profile or ~/.profile is sourced, so ls won=E2=80=99t be found.

> Another possible problem with the patch might be the current-directory. I=
 guess that a =E2=80=9Cwsl -d guix -e ls=E2=80=9D will not list the directo=
ry from which the wsl command got invoked, but the user=E2=80=99s home dire=
ctory.

This may be another Win11 feature, but I figured out that --shell-type
is a way around that annoyance. wsl --shell-type login ls in a fresh
PowerShell shows me files in my Windows home. My shell configuration
is small enough that the startup overhead is minimal, and based on
running top that way, there's no shell process that sticks around.

> With the WSL version I=E2=80=99m using on Windows 10 its /init requires a=
 group cache for nscd, too.

The advice I saw on Guix-in-WSL suggested disabling nscd and I found
that to be the case.

> My setup is using a gnu.bat file, which invokes a guile script named gnu.=
scm in WSL, which =E2=80=93 if needed =E2=80=93 does the re-mounts and star=
ts shepherd, and calls sudo to login the user and change the directory befo=
re executing further commands from the user. It is retaining some environme=
nt variables like TERM, and the content of WSLENV. So from the Windows side=
 it is possible to call =E2=80=9Cgnu.bat ls -lA=E2=80=9D etc. or just =E2=
=80=9Cgnu.bat=E2=80=9D to get a shell.

My /etc/wsl.conf sets the default user and specifies a script to run
at boot. That script sets up /run/current-system, boots from it, and
does those few trivial fs sanity checks. From there, I can start new
shells for my user and everything seems to behave. System
reconfigurations were the biggest footgun prior to this latest
breakage, but this is my only GuixSD experience so that might be a
general problem.

Thanks!

Jacob.




Information forwarded to guix-patches@HIDDEN:
bug#53912; Package guix-patches. Full text available.

Message received at 53912 <at> debbugs.gnu.org:


Received: (at 53912) by debbugs.gnu.org; 11 Aug 2022 21:32:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 11 17:32:44 2022
Received: from localhost ([127.0.0.1]:55111 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oMFnH-0002XQ-OB
	for submit <at> debbugs.gnu.org; Thu, 11 Aug 2022 17:32:44 -0400
Received: from mr5.vodafonemail.de ([145.253.228.165]:39166)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefan-guix@HIDDEN>) id 1oMFnE-0002XB-5v
 for 53912 <at> debbugs.gnu.org; Thu, 11 Aug 2022 17:32:41 -0400
Received: from smtp.vodafone.de (unknown [10.0.0.2])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by mr5.vodafonemail.de (Postfix) with ESMTPS id 4M3g4x3TYDz1y67
 for <53912 <at> debbugs.gnu.org>; Thu, 11 Aug 2022 21:32:33 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de;
 s=vfde-mb-mr2-21dec; t=1660253553;
 bh=8rPqjeRMqCJBqQXTWGhkANRULaxg0Ocl1YwGE8rvUAY=;
 h=Content-Type:From:Date:Subject:Message-Id:To:X-Mailer:From;
 b=AZ7eynBq3pEYBWDAzDDyy1IChfI9GMoZRv8u295Duy5y1TrEK6xjOADwYcy1dSpBE
 rPFo1EdZNa9naI9r/FTWbajize+a4QIOhK9ytL/nuFC5n3wih+Slu1vJV7HVyz4NvQ
 LgESCu8gw0ChsbmHj9Lhe/So9nDJMzZKF4Mkwo6w=
Received: from smtpclient.apple (aftr-62-216-207-4.dynamic.mnet-online.de
 [62.216.207.4])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by smtp.vodafone.de (Postfix) with ESMTPSA id 4M3g4w6Sd4z9wQD
 for <53912 <at> debbugs.gnu.org>; Thu, 11 Aug 2022 21:32:28 +0000 (UTC)
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
From: Stefan <stefan-guix@HIDDEN>
Mime-Version: 1.0 (1.0)
Date: Thu, 11 Aug 2022 23:32:27 +0200
Subject: [PATCH 0/5] WIP Add WSL support.
Message-Id: <9B03DD4B-4699-40CB-95A6-C0369F1E7663@HIDDEN>
To: 53912 <at> debbugs.gnu.org
X-Mailer: iPhone Mail (19G71)
X-purgate-type: clean
X-purgate: clean
X-purgate-size: 2887
X-purgate-ID: 155817::1660253553-79BDF2A8-AEBA4140/0/0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 53912
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi!

The problems with sudo etc. in /run/setuid-programs/ stem from the nosuid an=
d noexec flags, which WSL sets when mounting /run as tmpfs.

I use a guile script which remounts /run with these flags removed.

But there is another mount-problem. When WSL is using root as the default us=
er, then the default mounts of local drives like /mnt/c/ use uid=3D0 and gid=
=3D0. This is problematic, when a script is changing the user with sudo. So m=
y script is unmounting all local drives and mounting them again with /sbin/m=
ount.drvfs of WSL with the uid and gid of that user and the metadata flag. B=
y the way, I was not able to use the type drvfs with the mount command from G=
uix for this. But I didn=E2=80=99t try the type 9p for this yet, which it ac=
tually seems to be.

Changing the default user to prevent problems with local drives seems possib=
le with an /etc/wsl.conf file. But then it will not be possible to use root=E2=
=80=99s shell entry for the script anymore.

Hm, I guess that even if the sudo problem is solved, then still a =E2=80=9Cs=
udo -i=E2=80=9D won=E2=80=99t be possible with the patch. Is that right?

Another possible problem with the patch might be the current-directory. I gu=
ess that a =E2=80=9Cwsl -d guix -e ls=E2=80=9D will not list the directory f=
rom which the wsl command got invoked, but the user=E2=80=99s home directory=
.

My setup is using a gnu.bat file, which invokes a guile script named gnu.scm=
 in WSL, which =E2=80=93 if needed =E2=80=93 does the re-mounts and starts s=
hepherd, and calls sudo to login the user and change the directory before ex=
ecuting further commands from the user. It is retaining some environment var=
iables like TERM, and the content of WSLENV. So from the Windows side it is p=
ossible to call =E2=80=9Cgnu.bat ls -lA=E2=80=9D etc. or just =E2=80=9Cgnu.b=
at=E2=80=9D to get a shell.

I=E2=80=99m experimenting with another script, which like busybox evaluates i=
ts name, and put symlinks to it in /usr/local/bin/, which is in the default W=
SL search path. That script invokes the mentioned gnu.scm script. With this i=
t is possible to call e.g. =E2=80=9Cwsl -d guix -e ls -l=E2=80=9D for the Wi=
ndows user in USERNAME.

With the WSL version I=E2=80=99m using on Windows 10 its /init requires a gr=
oup cache for nscd, too.

With Windows 11 there is a boot option for the /etc/wsl.config, which might b=
e the optimal place for a script to do re-mounts and start shepherd.

All in all WSL assumes the Filesystem Hierarchie Standard and /etc/environme=
nt and makes it hard to launch arbitrary commands as intended with just =E2=80=
=9Cwsl -e ls=E2=80=9D in Guix. In such a case no shell is involved and no /e=
tc/profile or ~/.profile is sourced, so ls won=E2=80=99t be found. This all s=
eems to be far from perfect to me.


Bye

Stefan=




Information forwarded to guix-patches@HIDDEN:
bug#53912; Package guix-patches. Full text available.

Message received at 53912 <at> debbugs.gnu.org:


Received: (at 53912) by debbugs.gnu.org; 11 Aug 2022 16:27:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 11 12:27:53 2022
Received: from localhost ([127.0.0.1]:54906 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oMB2G-00030n-VJ
	for submit <at> debbugs.gnu.org; Thu, 11 Aug 2022 12:27:53 -0400
Received: from mail-qt1-f172.google.com ([209.85.160.172]:41481)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jaccarmac@HIDDEN>) id 1oMB2F-00030Z-P6
 for 53912 <at> debbugs.gnu.org; Thu, 11 Aug 2022 12:27:52 -0400
Received: by mail-qt1-f172.google.com with SMTP id c20so4034626qtw.8
 for <53912 <at> debbugs.gnu.org>; Thu, 11 Aug 2022 09:27:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:subject:message-id:date:from:mime-version:from:to:cc;
 bh=sIFM6sSrKr4c60kNhFpKRRgy8UHBtg/Tr0EV073AlVs=;
 b=HgI/tIqyHVQai/GeAx5N3lwF4uqDPFss4cws4QaV164nkW1oeP8AEtWhIIh4vNBixu
 pxkneEYS59xiyuUwqpJgbtimhWA6B3qBZY5ISNWryhJyo5qwfvDPyt6irgTTiKJJuIpv
 PoTWhDD9qvdWkOKqZcvtSqgOnu+Op9oNBR8r+qgYf2fPHDclj9OS3FMNPphmDMiyR7gr
 /fGTetN0pJ/E+b326V3ydGedco91oNru4gTTHnJkEDL6Zo1m8UXblCA7E+0UiEyCSmPh
 KZo/pxNguMtLVGmhWCjfkKE7wIRmWD+LZBjJZo9GDp/exUIdrpZcM6hZ36U4e1nUbp94
 Vb0g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc;
 bh=sIFM6sSrKr4c60kNhFpKRRgy8UHBtg/Tr0EV073AlVs=;
 b=HMFSD6RvRNnal48R3fdM9HJmZTJQorV9KUe7XBGm0nOtDtdEsYJx3GYnDrLrNCvReC
 3A2itYhzKNmsC9qtaV0zjzf+h850cQdxbkLCpM44xghsu22vsyrTssJQIAsxFcwOC1TW
 txZTr5UjKQCT9Z5BAjV3OMsqqMxYz2+KzO4g60p54+UYXwMb5AOc2xEqVVBypk2Cf56G
 R0p5AJuMhg+UoS52R6MAvhFgt6MTlk7cHsMCigHMAcrCHS4tCkGUP08RosmG3OUO1wNX
 UpSKRaDGm8w9IAo5NX8W+tyCTUAAxaNxWJUxXrZ1EqAhubOzPzzw4rSBqtGrZF8blfqM
 7OFA==
X-Gm-Message-State: ACgBeo18NgLbwitng94dRhjobJdHbB6Pno3yaQK4wIEbXgsChuMibDxt
 Jz9731gFlQmxrMG3QHHhX6SnqsJxc6WTdZqkCyhv6n5Q
X-Google-Smtp-Source: AA6agR4GVjRXZFJO4JQubLacQu7AwamyBEOR8HmQ6F4Uvu+IX8mOhgZzfQA46NG7YdGUqC8dd37oJzaWQZzu602Ci2w=
X-Received: by 2002:ac8:5b53:0:b0:340:19e6:38eb with SMTP id
 n19-20020ac85b53000000b0034019e638ebmr29356260qtw.1.1660235255867; Thu, 11
 Aug 2022 09:27:35 -0700 (PDT)
MIME-Version: 1.0
From: Jacob MacDonald <jaccarmac@HIDDEN>
Date: Thu, 11 Aug 2022 11:27:25 -0500
Message-ID: <CACy6W0D_Kyk5OS+qfcY5BFhetJCxCcMoM6iC84t0y=L2mAWTtQ@HIDDEN>
Subject: Re: WSL support.
To: 53912 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 53912
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

I'm also excited about the patch; I use Guix on WSL at work, with an
image I used Guix's Docker to create.

I just updated my WSL kernel to 5.15 and started seeing setuid errors
for binaries installed in /run/setuid-programs (sudo, passwd, etc.).
I've filed an upstream bug and suspect it has something to do with the
way WSL's init mounts file systems. Has anyone else encountered this
yet?

If not, and if you use WSL from the Windows Store, you might want to
delay your update.

Cheers,

Jacob.




Information forwarded to guix-patches@HIDDEN:
bug#53912; Package guix-patches. Full text available.

Message received at 53912 <at> debbugs.gnu.org:


Received: (at 53912) by debbugs.gnu.org; 4 Jun 2022 00:33:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 03 20:33:29 2022
Received: from localhost ([127.0.0.1]:57239 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nxHjN-00033z-D1
	for submit <at> debbugs.gnu.org; Fri, 03 Jun 2022 20:33:29 -0400
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:38419)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cwebber@HIDDEN>) id 1nxHjL-00033m-SF
 for 53912 <at> debbugs.gnu.org; Fri, 03 Jun 2022 20:33:28 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id B95125C00EE;
 Fri,  3 Jun 2022 20:33:21 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute5.internal (MEProxy); Fri, 03 Jun 2022 20:33:21 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dustycloud.org;
 h=cc:cc:content-transfer-encoding:content-type:date:date:from
 :from:in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:sender:subject:subject:to:to; s=fm1; t=1654302801; x=
 1654389201; bh=eEYtpCQZIbaTjgIzEg99a6O3x0vKxO74l68DEHQT4Ik=; b=V
 72jkAiwpg74XsoMYOyVsc7K9twymv8yytNj6VRmAWDdiq7+BYAF+0Biy4huViHnY
 jT9iQB9ptYqYAX8fuuN/FCYf7E4X31KQ5ijGF7NrITXKdk6fseu2uol9Yj08hzOT
 EzKG89g6wp7Qv+NdZbev2q0Se4RzGkkcjLkAE0RliEuoZtfazyWrtyd7oq/msu5x
 Kxi6onBtaxpXHtgUvarzBn5b2lEIXbxzGqXcmGS/fCxq4vv8L028xm/bKZoo17xH
 2/jhr867n/f2xkHGEVVp0KckwDP4wR5uqWy/9wYZrGS+Nax2dXUMNFG0NLhICiGX
 ID/SlMRLcomBKXUIi9zfA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:date:date:feedback-id:feedback-id:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1654302801; x=
 1654389201; bh=eEYtpCQZIbaTjgIzEg99a6O3x0vKxO74l68DEHQT4Ik=; b=W
 jwVYiq3Lfixw9her6dvQ4z3vgZmb7M8cw4HlBPjxjYJExe3OeBXvhG7B2+q73A4l
 9eZd7qFm22tx+yASCeULll/mUu0e+kG392ThWlNkhjnHrWdoQwKNjFUCv1aodY93
 UilOBSvfWASLbhyr3cYS3tumIbf46sa3GKl5eG4a7B+ytJv6foHV37FJJejsFYP2
 UunJh+bOEXo1VvNMb+vqi3aMT40XPzMwa1tlL6aAAMQMCQ9GqkN5vVh+avYdauZd
 RZAcLaQKl4tm2ghHn46yUJ+GFaHQiFAH0GoCaeu3FbzKKt238/hiBV24n0i7L/pa
 8IKTNYxSPaUWjrfEGNXSQ==
X-ME-Sender: <xms:UaiaYmIs1YPbtkVk1gcAnCnuy8mB_KCp7wPqAscWmBUBJLSIr-_e6A>
 <xme:UaiaYuIN8tUFSi9mJDFeZKdRxLFFnqGGP0F7-yepJsKUL0-51D7eX6WsqejTeJL6I
 Fz1UYOCUbNeP3GF__s>
X-ME-Received: <xmr:UaiaYmtNQVBiCxjsfxdUdJzpH0g1qaxIXIlXH9QLXeMFBOjfrAfDg8h5ToElUySJO31KgDUHEwYaaZmYPv72L80R>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrleejgdefgecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc
 fjughrpehffgfhvfevufffjgfkgggtgfesthhqredttderjeenucfhrhhomhepvehhrhhi
 shhtihhnvgcunfgvmhhmvghrqdghvggssggvrhcuoegtfigvsggsvghrseguuhhsthihtg
 hlohhuugdrohhrgheqnecuggftrfgrthhtvghrnhepfeeltdeltdehgedtgfffteetheek
 leffffeuffefgffhieduffekueffteffveefnecuvehluhhsthgvrhfuihiivgeptdenuc
 frrghrrghmpehmrghilhhfrhhomheptgifvggssggvrhesughushhthigtlhhouhgurdho
 rhhg
X-ME-Proxy: <xmx:UaiaYraE40S-Uws-pFA8QNkTvLTQZuNvMTy6CpAL_FeB9MDxebluvg>
 <xmx:UaiaYtbJJiZqgmCSfahpDaIEU-bj0Es5aKrAd-4oexHkE1H-OvAEwQ>
 <xmx:UaiaYnDQCD5_jpnDZwjCugDjJb8tB721qIaIeUWPk5Bq4-EK-o8Yog>
 <xmx:UaiaYhHUcA5oj6vLaSe4BcliuAYAfFlsILF8Zi5lh9QqVJRHWhRs8w>
Feedback-ID: i006446df:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
 3 Jun 2022 20:33:20 -0400 (EDT)
References: <875ypndznv.fsf@HIDDEN> <87czhnkilq.fsf@HIDDEN>
 <87zgk8wc1c.fsf_-_@HIDDEN>
User-agent: mu4e 1.6.10; emacs 27.2
From: Christine Lemmer-Webber <cwebber@HIDDEN>
To: Mathieu Othacehe <othacehe@HIDDEN>
Subject: Re: [bug#53912] [PATCH 0/5] WIP Add WSL support.
Date: Fri, 03 Jun 2022 20:31:12 -0400
In-reply-to: <87zgk8wc1c.fsf_-_@HIDDEN>
Message-ID: <87bkv9tghc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 53912
Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, Alex Griffin <a@HIDDEN>,
 guix-patches@HIDDEN, 53912 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Mathieu Othacehe <othacehe@HIDDEN> writes:

> Hello,
>
>> At first sight, it looks mostly ready to me.  What=E2=80=99s missing is a
>> section like =E2=80=9CRunning Guix under WSL=E2=80=9D, maybe next to =E2=
=80=9CRunning Guix in a
>> VM=E2=80=9D.  WDYT?
>
> I agree with Ludo it seems like ready to me. That's a very interesting
> series and I would like to see it merged :).
>
> In the meantime, I pushed the first commit that is fixing a typo.
>
> Thanks,
>
> Mathieu

Turns out I have an immediate need for this to collaborate with a
coworker at my organization also.

Is all that's left is adding docs?  It might be worth merging what
exists then already at its current state?

Even though my coworker needs it, I actually don't have access to a
Windows machine or I'd offer to write it. :)

 - Christine




Information forwarded to guix-patches@HIDDEN:
bug#53912; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Jun 2022 00:33:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 03 20:33:31 2022
Received: from localhost ([127.0.0.1]:57244 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nxHjP-00034E-LF
	for submit <at> debbugs.gnu.org; Fri, 03 Jun 2022 20:33:31 -0400
Received: from lists.gnu.org ([209.51.188.17]:53876)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cwebber@HIDDEN>) id 1nxHjN-000346-RW
 for submit <at> debbugs.gnu.org; Fri, 03 Jun 2022 20:33:30 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:42694)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <cwebber@HIDDEN>)
 id 1nxHjN-0006M3-Jk
 for guix-patches@HIDDEN; Fri, 03 Jun 2022 20:33:29 -0400
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:54583)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <cwebber@HIDDEN>)
 id 1nxHjL-0008Cy-4h; Fri, 03 Jun 2022 20:33:28 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id B95125C00EE;
 Fri,  3 Jun 2022 20:33:21 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute5.internal (MEProxy); Fri, 03 Jun 2022 20:33:21 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dustycloud.org;
 h=cc:cc:content-transfer-encoding:content-type:date:date:from
 :from:in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:sender:subject:subject:to:to; s=fm1; t=1654302801; x=
 1654389201; bh=eEYtpCQZIbaTjgIzEg99a6O3x0vKxO74l68DEHQT4Ik=; b=V
 72jkAiwpg74XsoMYOyVsc7K9twymv8yytNj6VRmAWDdiq7+BYAF+0Biy4huViHnY
 jT9iQB9ptYqYAX8fuuN/FCYf7E4X31KQ5ijGF7NrITXKdk6fseu2uol9Yj08hzOT
 EzKG89g6wp7Qv+NdZbev2q0Se4RzGkkcjLkAE0RliEuoZtfazyWrtyd7oq/msu5x
 Kxi6onBtaxpXHtgUvarzBn5b2lEIXbxzGqXcmGS/fCxq4vv8L028xm/bKZoo17xH
 2/jhr867n/f2xkHGEVVp0KckwDP4wR5uqWy/9wYZrGS+Nax2dXUMNFG0NLhICiGX
 ID/SlMRLcomBKXUIi9zfA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:date:date:feedback-id:feedback-id:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1654302801; x=
 1654389201; bh=eEYtpCQZIbaTjgIzEg99a6O3x0vKxO74l68DEHQT4Ik=; b=W
 jwVYiq3Lfixw9her6dvQ4z3vgZmb7M8cw4HlBPjxjYJExe3OeBXvhG7B2+q73A4l
 9eZd7qFm22tx+yASCeULll/mUu0e+kG392ThWlNkhjnHrWdoQwKNjFUCv1aodY93
 UilOBSvfWASLbhyr3cYS3tumIbf46sa3GKl5eG4a7B+ytJv6foHV37FJJejsFYP2
 UunJh+bOEXo1VvNMb+vqi3aMT40XPzMwa1tlL6aAAMQMCQ9GqkN5vVh+avYdauZd
 RZAcLaQKl4tm2ghHn46yUJ+GFaHQiFAH0GoCaeu3FbzKKt238/hiBV24n0i7L/pa
 8IKTNYxSPaUWjrfEGNXSQ==
X-ME-Sender: <xms:UaiaYmIs1YPbtkVk1gcAnCnuy8mB_KCp7wPqAscWmBUBJLSIr-_e6A>
 <xme:UaiaYuIN8tUFSi9mJDFeZKdRxLFFnqGGP0F7-yepJsKUL0-51D7eX6WsqejTeJL6I
 Fz1UYOCUbNeP3GF__s>
X-ME-Received: <xmr:UaiaYmtNQVBiCxjsfxdUdJzpH0g1qaxIXIlXH9QLXeMFBOjfrAfDg8h5ToElUySJO31KgDUHEwYaaZmYPv72L80R>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrleejgdefgecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc
 fjughrpehffgfhvfevufffjgfkgggtgfesthhqredttderjeenucfhrhhomhepvehhrhhi
 shhtihhnvgcunfgvmhhmvghrqdghvggssggvrhcuoegtfigvsggsvghrseguuhhsthihtg
 hlohhuugdrohhrgheqnecuggftrfgrthhtvghrnhepfeeltdeltdehgedtgfffteetheek
 leffffeuffefgffhieduffekueffteffveefnecuvehluhhsthgvrhfuihiivgeptdenuc
 frrghrrghmpehmrghilhhfrhhomheptgifvggssggvrhesughushhthigtlhhouhgurdho
 rhhg
X-ME-Proxy: <xmx:UaiaYraE40S-Uws-pFA8QNkTvLTQZuNvMTy6CpAL_FeB9MDxebluvg>
 <xmx:UaiaYtbJJiZqgmCSfahpDaIEU-bj0Es5aKrAd-4oexHkE1H-OvAEwQ>
 <xmx:UaiaYnDQCD5_jpnDZwjCugDjJb8tB721qIaIeUWPk5Bq4-EK-o8Yog>
 <xmx:UaiaYhHUcA5oj6vLaSe4BcliuAYAfFlsILF8Zi5lh9QqVJRHWhRs8w>
Feedback-ID: i006446df:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
 3 Jun 2022 20:33:20 -0400 (EDT)
References: <875ypndznv.fsf@HIDDEN> <87czhnkilq.fsf@HIDDEN>
 <87zgk8wc1c.fsf_-_@HIDDEN>
User-agent: mu4e 1.6.10; emacs 27.2
From: Christine Lemmer-Webber <cwebber@HIDDEN>
To: Mathieu Othacehe <othacehe@HIDDEN>
Subject: Re: [bug#53912] [PATCH 0/5] WIP Add WSL support.
Date: Fri, 03 Jun 2022 20:31:12 -0400
In-reply-to: <87zgk8wc1c.fsf_-_@HIDDEN>
Message-ID: <87bkv9tghc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=66.111.4.27; envelope-from=cwebber@HIDDEN;
 helo=out3-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.7 (-)
X-Debbugs-Envelope-To: submit
Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, Alex Griffin <a@HIDDEN>,
 guix-patches@HIDDEN, 53912 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.7 (--)

Mathieu Othacehe <othacehe@HIDDEN> writes:

> Hello,
>
>> At first sight, it looks mostly ready to me.  What=E2=80=99s missing is a
>> section like =E2=80=9CRunning Guix under WSL=E2=80=9D, maybe next to =E2=
=80=9CRunning Guix in a
>> VM=E2=80=9D.  WDYT?
>
> I agree with Ludo it seems like ready to me. That's a very interesting
> series and I would like to see it merged :).
>
> In the meantime, I pushed the first commit that is fixing a typo.
>
> Thanks,
>
> Mathieu

Turns out I have an immediate need for this to collaborate with a
coworker at my organization also.

Is all that's left is adding docs?  It might be worth merging what
exists then already at its current state?

Even though my coworker needs it, I actually don't have access to a
Windows machine or I'd offer to write it. :)

 - Christine




Information forwarded to guix-patches@HIDDEN:
bug#53912; Package guix-patches. Full text available.

Message received at 53912 <at> debbugs.gnu.org:


Received: (at 53912) by debbugs.gnu.org; 26 Apr 2022 07:15:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 26 03:15:42 2022
Received: from localhost ([127.0.0.1]:36715 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1njFQE-0007FD-6a
	for submit <at> debbugs.gnu.org; Tue, 26 Apr 2022 03:15:42 -0400
Received: from eggs.gnu.org ([209.51.188.92]:52074)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1njFQC-0007F0-Dy
 for 53912 <at> debbugs.gnu.org; Tue, 26 Apr 2022 03:15:40 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:55050)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>)
 id 1njFQ6-0001Bv-JL; Tue, 26 Apr 2022 03:15:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=UXEKIcKGV5s/RuM6lPlOLKtWVxlgCsEil2hha3DuJy8=; b=dhR8vpIgG4ZXFQwQ6U63
 JE2BkBh+XDc9enR0VynfvgrHbzcpo9LnpSSe+W2/IBi2MTb9+lZQE96Cs4HbQqh4ffxhBFxUsyG4a
 65JIEpgAgq9M+0W+tCczKivILhvIads9hqGuJkbV2XDKS2o01MZlCX+fLb/N3bpX3TOtswygmEkTe
 wEaLM+B09zbX+x7DFydHxx40DhNsQg9zP8aR37eReahYgjylY86zknN0onhVF9XFjKlILZmY8olgq
 ySegS92LaDLgu4kFYIbJQofZ5cOvbhk7ps9zc6KSEZYcp/W+cLzQ0J9S+L1ZmkSODYUtxxbpp5oXL
 vKAq4K2CDYOcdQ==;
Received: from 71.125.192.77.rev.sfr.net ([77.192.125.71]:42282 helo=meije)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>)
 id 1njFQ2-0003iY-PF; Tue, 26 Apr 2022 03:15:34 -0400
From: Mathieu Othacehe <othacehe@HIDDEN>
To: Alex Griffin <a@HIDDEN>
Subject: Re: bug#53912: [PATCH 0/5] WIP Add WSL support.
References: <875ypndznv.fsf@HIDDEN> <87czhnkilq.fsf@HIDDEN>
Date: Tue, 26 Apr 2022 09:15:27 +0200
In-Reply-To: <87czhnkilq.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Mon, 11 Apr 2022 12:41:21 +0200")
Message-ID: <87zgk8wc1c.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53912
Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 53912 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


Hello,

> At first sight, it looks mostly ready to me.  What=E2=80=99s missing is a
> section like =E2=80=9CRunning Guix under WSL=E2=80=9D, maybe next to =E2=
=80=9CRunning Guix in a
> VM=E2=80=9D.  WDYT?

I agree with Ludo it seems like ready to me. That's a very interesting
series and I would like to see it merged :).

In the meantime, I pushed the first commit that is fixing a typo.

Thanks,

Mathieu




Information forwarded to guix-patches@HIDDEN:
bug#53912; Package guix-patches. Full text available.

Message received at 53912 <at> debbugs.gnu.org:


Received: (at 53912) by debbugs.gnu.org; 11 Apr 2022 10:41:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 11 06:41:31 2022
Received: from localhost ([127.0.0.1]:42687 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ndrUA-00043w-R1
	for submit <at> debbugs.gnu.org; Mon, 11 Apr 2022 06:41:31 -0400
Received: from eggs.gnu.org ([209.51.188.92]:38708)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1ndrU9-00043l-Ps
 for 53912 <at> debbugs.gnu.org; Mon, 11 Apr 2022 06:41:30 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:34978)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1ndrU4-0001Ti-B5; Mon, 11 Apr 2022 06:41:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=rqL8qnQCT7n99VX14uYlQ8hqAJaav2a7uVYSW6n4qcA=; b=jJScUEn+KzXHOiaPUW+U
 Xye8AQxQ1WSmT67IEYHMHVFq1s7DQwBbEiwFtF046u0ypBjjdAmCEvknUvMFKm/cWKTNKw5HadfoN
 7+Viq6JAxh8/UVf0O1i5j17rsQwhYH3vK07vQxs1zNypg2t7Pr6gSAI/grpn9ro8LCB14ZElnCZsw
 zRggt/u7HpN4qgJtSSno6SVukVH0QpKoPsqdfh2/B8Z+MWlxxkNMhF10cLzND1qc48Bcf+qn1wCBe
 4FocIeaaMpXRZwAqYDG+QGjW2LjJO3UmcQxoUzcCGCw7zNs/jHp7Zfoifmha5r22Ne7IPhX9sopsz
 EejEVC3wN+QPkw==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:49541
 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1ndrU3-0008Fy-UJ; Mon, 11 Apr 2022 06:41:24 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Alex Griffin <a@HIDDEN>
Subject: Re: bug#53912: [PATCH 0/5] WIP Add WSL support.
References: <875ypndznv.fsf@HIDDEN>
Date: Mon, 11 Apr 2022 12:41:21 +0200
In-Reply-To: <875ypndznv.fsf@HIDDEN> (Alex Griffin's message of "Thu, 10
 Feb 2022 06:05:43 +0000")
Message-ID: <87czhnkilq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53912
Cc: 53912 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Alex,

Somehow I hadn=E2=80=99t noticed this patch series before=E2=80=A6

Alex Griffin <a@HIDDEN> skribis:

> Things mostly just work already. To try it out, first generate an
> os tarball:
>
> =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80
> =E2=94=82 guix system image gnu/system/images/wsl.scm
> =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80
>
> Then copy the result to your Windows system and run:
>
> =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80
> =E2=94=82 wsl --import guix ./guix/ image.tar.gz
> =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80
>
> You can now run Guix System under WSL:
>
> =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80
> =E2=94=82 wsl -d guix
> =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80

That seems pretty fun.

You say it=E2=80=99s work in progress; what exactly is missing at this poin=
t?

At first sight, it looks mostly ready to me.  What=E2=80=99s missing is a
section like =E2=80=9CRunning Guix under WSL=E2=80=9D, maybe next to =E2=80=
=9CRunning Guix in a
VM=E2=80=9D.  WDYT?

Better yet would be a =E2=80=9CSystem Images=E2=80=9D section under =E2=80=
=9CSystem
Configuration=E2=80=9D, with a subsection dedicated to WSL images.

Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#53912; Package guix-patches. Full text available.

Message received at 53912 <at> debbugs.gnu.org:


Received: (at 53912) by debbugs.gnu.org; 11 Apr 2022 10:35:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 11 06:35:10 2022
Received: from localhost ([127.0.0.1]:42651 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ndrO1-0003rv-Qz
	for submit <at> debbugs.gnu.org; Mon, 11 Apr 2022 06:35:10 -0400
Received: from eggs.gnu.org ([209.51.188.92]:37630)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1ndrNz-0003rK-77
 for 53912 <at> debbugs.gnu.org; Mon, 11 Apr 2022 06:35:08 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:34926)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1ndrNt-0000HD-Nt; Mon, 11 Apr 2022 06:35:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=WxGM0S59NBwLVGHWAkBuHTdG9xl/NHaVkBE2T9P/76s=; b=Xsw1l9NBC3xOKY85Hgmw
 d0I1XTw+Z+i8iez81VC809tpINNUmRb6FM+mRxDYDLKaCPVFnY8eH7mfkrZjnonCmSs9t/o9TRQis
 /mvrHioKwv3j9kfPav6xfTYBzfZwdhpY5wb1rVRc/7gtw3BbHXiPfMgfBii6ZUIf4WN9QcA4c0SX0
 B6y9G1ZCvWgI6h4o+gNGJ4LXkBOl3JnmBXPJU/k95G81ZWV/mhh475FOURhE1Jbd9S0lUTFWvWnEO
 ZsdR3hAJux2zmjifD0zMWd+absQIXLPfLp2Sy+WfIgl1tT9Hkfcjdm7XnXV+uD9fcMYuo7DbdaUZ6
 lCFv+IRrraPLWg==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:61527
 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1ndrNs-0001JV-Dy; Mon, 11 Apr 2022 06:35:00 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Alex Griffin <a@HIDDEN>
Subject: Re: bug#53912: [PATCH 0/5] WIP Add WSL support.
References: <875ypndznv.fsf@HIDDEN>
 <SUzGTg5w2gbywISnUpFqNjuIslmQ9Sr0-0mjc2lBJf4GW_veZ--jJntAFbvYXNR2BtjM-SHj6lkJo_F5KOq5GhGJpYgiPtGRHs4duzMg4aQ=@ajgrf.com>
Date: Mon, 11 Apr 2022 12:34:58 +0200
In-Reply-To: <SUzGTg5w2gbywISnUpFqNjuIslmQ9Sr0-0mjc2lBJf4GW_veZ--jJntAFbvYXNR2BtjM-SHj6lkJo_F5KOq5GhGJpYgiPtGRHs4duzMg4aQ=@ajgrf.com>
 (Alex Griffin's message of "Thu, 10 Feb 2022 06:22:10 +0000")
Message-ID: <87k0bvkiwd.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53912
Cc: "53912 <at> debbugs.gnu.org" <53912 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Alex Griffin <a@HIDDEN> skribis:

> From ef951ff51bf0e2b2b50c57fbf652b0677c1e6701 Mon Sep 17 00:00:00 2001
> From: Alex Griffin <a@HIDDEN>
> Date: Sun, 6 Feb 2022 16:29:47 -0600
> Subject: [PATCH 2/5] system: image: Add tarball support.
>
> * gnu/system/image.scm (tarball-image, tarball-image-type): New variables.
> (system-tarball-image): New procedure.
> (image->root-file-system): Add tarball image support.
> (system-image): Ditto.

Interesting!

> +++ b/gnu/system/image.scm
> @@ -1,6 +1,7 @@
>  ;;; GNU Guix --- Functional package management for GNU
>  ;;; Copyright =C2=A9 2020, 2021 Mathieu Othacehe <m.othacehe@HIDDEN>
>  ;;; Copyright =C2=A9 2020 Jan (janneke) Nieuwenhuizen <janneke@HIDDEN>
> +;;; Copyright =C2=A9 2022 Alex Griffin <a@HIDDEN>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -24,6 +25,7 @@ (define-module (gnu system image)
>    #:use-module (guix modules)
>    #:use-module (guix monads)
>    #:use-module (guix records)
> +  #:use-module (guix scripts pack)

We cannot refer to (guix scripts =E2=80=A6) modules from here (conceptually
(guix scripts =E2=80=A6) modules are layered above the rest).

If needed, we can move the relevant bits to a new (guix pack) module and
use it here.  (I didn=E2=80=99t spot which part of (guix scripts pack) is u=
sed.)

Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#53912; Package guix-patches. Full text available.

Message received at 53912 <at> debbugs.gnu.org:


Received: (at 53912) by debbugs.gnu.org; 15 Feb 2022 16:32:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 15 11:31:59 2022
Received: from localhost ([127.0.0.1]:46245 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nK0kB-0005bL-MR
	for submit <at> debbugs.gnu.org; Tue, 15 Feb 2022 11:31:59 -0500
Received: from laurent.telenet-ops.be ([195.130.137.89]:54112)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1nK0jz-0005b0-4w
 for 53912 <at> debbugs.gnu.org; Tue, 15 Feb 2022 11:31:58 -0500
Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a])
 by laurent.telenet-ops.be with bizsmtp
 id vUXm2600F4UW6Th01UXm98; Tue, 15 Feb 2022 17:31:46 +0100
Message-ID: <6a73b33bc1ca7f8e9bfa5805608207f02e9aa282.camel@HIDDEN>
Subject: Re: [bug#53912] [PATCH 3/5] system: image: Add wsl-tarball support.
From: Maxime Devos <maximedevos@HIDDEN>
To: Alex Griffin <a@HIDDEN>, 53912 <at> debbugs.gnu.org
Date: Tue, 15 Feb 2022 17:31:46 +0100
In-Reply-To: <87wni3ck2v.fsf@HIDDEN>
References: <875ypndznv.fsf@HIDDEN> <87wni3ck2v.fsf@HIDDEN>
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-qdkiQF23EcWfPYk9scKB"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1644942706; bh=uB29H2A9mLnNy8/lI7YbCp0+UmWCNqL8yQcnPVSN40o=;
 h=Subject:From:To:Date:In-Reply-To:References;
 b=dJ4YxN/qrT72dCw3IDTbGk9ss7pIAoCq8m7rPpoT23A4jl/9cJ7cSbKHFs3vNTaDW
 cWQrvX6Wq7Xc8yS2d7O505EHGgESAShFqvo4BHg2WajHuCO2NENZlGlraqvU5WFvpa
 4KXobZZ3Ql+WE7jHWbqPeRFDHzNvWrIzOisL+a/DfEEQVWghzASEn9Hx1nA2x7BTpv
 b8v6UrMwuBLAOsZM8pOiQpyEMTEZmGWtLYJ+SGtmUQw5fTd6qXKKl6iTBwcBCekJJb
 sMMGTHRd/RRs3lc57BSuUOLiAktt3Sri+cJHluQQZ46xGm/O0wTZC21SY1llzHFaRO
 JoyifG5gP6AFA==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 53912
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


--=-qdkiQF23EcWfPYk9scKB
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64

QWx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gICAgIDs7IENvbW1lbnQgLi4u
CiAgICAgICAgICN+KChzeW1saW5rIC4uLikKICAgICAgICAgICAgKHN5bWxpbmsgLi4uKQogICAg
ICAgICAjfigpKQogIG90aGVyIHRoaW5ncyAuLi4pCgpzdWNoIHRoYXQgdGhlIHRhcmJhbGwgY291
bGQgYmUgYnVpbHQgd2l0aG91dCBidWlsZGluZyB1dGlsLWxpbnV4LgoKQWxzbywgKHN5bWxpbmsg
IysoZmlsZS1hcHBlbmQgdXRpbC1saW51eCAuLi4pICIuL2Jpbi9tb3VudCIpIHNlZW1zCndyb25n
IGhlcmUgd2hlbiBjcm9zcy1jb21waWxpbmcsIHdvdWxkbid0IGEgJ21vdW50JyBjb21waWxlZCBm
b3IgLS0KdGFyZ2V0IGJlIHJlcXVpcmVkIGluc3RlYWQgb2YgYSAnbW91bnQnIGNvbXBpbGVkIGZv
ciAtLXN5c3RlbSB3aGVuCmNyb3NzLWNvbXBpbGluZz8gIERvIHlvdSBtZWFuICMkKGZpbGUtYXBw
ZW5kIC4uLikgaW5zdGVhZD8KCkdyZWV0aW5ncywKTWF4aW1lLgo=


--=-qdkiQF23EcWfPYk9scKB
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYgvVchccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7lucAQC7gfizuPHGu2n1Gi/Butz35syT
uk5rC73iAzLRx6/MhAEA5YFBrgaFEuQdY4Vr5nvzClqHqNwmn0rCJxWmlnLKiAo=
=ZFGu
-----END PGP SIGNATURE-----

--=-qdkiQF23EcWfPYk9scKB--





Information forwarded to guix-patches@HIDDEN:
bug#53912; Package guix-patches. Full text available.

Message received at 53912 <at> debbugs.gnu.org:


Received: (at 53912) by debbugs.gnu.org; 15 Feb 2022 16:28:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 15 11:28:46 2022
Received: from localhost ([127.0.0.1]:46227 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nK0h4-0005Ty-5X
	for submit <at> debbugs.gnu.org; Tue, 15 Feb 2022 11:28:46 -0500
Received: from laurent.telenet-ops.be ([195.130.137.89]:47846)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1nK0h1-0005Tn-DT
 for 53912 <at> debbugs.gnu.org; Tue, 15 Feb 2022 11:28:45 -0500
Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a])
 by laurent.telenet-ops.be with bizsmtp
 id vUUh2600w4UW6Th01UUhL6; Tue, 15 Feb 2022 17:28:42 +0100
Message-ID: <469b53c147af6619de85e3beaaf122e8d827b829.camel@HIDDEN>
Subject: Re: [bug#53912] [PATCH 3/5] system: image: Add wsl-tarball support.
From: Maxime Devos <maximedevos@HIDDEN>
To: Alex Griffin <a@HIDDEN>, 53912 <at> debbugs.gnu.org
Date: Tue, 15 Feb 2022 17:28:41 +0100
In-Reply-To: <87wni3ck2v.fsf@HIDDEN>
References: <875ypndznv.fsf@HIDDEN> <87wni3ck2v.fsf@HIDDEN>
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-Y26TPPrcRiC4SVlcWXEz"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1644942522; bh=Btq/2DrCqMWQFVJUokUghYSPdaJ7BonrwSl9SuzwS/Y=;
 h=Subject:From:To:Date:In-Reply-To:References;
 b=odmCb/o9g8uN5pisOCpFX7tfyMOPV59xX6w3R3pDI7JYukYt0UKmNRYgQZcjaVVEP
 fG2JGvq4hXCUWYJ3dr5AHnrliLd4dozwSNeIlfJGdtSmyrRy8tJ/9DsavnKRAlgob7
 gdy2//Vg1T0M1vzgIhqG8mUzro8psBGxZQ+8bZnlX6mghSGvL0DHRTEaJ2wFKVqfnp
 vuGPsP7AYgGenBxI371UV/9zPhhGBNf9JlPsfE3kKfb74UjTmjDQgsUdjn22aTEA9g
 E0pqsgDa+9EYpcXeLLA2tRYYD/AnrvuP2ZFzssO+g+h0PpqzgbXf5EkjnNqXCLvxWo
 7nH+2f2ZtCpHQ==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 53912
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


--=-Y26TPPrcRiC4SVlcWXEz
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Alex Griffin via Guix-patches via schreef op do 10-02-2022 om 06:27
[+0000]:
> This patch adds the wsl-tarball image type. The difference between
> this and the plain tarball type is the creation of the symlinks at
> /bin/sh and /bin/mount.
>=20
> These are necessary for the first boot to work after importing. We
> can=E2=80=99t rely on special-files-service-type for this because the sys=
tem
> is not activated yet, and the /bin/sh symlink initiates the first
> system activation.

Why would WSL expect these things to be located there?
Can this assumption be removed upstream?

Greetings,
Maxime

--=-Y26TPPrcRiC4SVlcWXEz
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYgvUuRccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7s+sAP9PfQPSJ3VTrK3aSn/AKLjoiXgu
vJ4NFz20hcr/iNgcRwEAxVimpXoFE8KZrCQ1NrZjYreaEe9mjTg56ypUjkPxwQc=
=ZFq3
-----END PGP SIGNATURE-----

--=-Y26TPPrcRiC4SVlcWXEz--





Information forwarded to guix-patches@HIDDEN:
bug#53912; Package guix-patches. Full text available.

Message received at 53912 <at> debbugs.gnu.org:


Received: (at 53912) by debbugs.gnu.org; 15 Feb 2022 14:10:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 15 09:10:53 2022
Received: from localhost ([127.0.0.1]:43866 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nJyXc-0004uW-S6
	for submit <at> debbugs.gnu.org; Tue, 15 Feb 2022 09:10:53 -0500
Received: from mailrelay.tugraz.at ([129.27.2.202]:1717)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1nJyXb-0004uL-5M
 for 53912 <at> debbugs.gnu.org; Tue, 15 Feb 2022 09:10:51 -0500
Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101])
 by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Jyjfr12LMz1LBRv;
 Tue, 15 Feb 2022 15:10:43 +0100 (CET)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Jyjfr12LMz1LBRv
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at;
 s=mailrelay; t=1644934244;
 bh=yKApz3Y0wHuC2K9OK+i/h/6zFsMVC5PwLRQJ9SZ1+uQ=;
 h=Subject:From:To:Date:In-Reply-To:References:From;
 b=L4pwObpNVC1LKdyGWSuY2gV6T3AwCA8LFPIZ5gU18PBB2Bf68iyeNFozhTK3+LGNp
 i0Cg5FzU6PwLn0rM2KN79Mti9jkUPaekVhD3q941OHjLDLHBl5+XOG/FeG0HzExkih
 RzjJWGGMKijJeV18/LCsM0pWmSKbt/2/r6joG8/0=
Message-ID: <53c41e580645a9c80bec2668b58fbd3f67c45e5c.camel@HIDDEN>
Subject: Re: [PATCH 3/5] system: image: Add wsl-tarball support.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Alex Griffin <a@HIDDEN>, 53912 <at> debbugs.gnu.org
Date: Tue, 15 Feb 2022 15:10:43 +0100
In-Reply-To: <87wni3ck2v.fsf@HIDDEN>
References: <87wni3ck2v.fsf@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.42.1 
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ
X-Spam-Scanner: SpamAssassin 3.003001 
X-Spam-Score-relay: -1.9
X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53912
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Am Donnerstag, dem 10.02.2022 um 06:27 +0000 schrieb Alex Griffin:
> This patch adds the wsl-tarball image type. The difference between
> this and the plain tarball type is the creation of the symlinks at
> /bin/sh and /bin/mount.
> 
> These are necessary for the first boot to work after importing. We
> can’t rely on special-files-service-type for this because the system
> is not activated yet, and the /bin/sh symlink initiates the first
> system activation.
I don't think this ad-hoc hack "deserves" its own tarball type. 
Imagine WSL 3 requires /bin/ed besides /bin/sh and /bin/mount, then
you'd need to add a wsl3-tarball-type, and so on and so forth.

I think the correct way of implementing this would be to make image
respect --symlink the way guix pack does.  WDYT?




Information forwarded to guix-patches@HIDDEN:
bug#53912; Package guix-patches. Full text available.

Message received at 53912 <at> debbugs.gnu.org:


Received: (at 53912) by debbugs.gnu.org; 10 Feb 2022 06:35:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 10 01:35:59 2022
Received: from localhost ([127.0.0.1]:53452 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nI33e-0003wq-Vy
	for submit <at> debbugs.gnu.org; Thu, 10 Feb 2022 01:35:59 -0500
Received: from mail-4317.proton.ch ([185.70.43.17]:24202)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <a@HIDDEN>) id 1nI33c-0003wR-Er
 for 53912 <at> debbugs.gnu.org; Thu, 10 Feb 2022 01:35:58 -0500
Date: Thu, 10 Feb 2022 06:35:42 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ajgrf.com;
 s=protonmail; t=1644474949;
 bh=9+MSnxsOao+njcPqpUV0J/3AYk4DWcwdkwlhqoHm3Go=;
 h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc:Date:Subject:
 Reply-To:Feedback-ID:Message-ID;
 b=g7qlCTjRTxVMLy0m4G24nPFqhtLVnSe+E9+HKG/AZsCChPZtEUuIjKQWmlQBwvYqM
 WG0Tg0JmUJSRidSsewGDqeyjpRl4lSibdm+l63qMGa9yNObm0WKvuMjNeXuL8MEKqW
 rLV2Y7QrY6JluDvQm7zeXT5HucGz2s444DCKT3GgXynU/83iJuaZkcsusdeOnMO7Pg
 o9meJeWrSd/eIp8mzBvjA5+joFIEL2pYKXPXRt65aPNVVHYXJoFOCH0feBjk95VJRv
 Bm4hvPF49iSlGJgN3XHzPKS5CPFaB+oMGx5i3UJwuuOKDMd9hVOLG+ePC1mNqBUKS6
 Ec32L4fYd/EyA==
To: 53912 <at> debbugs.gnu.org
From: Alex Griffin <a@HIDDEN>
Subject: [PATCH 5/5] image: Add wsl image.
Message-ID: <87tud7cjpg.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="b1_QZ6eoJ1w84uX18TTrx8toiNb9x3oLXxyRpcw5198rKM"
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE
 shortcircuit=no autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 53912
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Alex Griffin <a@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

This is a multi-part message in MIME format.

--b1_QZ6eoJ1w84uX18TTrx8toiNb9x3oLXxyRpcw5198rKM
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

This patch adds the wsl system image. Generate it with

guix system image gnu/system/images/wsl.scm

Thanks,
=E2=80=93
Alex Griffin

--b1_QZ6eoJ1w84uX18TTrx8toiNb9x3oLXxyRpcw5198rKM
Content-Type: text/x-patch; name=0005-image-Add-wsl-image.patch
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=0005-image-Add-wsl-image.patch

RnJvbSA2NWY1OGRhZTM2ZjI1YzRiY2I2NGY0Yjc1MDYwYTI2MzVhYWI3ZmEyIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQ0KRnJvbTogQWxleCBHcmlmZmluIDxhQGFqZ3JmLmNvbT4NCkRhdGU6IFdl
ZCwgOSBGZWIgMjAyMiAyMzowNDowNCAtMDYwMA0KU3ViamVjdDogW1BBVENIIDUvNV0gaW1hZ2U6
IEFkZCB3c2wgaW1hZ2UuDQoNCiogZ251L3N5c3RlbS9pbWFnZXMvd3NsLnNjbTogTmV3IGZpbGUu
DQoqIGdudS9sb2NhbC5tayAoR05VX1NZU1RFTV9NT0RVTEVTKTogQWRkIGl0Lg0KLS0tDQogZ251
L2xvY2FsLm1rICAgICAgICAgICAgICB8ICAxICsNCiBnbnUvc3lzdGVtL2ltYWdlcy93c2wuc2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udSBzeXN0ZW0gd3NsKQ0KKyAgIzpleHBvcnQg
KHdzbC10YXJiYWxsLWltYWdlKSkNCisNCisoZGVmaW5lIHdzbC10YXJiYWxsLWltYWdlDQorICAo
aW1hZ2UNCisgICAoaW5oZXJpdA0KKyAgICAob3MtPmltYWdlIHdzbC1vcw0KKyAgICAgICAgICAg
ICAgICM6dHlwZSB3c2wtdGFyYmFsbC1pbWFnZS10eXBlKSkNCisgICAobmFtZSAnd3NsLXRhcmJh
bGwtaW1hZ2UpKSkNCisNCit3c2wtdGFyYmFsbC1pbWFnZQ0KLS0gDQoyLjM0LjANCg0K

--b1_QZ6eoJ1w84uX18TTrx8toiNb9x3oLXxyRpcw5198rKM--





Information forwarded to guix-patches@HIDDEN:
bug#53912; Package guix-patches. Full text available.

Message received at 53912 <at> debbugs.gnu.org:


Received: (at 53912) by debbugs.gnu.org; 10 Feb 2022 06:31:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 10 01:31:26 2022
Received: from localhost ([127.0.0.1]:53442 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nI2zF-0003ou-TB
	for submit <at> debbugs.gnu.org; Thu, 10 Feb 2022 01:31:26 -0500
Received: from mail-4323.proton.ch ([185.70.43.23]:55363)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <a@HIDDEN>) id 1nI2zC-0003oc-Kh
 for 53912 <at> debbugs.gnu.org; Thu, 10 Feb 2022 01:31:24 -0500
Date: Thu, 10 Feb 2022 06:31:07 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ajgrf.com;
 s=protonmail; t=1644474675;
 bh=XvdAMCaYsjZNyoZ6Nvzpn847QHT3tnNd6IkuAKYVdmY=;
 h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc:Date:Subject:
 Reply-To:Feedback-ID:Message-ID;
 b=RwfkDn4ox9PJt5094zHkcpriWwUveKt0XaADzukO7BbbvPhyqGfZb718tyN8J9gCt
 tpWdiXHXN4EGypJQS2h52xfIdJWoxBAcY/90jkEKZ39dvRxilf6LEtQxHT2gTjC+H7
 OvRxyYE4RW7N0izq/2Y2EqFMotdWfVo1H3RNpiT5J1Ubnk9tAu9Khd7HhlwhcNENvD
 ZSnjsW2tlTLMisBd/PSZ4LvAEOlRhT745DKIOAWEo43Gp1EHepbBMRe0n43AfGsJun
 /pa32KLQP3W1wE8dMy0Z2e1WyI2n83HcEFGsb1GhGeccCrMheeOXKGA6BJYgFiP2fk
 wucSL6rSKbJmg==
To: 53912 <at> debbugs.gnu.org
From: Alex Griffin <a@HIDDEN>
Subject: [PATCH 4/5] system: Add wsl module.
Message-ID: <87v8xncjx4.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="b1_iZE67ZXoZCpPRxVxj1LRNsTnuaBjgZ1j8pBuujwUhk"
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE
 shortcircuit=no autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 53912
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Alex Griffin <a@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

This is a multi-part message in MIME format.

--b1_iZE67ZXoZCpPRxVxj1LRNsTnuaBjgZ1j8pBuujwUhk
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

This patch adds a new module at gnu/system/wsl.scm. It contains a
minimal operating-system definition that works in WSL.

Thanks,
=E2=80=93
Alex Griffin

--b1_iZE67ZXoZCpPRxVxj1LRNsTnuaBjgZ1j8pBuujwUhk
Content-Type: text/x-patch; name=0004-system-Add-wsl-module.patch
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=0004-system-Add-wsl-module.patch

RnJvbSA1NWNiZDY3NjQ1ZmNlZDQyOTA1YjNiY2ZmMzQ1MTE2ZGU3MzY1MDQ5IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQ0KRnJvbTogQWxleCBHcmlmZmluIDxhQGFqZ3JmLmNvbT4NCkRhdGU6IFdl
ZCwgOSBGZWIgMjAyMiAyMzowOTo1MiAtMDYwMA0KU3ViamVjdDogW1BBVENIIDQvNV0gc3lzdGVt
OiBBZGQgd3NsIG1vZHVsZS4NCg0KKiBnbnUvc3lzdGVtL3dzbC5zY206IE5ldyBmaWxlLg0KKiBn
bnUvbG9jYWwubWsgKEdOVV9TWVNURU1fTU9EVUxFUyk6IEFkZCBpdC4NCi0tLQ0KIGdudS9sb2Nh
bC5tayAgICAgICB8ICAgMiArDQogZ251L3N5c3RlbS93c2wuc2NtIHwgMTQ4ICsrKysrKysrKysr
KysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKw0KIDIgZmlsZXMgY2hhbmdlZCwgMTUw
IGluc2VydGlvbnMoKykNCiBjcmVhdGUgbW9kZSAxMDA2ND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DQorICAocHJvZ3JhbS1maWxlDQorICAgIndzbC1ib290LXByb2dyYW0iDQorICAg
I34oYmVnaW4NCisgICAgICAgKHVubGVzcyAoZmlsZS1leGlzdHM/ICIvcnVuL2N1cnJlbnQtc3lz
dGVtIikNCisgICAgICAgICAobGV0ICgoc2hlcGhlcmQtc29ja2V0ICIvdmFyL3J1bi9zaGVwaGVy
ZC9zb2NrZXQiKSkNCisgICAgICAgICAgIDs7IENsZWFuIHVwIHRoaXMgZmlsZSBzbyB3ZSBjYW4g
d2FpdCBmb3IgaXQgbGF0ZXIuDQorICAgICAgICAgICAod2hlbiAoZmlsZS1leGlzdHM/IHNoZXBo
ZXJkLXNvY2tldCkNCisgICAgICAgICAgICAgKGRlbGV0ZS1maWxlIHNoZXBoZXJkLXNvY2tldCkp
DQorDQorICAgICAgICAgICA7OyBDaGlsZCBwcm9jZXNzIGJvb3RzIHRoZSBzeXN0ZW0gYW5kIGlz
IHJlcGxhY2VkIGJ5IHNoZXBoZXJkLg0KKyAgICAgICAgICAgKHdoZW4gKHplcm8/IChwcmltaXRp
dmUtZm9yaykpDQorICAgICAgICAgICAgIChsZXQqICgoc3lzdGVtLWdlbmVyYXRpb24gKHJlYWRs
aW5rICIvdmFyL2d1aXgvcHJvZmlsZXMvc3lzdGVtIikpDQorICAgICAgICAgICAgICAgICAgICAo
c3lzdGVtIChyZWFkbGluaw0KKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHN0cmluZy1h
cHBlbmQgKGlmIChhYnNvbHV0ZS1maWxlLW5hbWU/IHN5c3RlbS1nZW5lcmF0aW9uKQ0KKyAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICIiDQorICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIi92YXIvZ3VpeC9wcm9maWxl
cy8iKQ0KKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3lzdGVt
LWdlbmVyYXRpb24pKSkpDQorICAgICAgICAgICAgICAgKHNldGVudiAiR1VJWF9ORVdfU1lTVEVN
IiBzeXN0ZW0pDQorICAgICAgICAgICAgICAgKGV4ZWNsICMkKGZpbGUtYXBwZW5kIGd1aWxlLTMu
MCAiL2Jpbi9ndWlsZSIpDQorICAgICAgICAgICAgICAgICAgICAgICJndWlsZSINCisgICAgICAg
ICAgICAgICAgICAgICAgIi0tbm8tYXV0by1jb21waWxlIg0KKyAgICAgICAgICAgICAgICAgICAg
ICAoc3RyaW5nLWFwcGVuZCBzeXN0ZW0gIi9ib290IikpKSkNCisNCisgICAgICAgICAgIDs7IFBh
cmVudCBwcm9jZXNzIHdhaXRzIGZvciBzaGVwaGVyZCBiZWZvcmUgY29udGludWluZy4NCisgICAg
ICAgICAgICh3aGlsZSAobm90IChmaWxlLWV4aXN0cz8gc2hlcGhlcmQtc29ja2V0KSkNCisgICAg
ICAgICAgICAgKHNsZWVwIDEpKSkpDQorDQorICAgICAgIChsZXQqICgocHcgKGdldHB3ICMkdXNl
cikpDQorICAgICAgICAgICAgICAoc2hlbGwgKHBhc3N3ZDpzaGVsbCBwdykpDQorICAgICAgICAg
ICAgICAoc3VkbyAjKyhmaWxlLWFwcGVuZCBzdWRvICIvYmluL3N1ZG8iKSkNCisgICAgICAgICAg
ICAgIChhcmdzIChjZHIgKGNvbW1hbmQtbGluZSkpKSkNCisgICAgICAgICA7OyBTYXZlIHRoZSB2
YWx1ZSBvZiAkUEFUSCBzZXQgYnkgV1NMLiAgVXNlZnVsIGZvciBmaW5kaW5nDQorICAgICAgICAg
OzsgV2luZG93cyBiaW5hcmllcyB0byBydW4gd2l0aCBXU0wncyBiaW5mbXQgaW50ZXJvcC4NCisg
ICAgICAgICAoc2V0ZW52ICJXU0xQQVRIIiAoZ2V0ZW52ICJQQVRIIikpDQorDQorICAgICAgICAg
OzsgU3RhcnQgbG9naW4gc2hlbGwgYXMgdXNlci4NCisgICAgICAgICAoYXBwbHkgZXhlY2wgc3Vk
byAic3VkbyINCisgICAgICAgICAgICAgICAgIi0tcHJlc2VydmUtZW52PVdTTFBBVEgiDQorICAg
ICAgICAgICAgICAgICItdSIgIyR1c2VyDQorICAgICAgICAgICAgICAgICItLSINCisgICAgICAg
ICAgICAgICAgc2hlbGwgIi1sIiBhcmdzKSkpKSkNCisNCisoZGVmaW5lIGR1bW15LXBhY2thZ2UN
CisgIChwYWNrYWdlDQorICAgIChuYW1lICJkdW1teSIpDQorICAgICh2ZXJzaW9uICIwIikNCisg
ICAgKHNvdXJjZSAjZikNCisgICAgKGJ1aWxkLXN5c3RlbSB0cml2aWFsLWJ1aWxkLXN5c3RlbSkN
CisgICAgKGFyZ3VtZW50cw0KKyAgICAgYCgjOm1vZHVsZXMgKChndWl4IGJ1aWxkIHV0aWxzKSkN
CisgICAgICAgIzp0YXJnZXQgI2YNCisgICAgICAgIzpidWlsZGVyIChiZWdpbg0KKyAgICAgICAg
ICAgICAgICAgICAodXNlLW1vZHVsZXMgKGd1aXggYnVpbGQgdXRpbHMpKQ0KKyAgICAgICAgICAg
ICAgICAgICAobGV0KiAoKG91dCAoYXNzb2MtcmVmICVvdXRwdXRzICJvdXQiKSkNCisgICAgICAg
ICAgICAgICAgICAgICAgICAgIChkdW1teSAoc3RyaW5nLWFwcGVuZCBvdXQgIi9kdW1teSIpKSkN
CisgICAgICAgICAgICAgICAgICAgICAobWtkaXItcCBvdXQpDQorICAgICAgICAgICAgICAgICAg
ICAgKGNhbGwtd2l0aC1vdXRwdXQtZmlsZSBkdW1teQ0KKyAgICAgICAgICAgICAgICAgICAgICAg
KGNvbnN0ICN0KSkNCisgICAgICAgICAgICAgICAgICAgICAjdCkpKSkNCisgICAgKGhvbWUtcGFn
ZSAjZikNCisgICAgKHN5bm9wc2lzICNmKQ0KKyAgICAoZGVzY3JpcHRpb24gI2YpDQorICAgIChs
aWNlbnNlICNmKSkpDQorDQorKGRlZmluZSBkdW1teS1ib290bG9hZGVyDQorICAoYm9vdGxvYWRl
cg0KKyAgIChuYW1lICdkdW1teS1ib290bG9hZGVyKQ0KKyAgIChwYWNrYWdlIGR1bW15LXBhY2th
Z2UpDQorICAgKGNvbmZpZ3VyYXRpb24tZmlsZSAiL2Rldi9udWxsIikNCisgICAoY29uZmlndXJh
dGlvbi1maWxlLWdlbmVyYXRvcg0KKyAgICAobGFtYmRhICguIF9yZXN0KQ0KKyAgICAgIChwbGFp
bi1maWxlICJkdW1teS1ib290bG9hZGVyIiAiIikpKQ0KKyAgIChpbnN0YWxsZXIgI34oY29uc3Qg
I3QpKSkpDQorDQorKGRlZmluZSBkdW1teS1rZXJuZWwgZHVtbXktcGFja2FnZSkNCisNCisoZGVm
aW5lIChkdW1teS1pbml0cmQgLiBfcmVzdCkNCisgIChwbGFpbi1maWxlICJkdW1teS1pbml0cmQi
ICIiKSkNCisNCisoZGVmaW5lLXB1YmxpYyB3c2wtb3MNCisgIChvcGVyYXRpbmctc3lzdGVtDQor
ICAgIChob3N0LW5hbWUgImdudSIpDQorICAgICh0aW1lem9uZSAiRXRjL1VUQyIpDQorDQorICAg
IChib290bG9hZGVyDQorICAgICAoYm9vdGxvYWRlci1jb25maWd1cmF0aW9uDQorICAgICAgKGJv
b3Rsb2FkZXIgZHVtbXktYm9vdGxvYWRlcikpKQ0KKw0KKyAgICAoa2VybmVsIGR1bW15LWtlcm5l
bCkNCisgICAgKGluaXRyZCBkdW1teS1pbml0cmQpDQorICAgIChpbml0cmQtbW9kdWxlcyAnKCkp
DQorICAgIChmaXJtd2FyZSAnKCkpDQorDQorICAgIChmaWxlLXN5c3RlbXMgJygpKQ0KKw0KKyAg
ICAodXNlcnMgKGNvbnMqICh1c2VyLWFjY291bnQNCisgICAgICAgICAgICAgICAgICAgKG5hbWUg
Imd1ZXN0IikNCisgICAgICAgICAgICAgICAgICAgKGdyb3VwICJ1c2VycyIpDQorICAgICAgICAg
ICAgICAgICAgIChzdXBwbGVtZW50YXJ5LWdyb3VwcyAnKCJ3aGVlbCIpKSA7IGFsbG93IHVzZSBv
ZiBzdWRvDQorICAgICAgICAgICAgICAgICAgIChwYXNzd29yZCAiIikNCisgICAgICAgICAgICAg
ICAgICAgKGNvbW1lbnQgIkd1ZXN0IG9mIEdOVSIpKQ0KKyAgICAgICAgICAgICAgICAgICh1c2Vy
LWFjY291bnQNCisgICAgICAgICAgICAgICAgICAgKGluaGVyaXQgJXJvb3QtYWNjb3VudCkNCisg
ICAgICAgICAgICAgICAgICAgKHNoZWxsICh3c2wtYm9vdC1wcm9ncmFtICJndWVzdCIpKSkNCisg
ICAgICAgICAgICAgICAgICAlYmFzZS11c2VyLWFjY291bnRzKSkNCisNCisgICAgKHNlcnZpY2Vz
IChsaXN0IChzZXJ2aWNlIGd1aXgtc2VydmljZS10eXBlKQ0KKyAgICAgICAgICAgICAgICAgICAg
KHNlcnZpY2Ugc3BlY2lhbC1maWxlcy1zZXJ2aWNlLXR5cGUNCisgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIGAoKCIvYmluL3NoIiAsKGZpbGUtYXBwZW5kIGJhc2ggIi9iaW4vYmFzaCIpKQ0K
KyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoIi9iaW4vbW91bnQiICwoZmlsZS1hcHBl
bmQgdXRpbC1saW51eCAiL2Jpbi9tb3VudCIpKQ0KKyAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAoIi91c3IvYmluL2VudiIgLChmaWxlLWFwcGVuZCBjb3JldXRpbHMgIi9iaW4vZW52Iikp
KSkpKSkpDQotLSANCjIuMzQuMA0KDQo=

--b1_iZE67ZXoZCpPRxVxj1LRNsTnuaBjgZ1j8pBuujwUhk--





Information forwarded to guix-patches@HIDDEN:
bug#53912; Package guix-patches. Full text available.

Message received at 53912 <at> debbugs.gnu.org:


Received: (at 53912) by debbugs.gnu.org; 10 Feb 2022 06:28:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 10 01:28:01 2022
Received: from localhost ([127.0.0.1]:53437 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nI2vx-0003cl-99
	for submit <at> debbugs.gnu.org; Thu, 10 Feb 2022 01:28:01 -0500
Received: from mail-4022.proton.ch ([185.70.40.22]:18612)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <a@HIDDEN>) id 1nI2vv-0003cV-Cg
 for 53912 <at> debbugs.gnu.org; Thu, 10 Feb 2022 01:28:00 -0500
Date: Thu, 10 Feb 2022 06:27:47 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ajgrf.com;
 s=protonmail; t=1644474472;
 bh=c3zsOYlfNFw2RJqbnZGRw69TC5R+qQMsh6IcIkdbCGQ=;
 h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc:Date:Subject:
 Reply-To:Feedback-ID:Message-ID;
 b=VxticU2ohSEHHykGeuxmsyxvH0kO6VsZ9SBDfa6qbmWdPIvTl8l4CSAVBww3aMuvR
 9tNw5Sfa9VJNidU+i3rsy9S+yECNIFezWz9tMBjikUM+cpLCJU8cuf2y7O8d48/TsE
 oz+pNsovLuPIpfUO7EQZ95601kLy9kijSBsos1hx7BNHOE9KOPKnst6bOxd/zo6V65
 6wiW/NwpN0A5b1eiKSqek3yQGiC7/bFJahSbbmy5IWeVEXeuh2mSXm5DgiZMb2KVZL
 iaFMboEXet9UHXjM0shM9rSOCBHZFRpuz6HH4A8QBpZOWZi2WzLlERppuN0zOGimjx
 ljgncmBAyytbw==
To: 53912 <at> debbugs.gnu.org
From: Alex Griffin <a@HIDDEN>
Subject: [PATCH 3/5] system: image: Add wsl-tarball support.
Message-ID: <87wni3ck2v.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="b1_b8rcDqJDIAHlXl0UgfZzfEVbOvk12sZwDv2WVTDEhi0"
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE
 shortcircuit=no autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 53912
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Alex Griffin <a@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

This is a multi-part message in MIME format.

--b1_b8rcDqJDIAHlXl0UgfZzfEVbOvk12sZwDv2WVTDEhi0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

This patch adds the wsl-tarball image type. The difference between
this and the plain tarball type is the creation of the symlinks at
/bin/sh and /bin/mount.

These are necessary for the first boot to work after importing. We
can=E2=80=99t rely on special-files-service-type for this because the syste=
m
is not activated yet, and the /bin/sh symlink initiates the first
system activation.

Thanks,
=E2=80=93
Alex Griffin

--b1_b8rcDqJDIAHlXl0UgfZzfEVbOvk12sZwDv2WVTDEhi0
Content-Type: text/x-patch; name=0003-system-image-Add-wsl-tarball-support.patch
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=0003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Vy
DQogKGRlZmluZSogKHN5c3RlbS10YXJiYWxsLWltYWdlIGltYWdlDQogICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICM6a2V5DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChu
YW1lICJpbWFnZSIpDQotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChjb21wcmVzc29y
IChzcmZpLTE6Zmlyc3QgJWNvbXByZXNzb3JzKSkpDQorICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgIChjb21wcmVzc29yIChzcmZpLTE6Zmlyc3QgJWNvbXByZXNzb3JzKSkNCisgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgKHdzbD8gI2YpKQ0KICAgIkJ1aWxkIGEgdGFyYmFsbCBv
ZiBJTUFHRS4gIE5BTUUgaXMgdGhlIGJhc2UgbmFtZSB0byB1c2UgZm9yIHRoZQ0KIG91dHB1dCBm
aWxlLiINCiAgIChsZXQqICgoc2hhcmVkLW5ldHdvcms/IChpbWFnZS1zaGFyZWQtbmV0d29yaz8g
aW1hZ2UpKQ0KQEAgLTY2MSw3ICs2NzUsMTIgQEAgKGRlZmluZSogKHN5c3RlbS10YXJiYWxsLWlt
YWdlIGltYWdlDQogICAgICAgICAgKHNjaGVtYSAobG9jYWwtZmlsZSAoc2VhcmNoLXBhdGggJWxv
YWQtcGF0aA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJndWl4
L3N0b3JlL3NjaGVtYS5zcWwiKSkpDQogICAgICAgICAgKG5hbWUgKHN0cmluZy1hcHBlbmQgbmFt
ZSAiLnRhciIgKGNvbXByZXNzb3ItZXh0ZW5zaW9uIGNvbXByZXNzb3IpKSkNCi0gICAgICAgICAo
Z3JhcGggInN5c3RlbS1ncmFwaCIpKQ0KKyAgICAgICAgIChncmFwaCAic3lzdGVtLWdyYXBoIikN
CisgICAgICAgICAocm9vdCAoc3JmaS0xOmZpbmQgKGxhbWJkYSAodXNlcikNCisgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAoYW5kPT4gKHVzZXItYWNjb3VudC11aWQgdXNlcikgemVybz8p
KQ0KKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAob3BlcmF0aW5nLXN5c3RlbS11c2VycyBv
cykpKQ0KKyAgICAgICAgIChyb290LXNoZWxsIChvciAoYW5kPT4gcm9vdCB1c2VyLWFjY291bnQt
c2hlbGwpDQorICAgICAgICAgICAgICAgICAgICAgICAgIChmaWxlLWFwcGVuZCBiYXNoICIvYmlu
L2Jhc2giKSkpKQ0KICAgICAoZGVmaW5lIGJ1aWxkZXINCiAgICAgICAod2l0aC1leHRlbnNpb25z
IGdjcnlwdC1zcWxpdGUzJmNvICAgICAgICAgIDtmb3IgKGd1aXggc3RvcmUgZGF0YWJhc2UpDQog
ICAgICAgICAod2l0aC1pbXBvcnRlZC1tb2R1bGVzIGAoLEAoc291cmNlLW1vZHVsZS1jbG9zdXJl
DQpAQCAtNjk3LDYgKzcxNiwxNSBAQCAoZGVmaW5lIGJ1aWxkZXINCiAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgIzpzeXN0ZW0tZGlyZWN0b3J5ICMkb3MpDQogDQog
ICAgICAgICAgICAgICAgICh3aXRoLWRpcmVjdG9yeS1leGN1cnNpb24gaW1hZ2Utcm9vdA0KKyAg
ICAgICAgICAgICAgICAgICh3aGVuICMkd3NsPw0KKyAgICAgICAgICAgICAgICAgICAgOzsgV1NM
IHJlcXVpcmVzIC9iaW4vc2guICBXaWxsIGJlIG92ZXJ3cml0dGVuIGJ5IHN5c3RlbQ0KKyAgICAg
ICAgICAgICAgICAgICAgOzsgYWN0aXZhdGlvbi4NCisgICAgICAgICAgICAgICAgICAgIChzeW1s
aW5rICMkcm9vdC1zaGVsbCAiLi9iaW4vc2giKQ0KKw0KKyAgICAgICAgICAgICAgICAgICAgOzsg
V1NMIHJlcXVpcmVzIC9iaW4vbW91bnQgdG8gYWNjZXNzIHRo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IChzeXN0ZW0tdGFyYmFsbC1pbWFnZSBpbWFnZSogIzp3c2w/ICN0KSkNCiAgICAgICAgKCht
ZW1xIGltYWdlLWZvcm1hdCAnKGlzbzk2NjApKQ0KICAgICAgICAgIChzeXN0ZW0taXNvOTY2MC1p
bWFnZQ0KICAgICAgICAgICBpbWFnZSoNCi0tIA0KMi4zNC4wDQoNCg==

--b1_b8rcDqJDIAHlXl0UgfZzfEVbOvk12sZwDv2WVTDEhi0--





Information forwarded to guix-patches@HIDDEN:
bug#53912; Package guix-patches. Full text available.

Message received at 53912 <at> debbugs.gnu.org:


Received: (at 53912) by debbugs.gnu.org; 10 Feb 2022 06:22:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 10 01:22:28 2022
Received: from localhost ([127.0.0.1]:53424 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nI2qZ-0003T2-V8
	for submit <at> debbugs.gnu.org; Thu, 10 Feb 2022 01:22:28 -0500
Received: from mail-4317.proton.ch ([185.70.43.17]:62795)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <a@HIDDEN>) id 1nI2qT-0003Sd-26
 for 53912 <at> debbugs.gnu.org; Thu, 10 Feb 2022 01:22:26 -0500
Date: Thu, 10 Feb 2022 06:22:10 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ajgrf.com;
 s=protonmail; t=1644474134;
 bh=kcdPQ7F9u+BG85n0GVA5ib+ZMRLZzQKscfS2GJIyOs4=;
 h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc:Date:Subject:
 Reply-To:Feedback-ID:Message-ID;
 b=ATtNqMZCJU4OhJgwBpGDq46RUD6oTa44xbxYnmu10Botja4SOcqvnaHk7af1tc9rI
 E8Au3bx0THBWgkgPae8qYNkgQ2J3CX6o8QFPRVrDvJ+kVZ45DAgwOQ0RQHpTCjPLoA
 yiG+ZrnbpKrFl8VcjJzOYV2umFjNMq05uti0UStEuj1F2ylkawDjlWKp3XMgj3ll0Q
 rpcWMO4niNiRWqX5NhBiIjYTBYXcF98XGWLeSMEdCB3KwXdNQdTHc7lUkgItjdyXy/
 PhCbp/DQecWNhKRPSjffAvCwEp1n95CHzgogl3PHFoZgC8Dxt7F4LkSiNqoSBMqbXL
 RUoFBX4kPtS6g==
To: "53912 <at> debbugs.gnu.org" <53912 <at> debbugs.gnu.org>
From: Alex Griffin <a@HIDDEN>
Subject: [PATCH 2/5] system: image: Add tarball support.
Message-ID: <SUzGTg5w2gbywISnUpFqNjuIslmQ9Sr0-0mjc2lBJf4GW_veZ--jJntAFbvYXNR2BtjM-SHj6lkJo_F5KOq5GhGJpYgiPtGRHs4duzMg4aQ=@ajgrf.com>
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="b1_BUjAoAzCIkUX7iXcojZ4mBZ8BbAdWCgALIQnL7KFA"
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE
 shortcircuit=no autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 53912
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Alex Griffin <a@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

This is a multi-part message in MIME format.

--b1_BUjAoAzCIkUX7iXcojZ4mBZ8BbAdWCgALIQnL7KFA
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

This patch adds support for generating a tarball from operating-system defi=
nitions.

--
Alex Griffin
--b1_BUjAoAzCIkUX7iXcojZ4mBZ8BbAdWCgALIQnL7KFA
Content-Type: text/x-patch; name=0002-system-image-Add-tarball-support.patch
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=0002-system-image-Add-tarball-support.patch

RnJvbSBlZjk1MWZmNTFiZjBlMmIyYjUwYzU3ZmJmNjUyYjA2NzdjMWU2NzAxIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBBbGV4IEdyaWZmaW4gPGFAYWpncmYuY29tPgpEYXRlOiBTdW4s
IDYgRmViIDIwMjIgMTY6Mjk6NDcgLTA2MDAKU3ViamVjdDogW1BBVENIIDIvNV0gc3lzdGVtOiBp
bWFnZTogQWRkIHRhcmJhbGwgc3VwcG9ydC4KCiogZ251L3N5c3RlbS9pbWFnZS5zY20gKHRhcmJh
bGwtaW1hZ2UsIHRhcmJhbGwtaW1hZ2UtdHlwZSk6IE5ldyB2YXJpYWJsZXMuCihzeXN0ZW0tdGFy
YmFsbC1pbWFnZSk6IE5ldyBwcm9jZWR1cmUuCihpbWFnZS0+cm9vdC1maWxlLXN5c3RlbSk6IEFk
ZCB0YXJiYWxsIGltYWdlIHN1cHBvcnQuCihzeXN0ZW0taW1hZ2UpOiBEaXR0by4KLS0tCiBnbnUv
c3lzdGVtL2ltYWdlLnNjbSB8IDgyICsrKysrKysrKysrKysrKysrKysrKysrKysrKys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nN0aXR1dGFibGU/IChpbWFn
ZS1zdWJzdGl0dXRhYmxlPyBpbWFnZSkpCisgICAgICAgICAoc2NoZW1hIChsb2NhbC1maWxlIChz
ZWFyY2gtcGF0aCAlbG9hZC1wYXRoCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAiZ3VpeC9zdG9yZS9zY2hlbWEuc3FsIikpKQorICAgICAgICAgKG5hbWUgKHN0cmlu
Zy1hcHBlbmQgbmFtZSAiLnRhciIgKGNvbXByZXNzb3ItZXh0ZW5zaW9uIGNvbXByZXNzb3IpKSkK
KyAgICAgICAgIChncmFwaCAic3lzdGVtLWdyYXBoIikpCisgICAgKGRlZmluZSBidWlsZGVyCisg
ICAgICAod2l0aC1leHRlbnNpb25zIGdjcnlwdC1zcWxpdGUzJmNvICAgICAgICAgIDtmb3IgKGd1
aXggc3RvcmUgZGF0YWJhc2UpCisgICAgICAgICh3aXRoLWltcG9ydGVkLW1vZHVsZXMgYCgsQChz
b3VyY2UtbW9kdWxlLWNsb3N1cmUKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICcoKGd1aXggYnVpbGQgcGFjaykKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgKGd1aXggYnVpbGQgc3RvcmUtY29weSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgKGd1aXggYnVpbGQgdXRpbHMpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIChndWl4IHN0b3JlIGRhdGFiYXNlKQorICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAoZ251IGJ1aWxkIGltYWdlKSkKKyAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICM6c2VsZWN0PyBub3QtY29uZmlnPykKKyAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICgoZ3VpeCBjb25maWcpID0+ICwobWFrZS1jb25maWcuc2NtKSkpCisgICAg
ICAgICAgI34oYmVnaW4KKyAgICAgICAgICAgICAgKHVzZS1tb2R1bGVzIChndWl4IGJ1aWxkIHBh
Y2spCisgICAgICAgICAgICAgICAgICAgICAgICAgICAoZ3VpeCBidWlsZCBzdG9yZS1jb3B5KQor
ICAgICAgICAgICAgICAgICAgICAgICAgICAgKGd1aXggYnVpbGQgdXRpbHMpCisgICAgICAgICAg
ICAgICAgICAgICAgICAgICAoZ3VpeCBzdG9yZSBkYXRhYmFzZSkKKyAgICAgICAgICAgICAgICAg
ICAgICAgICAgIChnbnUgYnVpbGQgaW1hZ2UpKQorCisgICAgICAgICAgICAgIDs7IFNldCB0aGUg
U1FMIHNjaGVtYSBsb2NhdGlvbi4KKyAgICAgICAgICAgICAgKHNxbC1zY2hlbWEgIyRzY2hlbWEp
CisKKyAgICAgICAgICAgICAgOzsgQWxsb3cgbm9uLUFTQ0lJIGZpbGUgbmFtZXMtLWUuZy4sICdu
c3MtY2VydHMnLS10byBiZSBkZWNvZGVkLgorICAgICAgICAgICAgICAoc2V0ZW52ICJHVUlYX0xP
Q1BBVEgiCisgICAgICAgICAgICAgICAgICAgICAgIysoZmlsZS1hcHBlbmQgZ2xpYmMtdXRmOC1s
b2NhbGVzICIvbGliL2xvY2FsZSIpKQorICAgICAgICAgICAgICAoc2V0bG9jYWxlIExDX0FMTCAi
ZW5fVVMudXRmOCIpCisKKyAgICAgICAgICAgICAgKGxldCAoKGltYWdlLXJvb3QgKHN0cmluZy1h
cHBlbmQgKGdldGN3ZCkgIi90bXAtcm9vdCIpKQorICAgICAgICAgICAgICAgICAgICAodGFyICMr
KGZpbGUtYXBwZW5kIHRhciAiL2Jpbi90YXIiKSkpCisKKyAgICAgICAgICAgICAgICAobWtkaXIt
cCBpbWFnZS1yb290KQorICAgICAgICAgICAgICAgIChpbml0aWFsaXplLXJvb3QtcGFydGl0aW9u
IGltYWdlLXJvb3QKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAj
OnJlZmVyZW5jZXMtZ3JhcGhzICcoIyRncmFwaCkKKyAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAjOmRlZHVwbGljYXRlPyAjZgorICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICM6c3lzdGVtLWRpcmVjdG9yeSAjJG9zKQorCisgICAgICAg
ICAgICAgICAgKHdpdGgtZGlyZWN0b3J5LWV4Y3Vyc2lvbiBpbWFnZS1yb290CisgICAgICAgICAg
ICAgICAgICAoYXBwbHkgaW52b2tlIHRhciAiLWN2ZiIgIyRvdXRwdXQgIi4iCisgICAgICAgICAg
ICAgICAgICAgICAgICAgKHRhci1iYXNlLW9wdGlvbnMKKyAgICAgICAgICAgICAgICAgICAgICAg
ICAgIzp0YXIgdGFyCisgICAgICAgICAgICAgICAgICAgICAgICAgICM6Y29tcHJlc3NvciAjKyhh
bmQ9PiBjb21wcmVzc29yIGNvbXByZXNzb3ItY29tbWFuZCkpKSkpKSkpKQorCisgICAgKGNvbXB1
dGVkLWZpbGUgbmFtZSBidWlsZGVyCisgICAgICAgICAgICAgICAgICAgOzsgQWxsb3cgb2ZmbG9h
ZGluZyBzbyB0aGF0IHRoaXMgSS9PLWludGVuc2l2ZSBwcm9jZXNzCisgICAgICAgICAgICAgICAg
ICAgOzsgZG9lc24ndCBydW4gb24gdGhlIGJ1aWxkIGZhcm0ncyBoZWFkIG5vZGUuCisgICAgICAg
ICAgICAgICAgICAgIzpsb2NhbC1idWlsZD8gI2YKKyAgICAgICAgICAgICAgICAgICAjOm9wdGlv
bnMgYCgjOnJlZmVyZW5jZXMtZ3JhcGhzICgoLGdyYXBoICxvcykpCisgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgIzpzdWJzdGl0dXRhYmxlPyAsc3Vic3RpdHV0YWJsZT8pKSkpCisKIAwK
IDs7CiA7OyBJbWFnZSBjcmVhdGlvbi4KQEAgLTY0MCw3ICs3MTgsNyBAQCAoZGVmaW5lIChpbWFn
ZS0+cm9vdC1maWxlLXN5c3RlbSBpbWFnZSkKICAgIlJldHVybiB0aGUgSU1BR0Ugcm9vdCBwYXJ0
aXRpb24gZmlsZS1zeXN0ZW0gdHlwZS4iCiAgIChjYXNlIChpbWFnZS1mb3JtYXQgaW1hZ2UpCiAg
ICAgKChpc285NjYwKSAiaXNvOTY2MCIpCi0gICAgKChkb2NrZXIpICJkdW1teSIpCisgICAgKChk
b2NrZXIgdGFyYmFsbCkgImR1bW15IikKICAgICAoZWxzZQogICAgICAocGFydGl0aW9uLWZpbGUt
c3lzdGVtIChmaW5kLXJvb3QtcGFydGl0aW9uIGltYWdlKSkpKSkKIApAQCAtNzc4LDYgKzg1Niw4
IEBAIChkZWZpbmUgdGFyZ2V0IChjb25kCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAoImJvb3RjZmciICxib290Y2ZnKSkpKQogICAgICAgICgobWVtcSBpbWFnZS1mb3Jt
YXQgJyhkb2NrZXIpKQogICAgICAgICAoc3lzdGVtLWRvY2tlci1pbWFnZSBpbWFnZSopKQorICAg
ICAgICgobWVtcSBpbWFnZS1mb3JtYXQgJyh0YXJiYWxsKSkKKyAgICAgICAgKHN5c3RlbS10YXJi
YWxsLWltYWdlIGltYWdlKikpCiAgICAgICAgKChtZW1xIGltYWdlLWZvcm1hdCAnKGlzbzk2NjAp
KQogICAgICAgICAgKHN5c3RlbS1pc285NjYwLWltYWdlCiAgICAgICAgICAgaW1hZ2UqCi0tIAoy
LjM0LjAKCg==

--b1_BUjAoAzCIkUX7iXcojZ4mBZ8BbAdWCgALIQnL7KFA--





Information forwarded to guix-patches@HIDDEN:
bug#53912; Package guix-patches. Full text available.

Message received at 53912 <at> debbugs.gnu.org:


Received: (at 53912) by debbugs.gnu.org; 10 Feb 2022 06:12:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 10 01:12:26 2022
Received: from localhost ([127.0.0.1]:53394 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nI2gs-00039r-9f
	for submit <at> debbugs.gnu.org; Thu, 10 Feb 2022 01:12:26 -0500
Received: from mail-4022.proton.ch ([185.70.40.22]:49975)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <a@HIDDEN>) id 1nI2gn-00039Y-7t
 for 53912 <at> debbugs.gnu.org; Thu, 10 Feb 2022 01:12:25 -0500
Date: Thu, 10 Feb 2022 06:12:04 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ajgrf.com;
 s=protonmail; t=1644473534;
 bh=ZKTWAdXnZWE9SPkmAVcuOT08fFMB0GIsbvUbNFfQ/Rs=;
 h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc:Date:Subject:
 Reply-To:Feedback-ID:Message-ID;
 b=CRAjneJ7YihK6A7wjcwmThJ1iF8b4tsEC7Q7JAt6mMK2kf95QcCdv+U4Iur4SteFD
 nO6eb/m1fd8YC4GLIFt6RlHv1R4ehva6yhk7SvvxYH6JySygt1n6pK/zgrHmGHoJQO
 XcgfXBpcyybJmBMFtGOSP424a1Gp2TyoZQPTHg9u5tJEwF+fTfqCbygfy5ggO2nOG4
 eXYOtD5uLHXSCYKXPBuH6XowYPFG9KXQHV3+ymV7a9Ot6q3QOzzYanAbmNlTcmno9+
 OAGD5vU9/vXUQCUwpQjiNUrfs2+WySCum0HgY8xy77Z7Vkw3ao2bY50ZQUHZ2wmeB6
 0iUAq3EXi81Aw==
To: 53912 <at> debbugs.gnu.org
From: Alex Griffin <a@HIDDEN>
Subject: [PATCH 1/5] scripts: Fix typo.
Message-ID: <874k57dzdc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="b1_XgPtf3NIIHQdf1SebwyQI1OBUEknCTWllW2SII"
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE
 shortcircuit=no autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 53912
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Alex Griffin <a@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

This is a multi-part message in MIME format.

--b1_XgPtf3NIIHQdf1SebwyQI1OBUEknCTWllW2SII
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

This patch just fixes a simple typo needed for the next patch.

Thanks,
=E2=80=93
Alex Griffin

--b1_XgPtf3NIIHQdf1SebwyQI1OBUEknCTWllW2SII
Content-Type: text/x-patch; name=0001-scripts-Fix-typo.patch
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=0001-scripts-Fix-typo.patch

RnJvbSBjZDhiNGEzM2RhOGQ1YTJhOTIyZGEyMjdjZGIzMjU0NzVjZmZlYTAwIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQ0KRnJvbTogQWxleCBHcmlmZm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Jlc3Nvcj8NCiAgICAgICAgICAgICBjb21wcmVzc29yLW5h
bWUNCi0gICAgICAgICAgICBjb21wcmVzc29yLWV4dGVuc3Rpb24NCisgICAgICAgICAgICBjb21w
cmVzc29yLWV4dGVuc2lvbg0KICAgICAgICAgICAgIGNvbXByZXNzb3ItY29tbWFuZA0KICAgICAg
ICAgICAgICVjb21wcmVzc29ycw0KICAgICAgICAgICAgIGxvb2t1cC1jb21wcmVzc29yDQotLSAN
CjIuMzQuMA0KDQo=

--b1_XgPtf3NIIHQdf1SebwyQI1OBUEknCTWllW2SII--





Information forwarded to guix-patches@HIDDEN:
bug#53912; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Feb 2022 06:06:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 10 01:06:08 2022
Received: from localhost ([127.0.0.1]:53368 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nI2am-0002pt-5M
	for submit <at> debbugs.gnu.org; Thu, 10 Feb 2022 01:06:08 -0500
Received: from lists.gnu.org ([209.51.188.17]:45846)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <a@HIDDEN>) id 1nI2ak-0002pl-AY
 for submit <at> debbugs.gnu.org; Thu, 10 Feb 2022 01:06:06 -0500
Received: from eggs.gnu.org ([209.51.188.92]:46626)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <a@HIDDEN>) id 1nI2af-00077k-R9
 for guix-patches@HIDDEN; Thu, 10 Feb 2022 01:06:05 -0500
Received: from mail-4317.proton.ch ([185.70.43.17]:44925)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <a@HIDDEN>) id 1nI2ac-0005Rj-65
 for guix-patches@HIDDEN; Thu, 10 Feb 2022 01:06:01 -0500
Date: Thu, 10 Feb 2022 06:05:43 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ajgrf.com;
 s=protonmail; t=1644473153;
 bh=NVBQYsPc3YRVH6Rv8k3copzW8GrTYIdSXJ4/lWVj5Xo=;
 h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc:Date:Subject:
 Reply-To:Feedback-ID:Message-ID;
 b=c6xy8hXEeLjlCeBC+gLmJ0tOnYB13/TXenyBQYfU1oFii4gIbmbBmvUVWX4l58uK3
 CuTdjNnyAXyuGCEfZBeRzzZuudKGmxF/+Su1Y9p8oY3ea6lM6zVDrRAIXrssqn208J
 jXnyagwR+G9hHue3hPJ8TGCsU46IODb3Cyp6j9OglQwLL+Sk41QNQWYYAXJAUw2dsL
 56LHrhtsrvRvbQzoCYOMGD4uTqbzTm98WLwe22s7muwlei26dEzehor6Ma4PT5Iw1B
 iRFCwj9FGzpM7IGcbPlBlxuO1QuTPx3LLVN4N7OsmmlwD216alPCODFEdlLAo93lVl
 cyaZPiLtn2c3g==
To: "guix-patches@HIDDEN" <guix-patches@HIDDEN>
From: Alex Griffin <a@HIDDEN>
Subject: [PATCH 0/5] WIP Add WSL support.
Message-ID: <875ypndznv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE
 shortcircuit=no autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
Received-SPF: pass client-ip=185.70.43.17; envelope-from=a@HIDDEN;
 helo=mail-4317.proton.ch
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Alex Griffin <a@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

These patches are a work-in-progress, adding support for running Guix
System under [WSL].

      Windows Subsystem for Linux (WSL) lets developers run a GNU/Linux
      environment =E2=80=93 including most command-line tools, utilities, a=
nd
      applications =E2=80=93 directly on Windows, unmodified, without the o=
verhead
      of a traditional virtual machine or dual-boot setup.

Things mostly just work already. To try it out, first generate an
os tarball:

=E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80
=E2=94=82 guix system image gnu/system/images/wsl.scm
=E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80

Then copy the result to your Windows system and run:

=E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80
=E2=94=82 wsl --import guix ./guix/ image.tar.gz
=E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80

You can now run Guix System under WSL:

=E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80
=E2=94=82 wsl -d guix
=E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80

The approach I took is copied from the [NixOS-WSL] project. Since WSL
doesn=E2=80=99t run the guest distro=E2=80=99s init system, as a work-aroun=
d I set the
root user=E2=80=99s shell to a script that boots the system and then starts=
 a
user login shell.

Thanks,
=E2=80=93
Alex Griffin


[WSL] <https://docs.microsoft.com/en-us/windows/wsl/>

[NixOS-WSL] <https://github.com/nix-community/NixOS-WSL>





Acknowledgement sent to Alex Griffin <a@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#53912; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 25 Sep 2022 12:00:03 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.