From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleg Pykhalov Subject: Re: Chrooting into GuixSD Date: Thu, 14 Jun 2018 17:29:21 +0300 Message-ID: <87d0wt4f26.fsf@gmail.com> References: <8FCA4777-D0E1-4379-AF97-FD0785D26585@riseup.net> <5e600d9e-b123-17c0-302f-3f3cd6626e26@crazy-compilers.com> <20180613081346.jhkzdorwjp6albqx@abyayala> <20180614121856.n7os3fotwtpv675k@abyayala> <877en1bjub.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTTFk-00080A-AL for guix-devel@gnu.org; Thu, 14 Jun 2018 10:29:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTTFg-0004hq-Am for guix-devel@gnu.org; Thu, 14 Jun 2018 10:29:32 -0400 Received: from mail-lf0-x22c.google.com ([2a00:1450:4010:c07::22c]:36351) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTTFg-0004hO-2a for guix-devel@gnu.org; Thu, 14 Jun 2018 10:29:28 -0400 Received: by mail-lf0-x22c.google.com with SMTP id u4-v6so9769548lff.3 for ; Thu, 14 Jun 2018 07:29:27 -0700 (PDT) In-Reply-To: <877en1bjub.fsf@elephly.net> (Ricardo Wurmus's message of "Thu, 14 Jun 2018 15:04:12 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org, Nils Gillmann --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Ricardo Wurmus writes: > Nils Gillmann writes: > >> Thorsten Wilms transcribed 1.2K bytes: >>> On 13.06.2018 10:13, Nils Gillmann wrote: [=E2=80=A6] >>> You can interact with the daemon: >>> >>> cd /path/to/guix/root >>> sudo mount --bind /dev dev >>> sudo mount --bind /proc proc >>> sudo mount --bind /sys sys >>> sudo unshare -m sudo chroot . /run/current-system/profile/bin/bash >>> source /etc/profile >>> >>> guix-daemon --build-users-group=3Dguixbuild & >>> >>> If you then `su` to a plain user, do `source /etc/profile` again. >>> >>> I think all of `guix pull`. `reconfigure` and `package` search, install= and >>> update worked here with that approach. `guix download` failed due to nss >>> certificates, until I added: >>> export SSL_CERT_DIR=3D"$HOME/.guix-profile/etc/ssl/certs" >>> export >>> SSL_CERT_FILE=3D"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt" >>> export GIT_SSL_CAINFO=3D"$SSL_CERT_FILE" >> >> Huh. Okay, cool. Thanks for documeting this at least on the mailing list= :) > > Would any of you like to document this in the manual? I would because I posted articles like the current one sometime ago. Maybe a separate =E2=80=98users-stories.texi=E2=80=99 should be as was disc= ussed somewhere on a mailing list (as I remember)? https://lists.nongnu.org/archive/cgi-bin/namazu.cgi?query=3DReinstall+GuixS= D+from+another+distribution+with+chroot+%28Recover+Grub%29&submit=3DSearch&= idxname=3Dhelp-guix https://lists.gnu.org/archive/html/help-guix/2017-10/msg00035.html [=E2=80=A6] Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEc+OyAXw1EaDPCmAPckbhHGm3lWkFAlsie8EACgkQckbhHGm3 lWnsJA//dEjPiJNXnGDmuWyfKKerJuMLZ3pelG3Si+JkQeVKHQIQJwW6+/L0xTsy F6vjWGbntHWDgzc0dnQr4XMCiS4TLJ7XIBSQO807sFMMe2O/7eus672kCpgg6D5i VMbzeqN3792JMshhPVVAhGzBIWZpTnKA8mO0ob5GS7vRCbdUP3sNWkIzgpPsfpg7 snwAUhNCre5cFulAxLqrJxuVw+xX2mj1N+vepREaTYMF4FP8mIzJVAz/INQWp/Ex yCmtNgeewBP15ZFJ2H4QIiv2ZAeMIenhll8StrD3PXtnIUG+SKxBv74es+FJex5/ zrLBV4YfsWTaO2ZbpzPpk6JUVBQSMtY2JKx1IhbdRVuz98wa1n0kOmTGb/TgvBL0 ANY30WlhS9JgTxzj+5Sp/6GvocwWGo2qmoZEZPpXqD7d61Rtvo13tS/ct9X6gq/K Wgh2V02ZGAVDAHbNL0DgkI3TG1zr1A6WFmJt/bzXHxiCtJHiUOkCO5xHkQv2/eau BvrVcSR8QalTxerZ2uNLNEOwvqjBVUUQaRC1e58ixacG4xeVZnTMQD89/nBjYxtk 8JcIL4DOTYn4nLKWDejhrtD3mFDByChpoRspiZKoCS3msYfwpc3pLwRKLmV7dZx0 eHVrdnPb6VlYCfEaHT9eNDtjJdmF+6fVEzzWrrYMHpwhzdD6cx4= =3Kua -----END PGP SIGNATURE----- --=-=-=--