[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24834: Samba commands expect configuration file inside store
From: |
Ludovic Courtès |
Subject: |
bug#24834: Samba commands expect configuration file inside store |
Date: |
Thu, 03 Nov 2016 14:38:55 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Adonay Felipe Nogueira <address@hidden> 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’.
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)
- bug#24834: Samba commands expect configuration file inside store,
Ludovic Courtès <=