From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thompson, David" Subject: bug#22039: 'guix system reconfigure' must start/restart/stop services Date: Wed, 3 Feb 2016 16:34:14 -0500 Message-ID: References: <874mg6rsjl.fsf@gnu.org> <87h9hp7a5h.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]:50113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR54s-0006L2-Cy for bug-guix@gnu.org; Wed, 03 Feb 2016 16:35:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR54o-00034c-17 for bug-guix@gnu.org; Wed, 03 Feb 2016 16:35:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:49877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR54n-00034E-Tr for bug-guix@gnu.org; Wed, 03 Feb 2016 16:35:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aR54n-0000v3-Mt for bug-guix@gnu.org; Wed, 03 Feb 2016 16:35:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87h9hp7a5h.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 22039@debbugs.gnu.org On Wed, Feb 3, 2016 at 4:32 PM, Ludovic Court=C3=A8s wrote: > ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > >> Currently =E2=80=98guix system reconfigure=E2=80=99 doesn=E2=80=99t try = to dynamically update >> the set of running services, which is a shame. >> >> A simple strategy would be to have it: >> >> 1. Stop and unregister services currently known to dmd that are >> missing in the new configuration. >> >> 2. Load and start (if they have =E2=80=98auto-start?=E2=80=99) service= s that are in >> the new configuration and currently unknown to dmd. >> >> 3. The rest is the most difficult part: dealing with services that >> already exist but that have changed (see below.) > > Commit 240b57f implements #1 and #2. Awesome! This is very good progress. - Dave