--- Begin Message ---
Subject: |
Samba commands expect configuration file inside store |
Date: |
Mon, 31 Oct 2016 08:17:54 -0200 |
# Begin of terminal interaction
$ strace ".guix-profile/sbin/samba/smbd"
stat64("/gnu/store/...-samba-4.5.0/etc/samba/smb.conf", 0xbfeb41b0) = -1
ENOENT (No such file or directory)
open("/gnu/store/...-samba-4.5.0/etc/samba/smb.conf", O_RDONLY|
O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2001, ...}) = 0
exit_group(1) = ?
+++ exited with 1 +++
# End of terminal interaction
Sorry for my brevity, I'll return to this issue at a later time.
signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#24834: Samba commands expect configuration file inside store |
Date: |
Thu, 08 Dec 2016 00:29:38 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Adonay Felipe Nogueira <address@hidden> 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 <address@hidden>
> Date: Sat, 3 Dec 2016 21:22:56 -0200
> Subject: [PATCH] gnu: samba: Don't expect configuration files inside the
> store.
>
> Attempts to fix <https://bugs.gnu.org/24834>.
>
> * 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’.
--- End Message ---