From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQ7wx-0000HU-S6 for guix-patches@gnu.org; Sat, 16 Dec 2017 03:36:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQ7wx-00029S-1T for guix-patches@gnu.org; Sat, 16 Dec 2017 03:36:03 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:55935) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eQ7ww-00029J-Uc for guix-patches@gnu.org; Sat, 16 Dec 2017 03:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eQ7ww-00072n-OX for guix-patches@gnu.org; Sat, 16 Dec 2017 03:36:02 -0500 Subject: [bug#29732] [PATCH 0/1] Add a DHCP daemon service Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQ7wk-0000H2-Co for guix-patches@gnu.org; Sat, 16 Dec 2017 03:35:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQ7wj-0001wz-MF for guix-patches@gnu.org; Sat, 16 Dec 2017 03:35:50 -0500 Received: from mail-pl0-x233.google.com ([2607:f8b0:400e:c01::233]:40686) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eQ7wj-0001wb-G5 for guix-patches@gnu.org; Sat, 16 Dec 2017 03:35:49 -0500 Received: by mail-pl0-x233.google.com with SMTP id 62so385244pld.7 for ; Sat, 16 Dec 2017 00:35:49 -0800 (PST) From: Chris Marusich Date: Sat, 16 Dec 2017 00:35:28 -0800 Message-Id: <20171216083528.2081-1-cmmarusich@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 29732@debbugs.gnu.org Cc: Chris Marusich Hi, The following patch adds a DHCP daemon service. It applies cleanly to commit 341bddb31542d03bef35b1234e6e9466be337798. I haven't found the time to add system tests yet, and I'm not sure how easy it would be to do that (wouldn't such a system test require at least two marionetted VMs? Or is it possible to do it with just one?). Any thoughts about how to do that would be welcome. In addition, I decided not to provide any kind of Guile scheme representation for the daemon's config file, since that was the quickest way for me to get a working DHCP daemon service. I think it makes sense to let a user specify a config file explicitly, like this patch does. I also think it would be neat to provide a way to configure the daemon in Guile scheme, like we do for other services such as openssh. Any thoughts on this front would be welcome, too. Chris Marusich (1): services: Add dhcpd-service-type and . doc/guix.texi | 17 +++++++++++ gnu/services/networking.scm | 72 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) -- 2.15.1