From debbugs-submit-bounces@debbugs.gnu.org Wed May 24 18:07:59 2017 Received: (at 27037) by debbugs.gnu.org; 24 May 2017 22:07:59 +0000 Received: from localhost ([127.0.0.1]:36696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDeRj-0001Fm-91 for submit@debbugs.gnu.org; Wed, 24 May 2017 18:07:59 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:38193) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDeRg-0001Fb-3C for 27037@debbugs.gnu.org; Wed, 24 May 2017 18:07:57 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 53F18207C0; Wed, 24 May 2017 18:07:55 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Wed, 24 May 2017 18:07:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=oD9ECf7sb2SaB56Gagnz4OOSk97+ryID4N7350 wmbH4=; b=nqDr03+VmyDVBjR+Ha2hCKwHjY+b+Z3XAM7HZ7oVyn6PImM0Y5bbdC DbrcOT/xzsuZuveLZbEszB4mwTrW6CdZZp+fZSU7uzrW+s21MVCmasNLNNM6x+6E dvtwennZ31cMlK6rXZ275XdnuieNv58ys3PnoOYknjzDwEJiIu+MA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=oD9ECf7sb2SaB56Gag nz4OOSk97+ryID4N7350wmbH4=; b=jLtRdyc5Yn+jhsKtBQ1reosqvM4q6YPZWi eQjUrijA9KPfWNnNsDqz5SaCCXHWOTeYqGp753A9/WAcQEB1IIw7QeXA0XySHKr/ 8dmJkwZdLqPSPzzZ29hJpIUC6LMJPUEij0MnI7+ySH31MOgTwZArl0JcPBjmIfTe iEOfPbQdKkH6Ey/KHYaIUm0XTK/QRzWyGpiLjMdYegEQJ57AumLE31ASdhMQ84dU bv7wUB4EDhPQuEdVuQGtuiZQ4Rfo1WkqtMjAF8BwNveLR4CauFfKjgScwSqZRfWr qGhFd/tNKQyQL9Rb0ikQriq/zq97ZSMljN9GKZZBQGnLdyC8BHqA== X-ME-Sender: X-Sasl-enc: IzX72V64nloh6Z/OJMjIleBRp3vpRl5o20vMnFDPyRLA 1495663675 Received: from localhost (c-73-165-108-70.hsd1.pa.comcast.net [73.165.108.70]) by mail.messagingengine.com (Postfix) with ESMTPA id 14F2E7E7C6; Wed, 24 May 2017 18:07:55 -0400 (EDT) Date: Wed, 24 May 2017 18:07:53 -0400 From: Leo Famulari To: =?utf-8?B?6JeN5oy655GL?= Subject: Re: bug#27037: systemd service files installed by guix 0.13.0 cannot used by other distributions Message-ID: <20170524220753.GA27348@jasmine> References: <20170523161624.GA15379@jasmine> <8c249c24-b33b-3f41-112c-59e04d96803b@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <8c249c24-b33b-3f41-112c-59e04d96803b@gmail.com> User-Agent: Mutt/1.8.2 (2017-04-18) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27037 Cc: 27037@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 24, 2017 at 11:37:27PM +0800, =E8=97=8D=E6=8C=BA=E7=91=8B wrote: > Leo Famulari =E6=96=BC =E8=A5=BF=E5=85=832017=E5=B9=B405=E6=9C=8824=E6=97= =A5 00:16 =E5=AF=AB=E9=81=93: > > I'm a little confused: is there a situation where Guix is not installed > > but '/usr/bin/guix-daemon' exists? >=20 > This can happen with source installation. 'make install' installs > /usr/bin/guix* but not /var/guix. /var/guix doesn't exist until guix-daem= on > is started. I see. We discussed this use case previously, which led to the change which caused your issue: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25852#80 In short, we decided to break this for `make install` since we didn't come up with a better solution at the time. > > The path '/var/guix/profiles/per-user/root/guix-profile/bin/guix-daemon' > > is guaranteed to exist if you followed the instructions in Binary > > Installation [0], which is, as far as I know, the most common way to > > install Guix on other distros. So, I think this path is appropriate for > > the basic service file we provide. >=20 > I think you mean that the systemd service files included in Guix are only > intended to be used with binary installation process. Do you mean that us= ing > them with traditional 'make install' installation is not supported? It's de facto unsupported, since it's not working :) But, I think we should address this use case, since it is causing problems for downstream packagers. > Yes, I am packaging Guix for Arch and Fedora, and I use the systemd servi= ce > files provided by Guix in my packages since version 0.8.3. If doing so is > never supported, I can make my own service files like what I did for vers= ion > 0.6 to 0.8.2 and I think this bug can be closed. I do think you should look into tailoring a service file to those systems; you might be able to provide Guix on those systems in a more integrated or idiomatic way. However, we also try to offer upstream service files in the packages offered by Guix, so I'd like to find a way to support both the binary installation and `make install` use cases simultaneously. Unless somebody proposes a fix in the meantime, I'll look into this more closely before the next release. --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlkmBDkACgkQJkb6MLrK fwgPqBAAqtD8KnPb8WMGdIgh8U1dGWxvzIjCJxAVOPcaCwcbW4r+H2/TDy/JHUfs dA7llPbAc3DXrEARMpbG5MS19REy94X5s7Xx0GFAFx+qmzSJejtZ7NYlxNEipptX LWvOdD5uplo3TTUUFfzKYPzwAqTWJnPbPplNCeAJ9oF73a8Q498MwGMoWFIAeejC oTPDmdZ0kvZpf+y8YQqRJNGo6sjhrXEM5oZZJc+Rzo8LBEEUJ4ZuBoIadYwSwpwb oNh+S896P2v5RpaQQE8EqHYS6tkXiMRZxal8Cz+H9rfsJhNKiStyoBiZqOooUWsw eqltsGZxp2aYM8/xDI+gY3QpFGqZ8xBvdbiFKh3dcY3lCy5gUgSzsM0rhLxJtlJg 7fE1he4s10UskcFXsaoS34Xr5eOvPuqWZb8MukRPpzqFPkyPrQSZTSH9XXtH+ua8 Ltyh3aUOzUcQLB2kJykBUuGZeT8dfBzVGUBKzXO46OV1b/Cs5457YEYlmnCctxap U/h6jqUU5cyfLc6bxa+TusTKkkYAHCX/E4uM0B2BJkvycWTFx5SLFfGrO9nCWiQ4 qOFbbg//SJHK74H00WckEyE99wC7sofI11+Vy0jCCZYT/eT3bxCNLvePXJ4+Vkn3 UrSLjf6uKSZwIbUE3rYd4HITNAe2BK9t7jO9fpnHkgMpDRxawLA= =F0g6 -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--