From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Service refactoring Date: Mon, 21 Sep 2015 18:00:54 +0200 Message-ID: <877fnjn4nd.fsf@gnu.org> References: <87a8t3mc2v.fsf@netris.org> <87d1xyk45i.fsf@igalia.com> <87vbbn44zi.fsf_-_@gnu.org> <87a8shp05k.fsf@gnu.org> <87r3lsrxqp.fsf@igalia.com> 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]:44283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ze3WX-0003VE-Q5 for guix-devel@gnu.org; Mon, 21 Sep 2015 12:01:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ze3WT-0008NB-Gz for guix-devel@gnu.org; Mon, 21 Sep 2015 12:01:01 -0400 In-Reply-To: <87r3lsrxqp.fsf@igalia.com> (Andy Wingo's message of "Mon, 21 Sep 2015 08:18:54 +0000") 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: Andy Wingo Cc: guix-devel@gnu.org Andy Wingo skribis: > On Sun 20 Sep 2015 15:42, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> I=E2=80=99m quite happy with the result, but comments are welcome! I=E2= =80=99ll convert >> some more services to see how it goes. > > Neat! Sounds great. One question: there are some services like colord > or geoclue that don't need to be managed by DMD, but are just declared > as services so that their users are created, there /var/foo directories > are created, etc. The can be started by D-Bus as needed. Does the new > design support services of this kind? Yes it does. =E2=80=98colord=E2=80=99 will =E2=80=9Cextend=E2=80=9D the D-Bus service by= giving it its package object (thus its .service files), it will extend the activation service by providing it #~(mkdir "/var/foo"), and it will extend the account service by passing it its user accounts/groups. We=E2=80=99re getting there. :-) Ludo=E2=80=99.