From unknown Sun Aug 17 01:58:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24834: Samba commands expect configuration file inside store Resent-From: Adonay Felipe Nogueira Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 31 Oct 2016 10:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24834 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 24834@debbugs.gnu.org X-Debbugs-Original-To: =?UTF-8?Q?Relat=C3=B3rios?= de falhas do Guix e GuixSD Received: via spool by submit@debbugs.gnu.org id=B.147790912726774 (code B ref -1); Mon, 31 Oct 2016 10:19:01 +0000 Received: (at submit) by debbugs.gnu.org; 31 Oct 2016 10:18:47 +0000 Received: from localhost ([127.0.0.1]:37657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c19fz-0006xm-K5 for submit@debbugs.gnu.org; Mon, 31 Oct 2016 06:18:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c19fx-0006xX-D8 for submit@debbugs.gnu.org; Mon, 31 Oct 2016 06:18:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c19fr-0003K0-DL for submit@debbugs.gnu.org; Mon, 31 Oct 2016 06:18:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53230) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c19fr-0003Ju-AC for submit@debbugs.gnu.org; Mon, 31 Oct 2016 06:18:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c19fq-0003UA-82 for bug-guix@gnu.org; Mon, 31 Oct 2016 06:18:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c19fn-0003HD-0t for bug-guix@gnu.org; Mon, 31 Oct 2016 06:18:38 -0400 Received: from smtp10.openmailbox.org ([62.4.1.44]:47743) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c19fm-0003GH-Oo for bug-guix@gnu.org; Mon, 31 Oct 2016 06:18:34 -0400 Received: by mail2.openmailbox.org (Postfix, from userid 1001) id 0A6571047F0; Mon, 31 Oct 2016 11:18:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1477909112; bh=abO417BIwH9v7HGas4Gil5ebpvWlOXcpHrYHxbnr4QU=; h=Subject:From:To:Date:From; b=SFvUcz8sI4oRjvM0m8JCHc2vmCClg9Tk4rRIc/QT89aQqE2GHKjXF4XIRW7vrKQaC i2jPdL0Z5scnE+ZD/lJ6s3smf/EFJp1mL/f9TbC9XIBKCf9NSkEFMmWISr9R4kAFFm cJNretXEC0b42xaqfJU145PIUXI+amiJ5gEYOmDc= Message-ID: <1477909074.12434.4.camel@adfeno-VPCEG17FB> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1477909106; bh=abO417BIwH9v7HGas4Gil5ebpvWlOXcpHrYHxbnr4QU=; h=Subject:From:To:Date:From; b=aA3z/0NhkiLVSjojf1HiHMlk58GpzUN6d8z6uSDvE2QCJ+X9eY0pMIsNIZrbr/nPF ce6RkiJNi1RZXDV6gMyaryUi2XX0BUSK8RXH1FnitOqL9ftQQtI5ElI5WFN61gK1Q5 rEVm0BCIeJJ4WFCg9XV/tieF3pdQgfSvi8e+sNgw= From: Adonay Felipe Nogueira Date: Mon, 31 Oct 2016 08:17:54 -0200 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-G1XLMN2vYLJA4uWzT6in" X-Mailer: Evolution 3.10.4-0ubuntu2+7.0trisquel1 Mime-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) 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: -4.0 (----) --=-G1XLMN2vYLJA4uWzT6in Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable # Begin of terminal interaction $ strace ".guix-profile/sbin/samba/smbd" stat64("/gnu/store/...-samba-4.5.0/etc/samba/smb.conf", 0xbfeb41b0) =3D -1 ENOENT (No such file or directory) open("/gnu/store/...-samba-4.5.0/etc/samba/smb.conf", O_RDONLY| O_LARGEFILE) =3D -1 ENOENT (No such file or directory) stat64("/etc/localtime", {st_mode=3DS_IFREG|0644, st_size=3D2001, ...}) =3D= 0 exit_group(1) =3D ? +++ exited with 1 +++ # End of terminal interaction Sorry for my brevity, I'll return to this issue at a later time. --=-G1XLMN2vYLJA4uWzT6in Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iF4EABEIAAYFAlgXGlIACgkQyNbhUgHunaFg/gEAtIU0Z3vfPa+S37Xy7wp69kBy tpDUAX/AihxXjzZDv0kA/3Yh7+0pvb/arynovg2l1P/eDVsMkwPB0Apo7We5VX3o =PaxM -----END PGP SIGNATURE----- --=-G1XLMN2vYLJA4uWzT6in-- From unknown Sun Aug 17 01:58:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24834: Samba commands expect configuration file inside store Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 03 Nov 2016 13:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24834 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Adonay Felipe Nogueira Cc: 24834@debbugs.gnu.org Received: via spool by 24834-submit@debbugs.gnu.org id=B24834.147818034711283 (code B ref 24834); Thu, 03 Nov 2016 13:40:02 +0000 Received: (at 24834) by debbugs.gnu.org; 3 Nov 2016 13:39:07 +0000 Received: from localhost ([127.0.0.1]:41256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2IEU-0002vt-A7 for submit@debbugs.gnu.org; Thu, 03 Nov 2016 09:39:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:32795) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2IES-0002vQ-95 for 24834@debbugs.gnu.org; Thu, 03 Nov 2016 09:39:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2IEM-0006bV-4Z for 24834@debbugs.gnu.org; Thu, 03 Nov 2016 09:38:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2IEM-0006bC-23; Thu, 03 Nov 2016 09:38:58 -0400 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:59920 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1c2IEL-0003sj-Fp; Thu, 03 Nov 2016 09:38:57 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <1477909074.12434.4.camel@adfeno-VPCEG17FB> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 13 Brumaire an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Thu, 03 Nov 2016 14:38:55 +0100 In-Reply-To: <1477909074.12434.4.camel@adfeno-VPCEG17FB> (Adonay Felipe Nogueira's message of "Mon, 31 Oct 2016 08:17:54 -0200") Message-ID: <87h97ovg28.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.3 (-------) 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: -7.3 (-------) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Adonay Felipe Nogueira skribis: > # Begin of terminal interaction > $ strace ".guix-profile/sbin/samba/smbd" > stat64("/gnu/store/...-samba-4.5.0/etc/samba/smb.conf", 0xbfeb41b0) =3D -1 Presumably part of the solution is the attached patch, but very often =E2=80=98make install=E2=80=99 tries to mkdir $(sysconfdir), so a bit of ad= ditional work may be needed. Can you look into it? Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm index 1706ec3..447720c 100644 --- a/gnu/packages/samba.scm +++ b/gnu/packages/samba.scm @@ -121,6 +121,7 @@ anywhere.") ;; XXX: heimdal not packaged. "--bundled-libraries=com_err" (string-append "--prefix=" out) + "--sysconfdir=/etc" ;; Install public and private libraries into ;; a single directory to avoid RPATH issues. (string-append "--libdir=" libdir) --=-=-=-- From unknown Sun Aug 17 01:58:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24834: Samba commands expect configuration file inside store Resent-From: Adonay Felipe Nogueira Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 18 Nov 2016 09:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24834 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 24834@debbugs.gnu.org Received: via spool by 24834-submit@debbugs.gnu.org id=B24834.147946267510651 (code B ref 24834); Fri, 18 Nov 2016 09:52:01 +0000 Received: (at 24834) by debbugs.gnu.org; 18 Nov 2016 09:51:15 +0000 Received: from localhost ([127.0.0.1]:33121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c7fpD-0002li-Jo for submit@debbugs.gnu.org; Fri, 18 Nov 2016 04:51:15 -0500 Received: from smtp29.openmailbox.org ([62.4.1.63]:56661 helo=smtp14.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c7fpB-0002lZ-S3 for 24834@debbugs.gnu.org; Fri, 18 Nov 2016 04:51:14 -0500 Received: by mail.openmailbox.org (Postfix, from userid 20002) id CF6132075DB; Fri, 18 Nov 2016 10:51:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1479462672; bh=0/eZzC+IlgDZGnh21ccvZinTsYcpVPnMXqXBK+Fu9IU=; h=From:To:Subject:References:Date:In-Reply-To:From; b=BEe3lR9EhyTCDL5Y3nIHJ2WHgrIYW4O21P42nn6zmVsW9pZ/anrTBhes58sSQem8q CN8ZU0TjFWqPTTJor4wPFKSDCHtoNwnGAORAYuS9JaRIuDV2OmZNhgyVs7rPHV0SaF QXvBWuZz4VJEp5pDY2/qVxjVfQSySfDOr9GziCc8= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on h4 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 From: Adonay Felipe Nogueira DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1479462667; bh=0/eZzC+IlgDZGnh21ccvZinTsYcpVPnMXqXBK+Fu9IU=; h=From:To:Subject:References:Date:In-Reply-To:From; b=QH0ChQDXL4sT3PcZln5Cfm6LRl1LimvCamL/eBTpw8DgdAskd+hV7eyPlbUfofwRn m4GDqppLCsSH/mxUzDhgEiq1khU0Nlfib4vapeOrBmuD0djxPgq2WE7Od1PCkBRsXw nuGb2cvE1aWUHiyiqaK+HTKZvykMjqGOF0eeeCXE= References: <1477909074.12434.4.camel@adfeno-VPCEG17FB> <87h97ovg28.fsf@gnu.org> Date: Fri, 18 Nov 2016 07:50:54 -0200 In-Reply-To: <87h97ovg28.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 03 Nov 2016 14:38:55 +0100") Message-ID: <87polt9kw1.fsf@openmailbox.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.9 (--) 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: -2.9 (--) Thank you for the suggestion! I'll reinstall Samba from Guix here, and will test it. I plan to do so this weekend. Respectfully, Adonay. From unknown Sun Aug 17 01:58:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24834: Samba commands expect configuration file inside store Resent-From: Adonay Felipe Nogueira Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 23 Nov 2016 10:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24834 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 24834@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.147989793520437 (code B ref -1); Wed, 23 Nov 2016 10:46:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Nov 2016 10:45:35 +0000 Received: from localhost ([127.0.0.1]:38908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9V3X-0005JZ-Dj for submit@debbugs.gnu.org; Wed, 23 Nov 2016 05:45:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35451) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9V3V-0005JK-Ii for submit@debbugs.gnu.org; Wed, 23 Nov 2016 05:45:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9V3M-0003UO-Aq for submit@debbugs.gnu.org; Wed, 23 Nov 2016 05:45:28 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49538) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c9V3M-0003UK-7K for submit@debbugs.gnu.org; Wed, 23 Nov 2016 05:45:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9V3E-0005iS-31 for bug-guix@gnu.org; Wed, 23 Nov 2016 05:45:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9V3A-0003QG-7W for bug-guix@gnu.org; Wed, 23 Nov 2016 05:45:16 -0500 Received: from smtp12.openmailbox.org ([62.4.1.46]:57284) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c9V39-0003PR-TV for bug-guix@gnu.org; Wed, 23 Nov 2016 05:45:12 -0500 Received: by mail2.openmailbox.org (Postfix, from userid 1001) id A74D5103507; Wed, 23 Nov 2016 11:45:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1479897909; bh=aUg77qIn920sLDBtn7AaYCTHFikJxAokMSGb8t3EO1Y=; h=From:To:Subject:In-Reply-To:References:Date:From; b=J+HdgjcnVWcP/znr79Jzz1aEH661nwYxSSMwnLHYGAO7ReC3MxP7GpxpAEoC1GNYR SQ/3/DpcbVG9HaqSsY07147KOHU7snLPzZJZVuEUgohnDD6R6xHn0JyswEe9xqiPrK f6/jtNwOYzsfDU3Z4b+YqjGzSUxqiZpDggPzWq90= From: Adonay Felipe Nogueira DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1479897905; bh=aUg77qIn920sLDBtn7AaYCTHFikJxAokMSGb8t3EO1Y=; h=From:To:Subject:In-Reply-To:References:Date:From; b=uH8AsrN4gsczsZrKUF957EyJrU19vzqefW1UkBvu7YQEKDCPXgkMhcT1d3jr2mfkq /YrraVb+zwg3A4touSg0bqN1+TzHWJC1LiayVedFtEdHo0Rco15GgdQlAId9Hm/gq1 iKNLtrVkiJLviGL2ZbDJnL//7ac9mrcBUCDspZzU= In-Reply-To: <87polt9kw1.fsf@openmailbox.org> (Adonay Felipe Nogueira's message of "Fri, 18 Nov 2016 07:50:54 -0200") References: <1477909074.12434.4.camel@adfeno-VPCEG17FB> <87h97ovg28.fsf@gnu.org> <87polt9kw1.fsf@openmailbox.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Date: Wed, 23 Nov 2016 08:44:54 -0200 Message-ID: <87h96ybhll.fsf@openmailbox.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) 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: -4.0 (----) --=-=-= Content-Type: text/plain Tested the patch today It seems that, during the `install' phase, something tries to make "/etc/samba" directory. The log from the start of the error is attached. I did `guix build samba` as normal user, and since I'm new to this situation, I must ask: should I run it as root instead? Or should we find a way to tell the `install' phase to not make such paths? Or, do you have other ideas? --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename="guix build samba.log" Content-Transfer-Encoding: base64 V2FmOiBMZWF2aW5nIGRpcmVjdG9yeSBgL3RtcC9ndWl4LWJ1aWxkLXNhbWJhLTQuNS4xLmRydi0w L3NhbWJhLTQuNS4xL2JpbicKJ2J1aWxkJyBmaW5pc2hlZCBzdWNjZXNzZnVsbHkgKDEybTQzLjg0 OXMpCnBoYXNlIGBidWlsZCcgc3VjY2VlZGVkIGFmdGVyIDc2NC4yIHNlY29uZHMKc3RhcnRpbmcg cGhhc2UgYGNoZWNrJwp0ZXN0IHN1aXRlIG5v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b3I6IENhbm5vdCBjcmVhdGUgdGhlIGZvbGRlciAnL2V0 Yy9zYW1iYScgKGVycm9yOiBbRXJybm8gMTNdIFBlcm1pc3Npb24gZGVuaWVkOiAnL2V0Yy9zYW1i YScpICAKCm1ha2U6ICoqKiBbTWFrZWZpbGU6MTE6IGluc3RhbGxdIEVycm9yIDEKcGhhc2UgYGlu c3RhbGwnIGZhaWxlZCBhZnRlciAwLjUgc2Vjb25kcwpidWlsZGVyIGZvciBgL2dudS9zdG9yZS8u Li4tc2FtYmEtNC41LjEuZHJ2JyBmYWlsZWQgd2l0aCBleGl0IGNvZGUgMQpAIGJ1aWxkLWZhaWxl ZCAvZ251L3N0b3JlLy4uLi1zYW1iYS00LjUuMS5kcnYgLSAxIGJ1aWxkZXIgZm9yIGAvZ251L3N0 b3JlLy4uLi1zYW1iYS00LjUuMS5kcnYnIGZhaWxlZCB3aXRoIGV4aXQgY29kZSAxCmd1aXggYnVp bGQ6IGVycm9yOiBidWlsZCBmYWlsZWQ6IGJ1aWxkIG9mIGAvZ251L3N0b3JlLy4uLi1zYW1iYS00 LjUuMS5kcnYnIGZhaWxlZAo= --=-=-=-- From unknown Sun Aug 17 01:58:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24834: Samba commands expect configuration file inside store Resent-From: Adonay Felipe Nogueira Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 23 Nov 2016 10:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24834 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 24834@debbugs.gnu.org Received: via spool by 24834-submit@debbugs.gnu.org id=B24834.147989837521081 (code B ref 24834); Wed, 23 Nov 2016 10:53:01 +0000 Received: (at 24834) by debbugs.gnu.org; 23 Nov 2016 10:52:55 +0000 Received: from localhost ([127.0.0.1]:38925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9VAd-0005Tx-Ao for submit@debbugs.gnu.org; Wed, 23 Nov 2016 05:52:55 -0500 Received: from smtp9.openmailbox.org ([62.4.1.43]:55837) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9VAc-0005Tp-9t for 24834@debbugs.gnu.org; Wed, 23 Nov 2016 05:52:54 -0500 Received: by mail2.openmailbox.org (Postfix, from userid 1001) id 11D7C1038E0; Wed, 23 Nov 2016 11:52:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1479898373; bh=aUg77qIn920sLDBtn7AaYCTHFikJxAokMSGb8t3EO1Y=; h=From:To:Subject:References:Date:In-Reply-To:From; b=m5tjx5fFYPqfjwV15CkyH8OApRJvaZdmZO/j27ZTR3eysZRIAJvDJu08fYlmVpiU4 EJbA9rhtYNqnyP48r/8zjezKipUCDzsTgVrRunK9PjVMzIW/ZrxTNto6qzjZX/jUXb bZoFFFMTS59Fw72+hgoZIyQ61KQjwp/l5WZZq0EI= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on h4 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 From: Adonay Felipe Nogueira DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1479898367; bh=aUg77qIn920sLDBtn7AaYCTHFikJxAokMSGb8t3EO1Y=; h=From:To:Subject:References:Date:In-Reply-To:From; b=StjNVVBnubCWbk/Jn4Jr+DwX5d7QNxvSjISwv9/n1xHu3YFk4Ik838eB85XGiKXZv EBniUhuCvmHQO1cI+6nMY63ACQv+GcZ/gPqKC1422TFfnATyaAeuGjDGPkLs60tmZr 37upsX2vl+dXpp9YfTqJZEfMTb7QhPBsI2x1+bKk= References: <1477909074.12434.4.camel@adfeno-VPCEG17FB> <87h97ovg28.fsf@gnu.org> <87polt9kw1.fsf@openmailbox.org> Date: Wed, 23 Nov 2016 08:52:36 -0200 In-Reply-To: <87polt9kw1.fsf@openmailbox.org> (Adonay Felipe Nogueira's message of "Fri, 18 Nov 2016 07:50:54 -0200") Message-ID: <87lgwaa2ob.fsf@openmailbox.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -3.0 (---) 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: -3.0 (---) --=-=-= Content-Type: text/plain Tested the patch today It seems that, during the `install' phase, something tries to make "/etc/samba" directory. The log from the start of the error is attached. I did `guix build samba` as normal user, and since I'm new to this situation, I must ask: should I run it as root instead? Or should we find a way to tell the `install' phase to not make such paths? Or, do you have other ideas? --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename="guix build samba.log" Content-Transfer-Encoding: base64 V2FmOiBMZWF2aW5nIGRpcmVjdG9yeSBgL3RtcC9ndWl4LWJ1aWxkLXNhbWJhLTQuNS4xLmRydi0w L3NhbWJhLTQuNS4xL2JpbicKJ2J1aWxkJyBmaW5pc2hlZCBzdWNjZXNzZnVsbHkgKDEybTQzLjg0 OXMpCnBoYXNlIGBidWlsZCcgc3VjY2VlZGVkIGFmdGVyIDc2NC4yIHNlY29uZHMKc3RhcnRpbmcg cGhhc2UgYGNoZWNrJwp0ZXN0IHN1aXRlIG5vdCBydW4gICAKcGhhc2UgYGNoZWNrJyBzdWNjZWVk ZWQgYWZ0ZXIgMC4wIHNlY29uZHMKc3RhcnRpbmcgcGhhc2UgYGluc3RhbGwnCldBRl9NQUtFPTEg cHl0aG9uIC4vYnVpbGR0b29scy9iaW4vd2FmIGluc3RhbGwKV2FmOiBFbnRlcmluZyBkaXJlY3Rv cnk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3RhbGwnIGZhaWxlZCBhZnRlciAwLjUgc2Vjb25kcwpidWlsZGVyIGZvciBgL2dudS9zdG9yZS8u Li4tc2FtYmEtNC41LjEuZHJ2JyBmYWlsZWQgd2l0aCBleGl0IGNvZGUgMQpAIGJ1aWxkLWZhaWxl ZCAvZ251L3N0b3JlLy4uLi1zYW1iYS00LjUuMS5kcnYgLSAxIGJ1aWxkZXIgZm9yIGAvZ251L3N0 b3JlLy4uLi1zYW1iYS00LjUuMS5kcnYnIGZhaWxlZCB3aXRoIGV4aXQgY29kZSAxCmd1aXggYnVp bGQ6IGVycm9yOiBidWlsZCBmYWlsZWQ6IGJ1aWxkIG9mIGAvZ251L3N0b3JlLy4uLi1zYW1iYS00 LjUuMS5kcnYnIGZhaWxlZAo= --=-=-=-- From unknown Sun Aug 17 01:58:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24834: Samba commands expect configuration file inside store Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 23 Nov 2016 22:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24834 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Adonay Felipe Nogueira Cc: 24834@debbugs.gnu.org Received: via spool by 24834-submit@debbugs.gnu.org id=B24834.147993939530960 (code B ref 24834); Wed, 23 Nov 2016 22:17:02 +0000 Received: (at 24834) by debbugs.gnu.org; 23 Nov 2016 22:16:35 +0000 Received: from localhost ([127.0.0.1]:39654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9fqF-00083I-9Y for submit@debbugs.gnu.org; Wed, 23 Nov 2016 17:16:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9fqD-000833-Bj for 24834@debbugs.gnu.org; Wed, 23 Nov 2016 17:16:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9fq5-0004IG-6R for 24834@debbugs.gnu.org; Wed, 23 Nov 2016 17:16:28 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9fq5-0004I8-2q; Wed, 23 Nov 2016 17:16:25 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:53332 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1c9fq4-0007Kw-HN; Wed, 23 Nov 2016 17:16:24 -0500 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <1477909074.12434.4.camel@adfeno-VPCEG17FB> <87h97ovg28.fsf@gnu.org> <87polt9kw1.fsf@openmailbox.org> <87h96ybhll.fsf@openmailbox.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 3 Frimaire an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Wed, 23 Nov 2016 23:16:22 +0100 In-Reply-To: <87h96ybhll.fsf@openmailbox.org> (Adonay Felipe Nogueira's message of "Wed, 23 Nov 2016 08:44:54 -0200") Message-ID: <87bmx54zbd.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.9 (-------) 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: -7.9 (-------) Hi, Adonay Felipe Nogueira skribis: > Tested the patch today > > It seems that, during the `install' phase, something tries to make > "/etc/samba" directory. [...] > File "/tmp/guix-build-samba-4.5.1.drv-0/samba-4.5.1/third_party/waf/waf= admin/Utils.py", line 458, in check_dir > raise WafError("Cannot create the folder '%s' (error: %s)" % (path, e= )) > WafError: Cannot create the folder '/etc/samba' (error: [Errno 13] Permis= sion denied: '/etc/samba')=20=20 > > make: *** [Makefile:11: install] Error 1 > phase `install' failed after 0.5 seconds That=E2=80=99s a common issue as I mentioned in (=E2=80=98sysconf= dir=E2=80=99 corresponds to /etc here.) Do address it, we need to modify Samba=E2=80=99s build system to not attemp= t to create /etc. Samba uses Waf, so we=E2=80=99d have to comment out the Waf b= it that leads to this attempt to create /etc. I=E2=80=99m not familiar with W= af so I=E2=80=99d =E2=80=9Cgrep -r=E2=80=9D in the source. :-) Could you look into it? There are similar cases in gnu/packages/*.scm but the fix always depends on the specifics of the build system being used, so nothing that really helps here I=E2=80=99m afraid. Thanks, Ludo=E2=80=99. From unknown Sun Aug 17 01:58:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24834: Samba commands expect configuration file inside store Resent-From: Adonay Felipe Nogueira Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 04 Dec 2016 00:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24834 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 24834@debbugs.gnu.org Received: via spool by 24834-submit@debbugs.gnu.org id=B24834.148081002427044 (code B ref 24834); Sun, 04 Dec 2016 00:08:01 +0000 Received: (at 24834) by debbugs.gnu.org; 4 Dec 2016 00:07:04 +0000 Received: from localhost ([127.0.0.1]:51722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDKKe-000728-9k for submit@debbugs.gnu.org; Sat, 03 Dec 2016 19:07:04 -0500 Received: from smtp16.openmailbox.org ([62.4.1.50]:45313 helo=smtp1.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDKKc-00071i-2b for 24834@debbugs.gnu.org; Sat, 03 Dec 2016 19:07:02 -0500 Received: by mail.openmailbox.org (Postfix, from userid 20002) id AFF62205C29; Sun, 4 Dec 2016 01:07:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1480810020; bh=5DB/v0I8GzHPW79141vBAWxbdPosoW5xE/be0ts+xb4=; h=From:To:Subject:References:Date:In-Reply-To:From; b=ZVdcSS6SOMAt+b0U+hLaspsT2ZOP5sD0aatf5C2BCPoESHFCp0RbMBv4hJGBYbean skDveTihhtzf9mpTgSPERqur8KvHMTiouF3MphWSoudkgbVhhUbvoGr98zbI0+kMEt Di5t03GpQNECg+0BzLdnYP39saaNZamyOel/Rdn8= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on h3 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 From: Adonay Felipe Nogueira DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1480810013; bh=5DB/v0I8GzHPW79141vBAWxbdPosoW5xE/be0ts+xb4=; h=From:To:Subject:References:Date:In-Reply-To:From; b=Awa/wG5giIWpqSWYl2fxyqlgr99MOmjX4wQF2rCBiPymyB7mQ0XeaKautiDvc1i+K yjPxGf314PaYzPapudy4MEn0tR9HHUM26D2BuO+fiNHsNhdS402SBUVxEz1cMTlQm4 iz639XcFoJO2MuMOYxk/fDWGksyVwEY07nRCEUoM= References: <1477909074.12434.4.camel@adfeno-VPCEG17FB> Date: Sat, 03 Dec 2016 22:06:33 -0200 In-Reply-To: <1477909074.12434.4.camel@adfeno-VPCEG17FB> (Adonay Felipe Nogueira's message of "Mon, 31 Oct 2016 08:17:54 -0200") Message-ID: <87fum4fth2.fsf@openmailbox.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.9 (--) 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: -2.9 (--) --=-=-= Content-Type: text/plain Here's a patch that tries to fix this issue. I already tested it, but please do so also just in case. Respectfully, Adonay. --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=guix.patch Content-Transfer-Encoding: quoted-printable >From 086396d33e113a6d991b7c63063844c66a5610ca Mon Sep 17 00:00:00 2001 From: Adonay Felipe Nogueira Date: Sat, 3 Dec 2016 21:22:56 -0200 Subject: [PATCH] gnu: samba: Don't expect configuration files inside the store. Attempts to fix . * gnu/packages/samba.scm (samba) [arguments]: * Set `--sysconfdir` to "/etc". * Avoid creation of "/etc/samba" (otherwise would require root). --- gnu/packages/samba.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm index 1706ec3..6a27a63 100644 --- a/gnu/packages/samba.scm +++ b/gnu/packages/samba.scm @@ -2,6 +2,7 @@ ;;; Copyright =C2=A9 2013, 2015 Ludovic Court=C3=A8s ;;; Copyright =C2=A9 2015 Mark H Weaver ;;; Copyright =C2=A9 2016 Efraim Flashner +;;; Copyright =C2=A9 2016 Adonay "adfeno" Felipe Nogueira ;;; ;;; This file is part of GNU Guix. ;;; @@ -121,11 +122,17 @@ anywhere.") ;; XXX: heimdal not packaged. "--bundled-libraries=3Dcom_err" (string-append "--prefix=3D" out) + ;; Don't write to store. + "--sysconfdir=3D/etc" ;; Install public and private libraries into ;; a single directory to avoid RPATH issues. (string-append "--libdir=3D" libdir) - (string-append "--with-privatelibdir=3D" libdir))))= ))) - + (string-append "--with-privatelibdir=3D" libdir))))= )) + (add-before 'install 'disable-etc-samba-directory-creation + (lambda _ + (substitute* "dynconfig/wscript" + (("bld\\.INSTALL_DIRS\\(\"\",[[:blank:]]{1,}\"\\$\\{CONFIGDIR\\}= [[:blank:]]{1,}") + "bld.INSTALL_DIRS(\"\", \""))))) ;; XXX: The test infrastructure attempts to set password with ;; smbpasswd, which fails with "smbpasswd -L can only be used by ro= ot." ;; So disable tests until there's a workaround. --=20 1.9.1 --=-=-=-- From unknown Sun Aug 17 01:58:38 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Adonay Felipe Nogueira Subject: bug#24834: closed (Re: bug#24834: Samba commands expect configuration file inside store) Message-ID: References: <87wpfb5ndp.fsf@gnu.org> <1477909074.12434.4.camel@adfeno-VPCEG17FB> X-Gnu-PR-Message: they-closed 24834 X-Gnu-PR-Package: guix Reply-To: 24834@debbugs.gnu.org Date: Wed, 07 Dec 2016 23:30:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1481153403-26734-1" This is a multi-part message in MIME format... ------------=_1481153403-26734-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #24834: Samba commands expect configuration file inside store which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 24834@debbugs.gnu.org. --=20 24834: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D24834 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1481153403-26734-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 24834-done) by debbugs.gnu.org; 7 Dec 2016 23:29:53 +0000 Received: from localhost ([127.0.0.1]:60445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEler-0006wd-La for submit@debbugs.gnu.org; Wed, 07 Dec 2016 18:29:53 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cElep-0006wQ-Bq for 24834-done@debbugs.gnu.org; Wed, 07 Dec 2016 18:29:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEleh-0003kd-3N for 24834-done@debbugs.gnu.org; Wed, 07 Dec 2016 18:29:46 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEleh-0003kZ-0N; Wed, 07 Dec 2016 18:29:43 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:56836 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cEleg-000579-EB; Wed, 07 Dec 2016 18:29:42 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Adonay Felipe Nogueira Subject: Re: bug#24834: Samba commands expect configuration file inside store References: <1477909074.12434.4.camel@adfeno-VPCEG17FB> <87fum4fth2.fsf@openmailbox.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 Frimaire an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Thu, 08 Dec 2016 00:29:38 +0100 In-Reply-To: <87fum4fth2.fsf@openmailbox.org> (Adonay Felipe Nogueira's message of "Sat, 03 Dec 2016 22:06:33 -0200") Message-ID: <87wpfb5ndp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.0 (--------) X-Debbugs-Envelope-To: 24834-done Cc: 24834-done@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: -8.0 (--------) Adonay Felipe Nogueira skribis: > Here's a patch that tries to fix this issue. I already tested it, but > please do so also just in case. > > > Respectfully, Adonay. > > From 086396d33e113a6d991b7c63063844c66a5610ca Mon Sep 17 00:00:00 2001 > From: Adonay Felipe Nogueira > Date: Sat, 3 Dec 2016 21:22:56 -0200 > Subject: [PATCH] gnu: samba: Don't expect configuration files inside the > store. > > Attempts to fix . > > * gnu/packages/samba.scm (samba) [arguments]: > * Set `--sysconfdir` to "/etc". > * Avoid creation of "/etc/samba" (otherwise would require root). Apply with commit log and indentation tweaks. It builds fine here. Thank you! Ludo=E2=80=99. ------------=_1481153403-26734-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 31 Oct 2016 10:18:47 +0000 Received: from localhost ([127.0.0.1]:37657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c19fz-0006xm-K5 for submit@debbugs.gnu.org; Mon, 31 Oct 2016 06:18:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c19fx-0006xX-D8 for submit@debbugs.gnu.org; Mon, 31 Oct 2016 06:18:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c19fr-0003K0-DL for submit@debbugs.gnu.org; Mon, 31 Oct 2016 06:18:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53230) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c19fr-0003Ju-AC for submit@debbugs.gnu.org; Mon, 31 Oct 2016 06:18:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c19fq-0003UA-82 for bug-guix@gnu.org; Mon, 31 Oct 2016 06:18:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c19fn-0003HD-0t for bug-guix@gnu.org; Mon, 31 Oct 2016 06:18:38 -0400 Received: from smtp10.openmailbox.org ([62.4.1.44]:47743) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c19fm-0003GH-Oo for bug-guix@gnu.org; Mon, 31 Oct 2016 06:18:34 -0400 Received: by mail2.openmailbox.org (Postfix, from userid 1001) id 0A6571047F0; Mon, 31 Oct 2016 11:18:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1477909112; bh=abO417BIwH9v7HGas4Gil5ebpvWlOXcpHrYHxbnr4QU=; h=Subject:From:To:Date:From; b=SFvUcz8sI4oRjvM0m8JCHc2vmCClg9Tk4rRIc/QT89aQqE2GHKjXF4XIRW7vrKQaC i2jPdL0Z5scnE+ZD/lJ6s3smf/EFJp1mL/f9TbC9XIBKCf9NSkEFMmWISr9R4kAFFm cJNretXEC0b42xaqfJU145PIUXI+amiJ5gEYOmDc= Message-ID: <1477909074.12434.4.camel@adfeno-VPCEG17FB> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1477909106; bh=abO417BIwH9v7HGas4Gil5ebpvWlOXcpHrYHxbnr4QU=; h=Subject:From:To:Date:From; b=aA3z/0NhkiLVSjojf1HiHMlk58GpzUN6d8z6uSDvE2QCJ+X9eY0pMIsNIZrbr/nPF ce6RkiJNi1RZXDV6gMyaryUi2XX0BUSK8RXH1FnitOqL9ftQQtI5ElI5WFN61gK1Q5 rEVm0BCIeJJ4WFCg9XV/tieF3pdQgfSvi8e+sNgw= Subject: Samba commands expect configuration file inside store From: Adonay Felipe Nogueira To: =?ISO-8859-1?Q?Relat=F3rios?= de falhas do Guix e GuixSD Date: Mon, 31 Oct 2016 08:17:54 -0200 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-G1XLMN2vYLJA4uWzT6in" X-Mailer: Evolution 3.10.4-0ubuntu2+7.0trisquel1 Mime-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit 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: -4.0 (----) --=-G1XLMN2vYLJA4uWzT6in Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable # Begin of terminal interaction $ strace ".guix-profile/sbin/samba/smbd" stat64("/gnu/store/...-samba-4.5.0/etc/samba/smb.conf", 0xbfeb41b0) =3D -1 ENOENT (No such file or directory) open("/gnu/store/...-samba-4.5.0/etc/samba/smb.conf", O_RDONLY| O_LARGEFILE) =3D -1 ENOENT (No such file or directory) stat64("/etc/localtime", {st_mode=3DS_IFREG|0644, st_size=3D2001, ...}) =3D= 0 exit_group(1) =3D ? +++ exited with 1 +++ # End of terminal interaction Sorry for my brevity, I'll return to this issue at a later time. --=-G1XLMN2vYLJA4uWzT6in Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iF4EABEIAAYFAlgXGlIACgkQyNbhUgHunaFg/gEAtIU0Z3vfPa+S37Xy7wp69kBy tpDUAX/AihxXjzZDv0kA/3Yh7+0pvb/arynovg2l1P/eDVsMkwPB0Apo7We5VX3o =PaxM -----END PGP SIGNATURE----- --=-G1XLMN2vYLJA4uWzT6in-- ------------=_1481153403-26734-1-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 09 08:42:02 2018 Received: (at control) by debbugs.gnu.org; 9 Jan 2018 13:42:02 +0000 Received: from localhost ([127.0.0.1]:42233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eYuAE-0001QS-6d for submit@debbugs.gnu.org; Tue, 09 Jan 2018 08:42:02 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:53378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eYuAC-0001Q2-Lh for control@debbugs.gnu.org; Tue, 09 Jan 2018 08:42:01 -0500 X-Originating-IP: 181.221.151.169 Received: from adfeno-pc1 (unknown [181.221.151.169]) (Authenticated sender: adfeno@hyperbola.info) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id E14BAC5A55 for ; Tue, 9 Jan 2018 14:41:57 +0100 (CET) From: Adonay Felipe Nogueira To: control@debbugs.gnu.org Subject: Replace old submitters, make #27475 block #30041 and ask for help Date: Tue, 09 Jan 2018 11:41:55 -0200 Message-ID: <87r2qzcfoc.fsf@hyperbola.info> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control 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 (/) submitter 24550 adfeno@hyperbola.info submitter 24834 adfeno@hyperbola.info submitter 25034 adfeno@hyperbola.info submitter 25035 adfeno@hyperbola.info submitter 25037 adfeno@hyperbola.info submitter 26202 adfeno@hyperbola.info submitter 27475 adfeno@hyperbola.info submitter 27582 adfeno@hyperbola.info submitter 27590 adfeno@hyperbola.info submitter 27686 adfeno@hyperbola.info submitter 27711 adfeno@hyperbola.info tags 27475 +help tags 30041 +help block 30041 27475 quit