GNU bug report logs - #24834
Samba commands expect configuration file inside store

Previous Next

Package: guix;

Reported by: Adonay Felipe Nogueira <adfeno <at> openmailbox.org>

Date: Mon, 31 Oct 2016 10:19:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#24834: closed (Samba commands expect configuration file
 inside store)
Date: Wed, 07 Dec 2016 23:30:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 08 Dec 2016 00:29:38 +0100
with message-id <87wpfb5ndp.fsf <at> gnu.org>
and subject line Re: bug#24834: Samba commands expect configuration file inside store
has caused the debbugs.gnu.org bug report #24834,
regarding Samba commands expect configuration file inside store
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
24834: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24834
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Adonay Felipe Nogueira <adfeno <at> openmailbox.org>
To: Relatórios de falhas do Guix e GuixSD <bug-guix <at> gnu.org>
Subject: Samba commands expect configuration file inside store
Date: Mon, 31 Oct 2016 08:17:54 -0200
[Message part 3 (text/plain, inline)]
# 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 (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Adonay Felipe Nogueira <adfeno <at> openmailbox.org>
Cc: 24834-done <at> debbugs.gnu.org
Subject: Re: bug#24834: Samba commands expect configuration file inside store
Date: Thu, 08 Dec 2016 00:29:38 +0100
Adonay Felipe Nogueira <adfeno <at> openmailbox.org> 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 <adfeno <at> openmailbox.org>
> 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’.


This bug report was last modified 7 years and 220 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.