From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: Re: Please put the system-configuration into the image Date: Fri, 08 Sep 2017 13:45:21 +0200 Message-ID: References: <2af008a3-ba55-1894-4cad-3afee197b225@crazy-compilers.com> <20170905180529.yk2kphegofhu7rft@abyayala> <1ee6f79c-a1b2-fe38-7cb2-e3ca4220985f@crazy-compilers.com> <87h8wezz9n.fsf@gnu.org> <9d3029d4-8069-4c95-702e-6194f7fa8cd2@crazy-compilers.com> <20170907124306.yy7seidv66ajlkka@abyayala> <8d2454ec-c878-0e30-fa06-5fd00f017560@crazy-compilers.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----EB9SB3KSY3HSYLB1DXIYC5DHJDF6GM" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqHiz-0002EY-J8 for guix-devel@gnu.org; Fri, 08 Sep 2017 07:45:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqHiw-0007K8-BK for guix-devel@gnu.org; Fri, 08 Sep 2017 07:45:29 -0400 Received: from lepiller.eu ([89.234.186.109]:43200 helo=localhost) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dqHiw-0007IL-1s for guix-devel@gnu.org; Fri, 08 Sep 2017 07:45:26 -0400 Received: from [131.254.252.29] (131.254.252.29 [131.254.252.29]) by localhost (OpenSMTPD) with ESMTPSA id ab9c47ff (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Fri, 8 Sep 2017 11:45:23 +0000 (UTC) In-Reply-To: <8d2454ec-c878-0e30-fa06-5fd00f017560@crazy-compilers.com> 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: guix-devel@gnu.org ------EB9SB3KSY3HSYLB1DXIYC5DHJDF6GM Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Le 8 septembre 2017 12:11:45 GMT+02:00, Hartmut Goebel a =C3=A9crit : >Am 07=2E09=2E2017 um 14:43 schrieb ng0: >> You can take any system configuration file and build a shared or >free-standing >> vm with the "guix system" function=2E It > >I'm afraid, you did not get the point (No offence meant!): I know that >I >can do this=2E I also know that I can maintain configs via git=2E But all >this is the developers perspective=2E > >If somebody is downloading the ISO-image and installing GuixSD on some >machine =E2=80=93 stand-alone, no other GuixSD systems around: He/she wou= ld >store the system-config somewhere on the machine, change it and >"reconfigure" and hack around=2E (At least this is what I would do=2E) So >why there is no starting-point for system-config in the image? Why >would >the user need to download it from some (no quite obvious) >internet-address? > >I also would expect to have the config for this very system at hand=2E >Yes, the manual has a section "Building the Installation Image", but >*if* I ever recognize this section, I'd still have to dig into the >source and fetch the actual file=2E > >For making live easier for new users and for encouraging them to >re-gain >the power over their computer, we should IMHO serve the config on=C2=A0 >silver plate=2E > >I hope my motivation is more clear now=2E > >--=20 >Regards >Hartmut Goebel > >| Hartmut Goebel | h=2Egoebel@crazy-compilers=2Ecom = =20 >| >| www=2Ecrazy-compilers=2Ecom | compilers which you thought are impossibl= e >| I also agree with Hartmut=2E In the installation image, we have /etc/confi= guration which contains some sample configuration you can start from to def= ine your system=2E There is no need to have the configuration of the live s= ystem I think, because it is not what you want to install on your disk=2E The qemu image however is meant to be copied directly to the virtual disk = of a VM, so it is not a live system, but your own system=2E I think it woul= d be better for the user to be able to access the configuration directly fr= om the VM and start from a known-good config before reconfiguring=2E I now = have a running GuixSD VM and it was a pain to configure, because the interf= ace to the VM did not allow copy-pasting and had a strange plugin for inter= preting my keystrokes=2E Had I have this file on the VM, I could have modif= ied only a small portion of it and continue with ssh=2E But I had to copy t= he sample config character by character and hope I did not do any mistake= =2E If no one beats me to this, I'll try to make a patch for it this week-end= =2E ------EB9SB3KSY3HSYLB1DXIYC5DHJDF6GM Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Le 8 septembre 2017 12:= 11:45 GMT+02:00, Hartmut Goebel <h=2Egoebel@crazy-compilers=2Ecom> a = =C3=A9crit :
Am 07=2E09=2E2017 um 14:43 schrieb ng0:
You can take any system configur= ation file and build a shared or free-standing
vm with the "guix= system" function=2E It

I'm afraid, you did no= t get the point (No offence meant!): I know that I
can do this=2E I al= so know that I can maintain configs via git=2E But all
this is the dev= elopers perspective=2E

If somebody is downloading the ISO-image = and installing GuixSD on some
machine – stand-alone, no other Gu= ixSD systems around: He/she would
store the system-config somewhere on= the machine, change it and
"reconfigure" and hack around=2E= (At least this is what I would do=2E) So
why there is no starting-poi= nt for system-config in the image? Why would
the user need to download= it from some (no quite obvious) internet-address?

I also would = expect to have the config for this very system at hand=2E
Yes, the man= ual has a section "Building the Installation Image", but
*if= * I ever recognize this section, I'd still have to dig into the
source= and fetch the actual file=2E

For making live easier for new use= rs and for encouraging them to re-gain
the power over their computer, = we should IMHO serve the config on 
silver plate=2E

I = hope my motivation is more clear now=2E

I also agree with Hartmut=2E In the installation image, we hav= e /etc/configuration which contains some sample configuration you can start= from to define your system=2E There is no need to have the configuration o= f the live system I think, because it is not what you want to install on yo= ur disk=2E

The qemu image however is meant to be copied directly to the virtual disk = of a VM, so it is not a live system, but your own system=2E I think it woul= d be better for the user to be able to access the configuration directly fr= om the VM and start from a known-good config before reconfiguring=2E I now = have a running GuixSD VM and it was a pain to configure, because the interf= ace to the VM did not allow copy-pasting and had a strange plugin for inter= preting my keystrokes=2E Had I have this file on the VM, I could have modif= ied only a small portion of it and continue with ssh=2E But I had to copy t= he sample config character by character and hope I did not do any mistake= =2E

If no one beats me to this, I'll try to make a patch for it this week-= end=2E ------EB9SB3KSY3HSYLB1DXIYC5DHJDF6GM--