From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#27037: systemd service files installed by guix 0.13.0 cannot used by other distributions Date: Wed, 24 May 2017 18:07:53 -0400 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" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDeRs-0007VL-F0 for bug-guix@gnu.org; Wed, 24 May 2017 18:08:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDeRp-0004kb-8l for bug-guix@gnu.org; Wed, 24 May 2017 18:08:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34019) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dDeRm-0004fn-Uw for bug-guix@gnu.org; Wed, 24 May 2017 18:08:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dDeRm-0001G5-GT for bug-guix@gnu.org; Wed, 24 May 2017 18:08:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <8c249c24-b33b-3f41-112c-59e04d96803b@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: =?UTF-8?Q?=E8=97=8D=E6=8C=BA=E7=91=8B?= Cc: 27037@debbugs.gnu.org --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--