From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Wingo Subject: Re: Services and packages in GuixSD Date: Wed, 26 Aug 2015 13:06:21 +0200 Message-ID: <878u8y2tsi.fsf@igalia.com> References: <87lhdkpfeu.fsf@igalia.com> <87egj9mhq4.fsf@gmail.com> <87y4hh2b26.fsf@igalia.com> <871terjebs.fsf@inria.fr> <87si7634hx.fsf@igalia.com> <87h9nmb9ra.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUYXF-000873-M2 for guix-devel@gnu.org; Wed, 26 Aug 2015 07:06:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUYXC-0002zr-FB for guix-devel@gnu.org; Wed, 26 Aug 2015 07:06:29 -0400 In-Reply-To: <87h9nmb9ra.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 26 Aug 2015 12:54:17 +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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org On Wed 26 Aug 2015 12:54, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Andy Wingo skribis: > >> On Tue 25 Aug 2015 22:36, ludo@gnu.org (Ludovic Court=C3=A8s) writes: >> >>> However, the above means that the >>> reconfigure-but-don=E2=80=99t-switch-until-reboot behavior would no lon= ger be >>> possible. >> >> Not sure what this case is for -- either you want to expose the newly >> reconfigured apps to the user or you don't, right? In the former case >> it seems that really what you want is to prepare everything for reboot >> but only switch the profile on boot. Dunno, I don't have the tao of >> guix yet :) > > It can be useful if you want to install a new configuration to make it > effective at the next reboot, but don=E2=80=99t want to make any change u= ntil > then. Oh I agree with you -- but if you switch the system profile before the reboot (/run/current-system, not /run/booted-system) but you have various things pointing into /run/current-system like user $PATH and what-not, it seems like this case is already not being served correctly. Dunno. It seems like you want two kinds of reconfigure: one that just adds the grub entry to make a new system the default on the next boot, and another kind of reconfigure that also mutates /run/current-system. Does that make sense? Andy