From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] gnu: Add systemd. Date: Sun, 01 Apr 2018 14:49:23 +0200 Message-ID: <87lge7f5ws.fsf@gnu.org> References: <20180401122259.9688-1-mbakke@fastmail.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]:45263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f2cQp-0005Bm-Mo for guix-devel@gnu.org; Sun, 01 Apr 2018 08:50:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f2cQm-0007Ql-HT for guix-devel@gnu.org; Sun, 01 Apr 2018 08:49:59 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:47052) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f2cQm-0007PZ-6z for guix-devel@gnu.org; Sun, 01 Apr 2018 08:49:56 -0400 In-Reply-To: <20180401122259.9688-1-mbakke@fastmail.com> (Marius Bakke's message of "Sun, 1 Apr 2018 14:22:59 +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" To: Marius Bakke Cc: guix-devel@gnu.org Hello Marius, Marius Bakke skribis: > As discussed at FOSDEM, it is clear that The Shepherd does not have what > it takes to boot a modern Linux system. While it works today, adding > bootloader, DNS server, NTP client, syslog, udev, seat management, > dishwasher, hardware database, network management and other essential > PID 1 features is going to take too much effort and duplicate work. To be honest, while the Shepherd has been a fun hack, I=E2=80=99ve been mor= e and more feeling that yeah, it wouldn=E2=80=99t cut it in the long term (it=E2= =80=99s also become clearer Scheme as convenient as C when it comes to systems programming and things like dealing with dependency graphs.) Thanks a lot for taking this step! > Meanwhile, GuixSD keeps drifting away from other distributions. This > patch is the first of many in order to gain feature parity with the > modern GNU/Linux world. 2018 is surely the year of the GuixSD desktop! I hope so! Note that we=E2=80=99ll have to think about actual integration = in GuixSD. I suppose we could change services to generate unit files? > + (add-before 'check 'disable-broken-tests > + (lambda _ > + (delete-file "test-network") ;requires l= oopback > + (delete-file "test-engine") ;requires c= groups > + (delete-file "test-unit-name") ;likewise > + (delete-file "test-unit-file") ;likewise > + (delete-file "test-copy") ;FIXME > + (delete-file "test-condition") ;requires c= ontainers > + (delete-file "test-mount-util") ;requires /= sys > + (delete-file "test-exec-util") ;FIXME > + (delete-file "test-xattr-util") ;FIXME > + (delete-file "test-fs-util") ;requires /= var/tmp > + (delete-file "test-stat-util") ;FIXME > + (delete-file "test-user-util") ;needs "roo= t" user > + (delete-file "test-path-lookup") ;expects sy= stemd paths > + (delete-file "test-namespace") ;requires c= ontainers > + (delete-file "test-bpf") ;requires c= groups > + (delete-file "test-fileio") ;FIXME > + (delete-file "test-time-util") ;FIXME tzda= ta > + (delete-file "test-date") ;likewise > + (delete-file "test-calendarspec") ;likewise > + (delete-file "test-cgroup-util") ;requires c= group (duh) > + (delete-file "test-strv") ;FIXME > + (delete-file "test-path-util") ;FIXME /bin= /sh > + (delete-file "test-path") ;requires c= group > + (delete-file "test-sched-prio") ;requires c= group > + (delete-file "test-id128") ;FIXME > + (delete-file "test-journal-flush") ;FIXME > + (delete-file "test-bus-creds") ;requires c= group > + (delete-file "test-login") ;FIXME > + (delete-file "test-dhcp-client") ;requires n= etwork > + (delete-file "test-dhcp6-client") ;likewise I wonder if we should be concerned about these test failures. > + (inputs > + `(("acl" ,acl) > + ("audit" ,audit) > + ("bash" ,bash) > + ("bzip2" ,bzip2) > + ("coreutils" ,coreutils) > + ("cryptsetup" ,cryptsetup) > + ("curl" ,curl) > + ("dbus" ,dbus) > + ;; TODO: Add gnu-efi for bootloader functionality. > + ("elfutils" ,elfutils) > + ("glib" ,glib) > + ("glibc" ,glibc) > + ("gnutls" ,gnutls) > + ("kbd" ,kbd) > + ("kmod" ,kmod) > + ("libcap" ,libcap) > + ("libgcrypt" ,libgcrypt) > + ("libidn2" ,libidn2) > + ("libmicrohttpd" ,libmicrohttpd) > + ("libseccomp" ,libseccomp) > + ("libxkbcommon" ,libxkbcommon) > + ("linux-pam" ,linux-pam) > + ("lz4" ,lz4) > + ("pcre2" ,pcre2) > + ("python" ,python) > + ("qrencode" ,qrencode) > + ("util-linux" ,util-linux) > + ("xz" ,xz) > + ("zlib" ,zlib))) There seem to be relatively few dependencies here. Aren=E2=80=99t we missi= ng important features? Also, did you make sure that the built-in HTTP server listens to 0.0.0.0 by default? That makes remote administration much more convenient. Thank you! Ludo=E2=80=99.