From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: Re: question re. packaging, build, init and shepherd Date: Fri, 10 May 2019 09:12:26 +0200 Message-ID: <87mujuhjfp.fsf@roquette.mug.biscuolo.net> References: <874l63o90m.fsf@cbaines.net> <544e9b99-f1a1-8eec-b2d3-fbe8318ee93b@meetinghouse.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:48651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOziB-0004jo-5r for help-guix@gnu.org; Fri, 10 May 2019 03:12:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hOziA-00080w-4Q for help-guix@gnu.org; Fri, 10 May 2019 03:12:55 -0400 Received: from ns13.heimat.it ([46.4.214.66]:56668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOzi9-0007ze-RW for help-guix@gnu.org; Fri, 10 May 2019 03:12:54 -0400 In-Reply-To: <544e9b99-f1a1-8eec-b2d3-fbe8318ee93b@meetinghouse.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Miles Fidelman , help-guix@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Miles, Miles Fidelman writes: > On 5/9/19 1:03 PM, Christopher Baines wrote: [...] >> So, whereas I think things like systemd are aware of sysvinit scripts in >> the usual place, no: rc script are **wrapped** to service units by systemd-sysv-generator at boot or systemd service reload https://unix.stackexchange.com/a/233581 is a good summary also https://www.turnkeylinux.org/blog/debugging-systemd-sysv-init-compat that's not the solution, a full rewrite of rc script is often needed >> the shepherd is completely unaware. > > So... that kind of leaves out automatically setting up servers. I mean,=20 > most server software still comes with init files, maybe with systemd or=20 > other init files, but generally make install sets things up so that=20 > servers start & run. I'm an absolute beginner here, but AFAIU... each Guix service comes with a service definition written in guix language, as documented https://www.gnu.org/software/guix/manual/en/html_node/Defining-Services.html e.g. OpenSSH definition is: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/ssh.scm#n263 guix services definition and activation is "another story" compared to what happens in other init systems ...and yes, we (including me) have to study Guile and Guix to be able to define guix services... and that's a lot of fun :-) > So how does GUIX support this? AFAIK Guix does not support wrapping rc scripts > And, for that matter, how does GUIX handle any kind of post-install=20 > configuration?=C2=A0 E.g., the kind of things that debconf might be used > for. declaratively, via https://www.gnu.org/software/guix/manual/en/html_node/System-Configuration.= html that's much more than apt+debconf+devops(ansible,puppet,cfengine,younameit) [...] HTH! Gio' =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlzVJFsACgkQ030Op87M ORJjWxAAxRxXdSaxEN8uDMayRYxPApFR6OAQ7ZcEJ9flf1uiJ4UMa2cskhhfgFu+ 50hhkzksWwLEjT+xTd8kZsG2OKVhiwGo7vMn8zKtCL+2sZNRU9f40jVYtPFFUawT hHYLXC0dSCYRtLtXC/Iu9hTEnaX2gZhhFqgC3yKTAZlHDmbCjNIwM72lcEvcB7AE 1Uum2PALZUg4+o/QnJAjA7vYNBujisxiHGb4nIHSdviWtkfJBz3+gQxMEoV3NCLb MjyjoS/WVKrdqKjtPLg7EPAPSEgjLa27GllgTyZ1g5fwxgCz1kfSseuBwpzg4/Nw Fgupvz2IJ/6/7WAUga32EaU8VwezoOecVJ8dUZs46RvZ2xdD/kOoigMj6tRO5Qqu gPHCDx3LJoLRhmmRpN3W6m8q1PvoQ75vviwSsCqYLGQi1gapeSZ6gIz5CwzyT+vG 5u9vocG2qJd7BZ8v615XdUfYjLL6CFr5Ws2tLWJwYw5SULMyBzH0396u10PMh0QE HtOEXot74suxDmnT3BGvEDbsKM64KqXT0Q1Z0vExguYOWiZfLnBem7WP41RzR40f AGInRcTYOmBetcY0Dx+0YEyo10wuTsSHY39EwuR3nltyGFcZ7HZL8atLq7uL/4g4 fyV92lD+b3QpSDrJPMvQhmLXvqd8lSdq1aira178aHHeFnt2NqM= =yIhr -----END PGP SIGNATURE----- --=-=-=--