unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Adonay Felipe Nogueira <adfeno@openmailbox.org>
Cc: 24834@debbugs.gnu.org
Subject: bug#24834: Samba commands expect configuration file inside store
Date: Thu, 03 Nov 2016 14:38:55 +0100	[thread overview]
Message-ID: <87h97ovg28.fsf@gnu.org> (raw)
In-Reply-To: <1477909074.12434.4.camel@adfeno-VPCEG17FB> (Adonay Felipe Nogueira's message of "Mon, 31 Oct 2016 08:17:54 -0200")

[-- Attachment #1: Type: text/plain, Size: 430 bytes --]

Adonay Felipe Nogueira <adfeno@openmailbox.org> skribis:

> # Begin of terminal interaction
> $ strace ".guix-profile/sbin/samba/smbd"
> stat64("/gnu/store/...-samba-4.5.0/etc/samba/smb.conf", 0xbfeb41b0) = -1

Presumably part of the solution is the attached patch, but very often
‘make install’ tries to mkdir $(sysconfdir), so a bit of additional work
may be needed.

Can you look into it?

Thanks,
Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 586 bytes --]

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)

  reply	other threads:[~2016-11-03 13:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-31 10:17 bug#24834: Samba commands expect configuration file inside store Adonay Felipe Nogueira
2016-11-03 13:38 ` Ludovic Courtès [this message]
2016-11-18  9:50   ` Adonay Felipe Nogueira
2016-11-23 10:44     ` Adonay Felipe Nogueira
2016-11-23 22:16       ` Ludovic Courtès
2016-11-23 10:52     ` Adonay Felipe Nogueira
2016-12-04  0:06 ` Adonay Felipe Nogueira
2016-12-07 23:29   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h97ovg28.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=24834@debbugs.gnu.org \
    --cc=adfeno@openmailbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).