From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#24834: Samba commands expect configuration file inside store Date: Thu, 03 Nov 2016 14:38:55 +0100 Message-ID: <87h97ovg28.fsf@gnu.org> References: <1477909074.12434.4.camel@adfeno-VPCEG17FB> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2IFR-00012R-W1 for bug-guix@gnu.org; Thu, 03 Nov 2016 09:40:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2IFO-0007Qi-RJ for bug-guix@gnu.org; Thu, 03 Nov 2016 09:40:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:54090) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c2IFO-0007Qe-Ny for bug-guix@gnu.org; Thu, 03 Nov 2016 09:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c2IFO-0002x6-Fj for bug-guix@gnu.org; Thu, 03 Nov 2016 09:40:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <1477909074.12434.4.camel@adfeno-VPCEG17FB> (Adonay Felipe Nogueira's message of "Mon, 31 Oct 2016 08:17:54 -0200") 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: Adonay Felipe Nogueira Cc: 24834@debbugs.gnu.org --=-=-= 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) --=-=-=--