GNU bug report logs - #26117
[PATCH] services: dovecot: Fix passwd and userdb 'args' types.

Previous Next

Package: guix-patches;

Reported by: Clément Lassieur <clement <at> lassieur.org>

Date: Thu, 16 Mar 2017 00:47:01 UTC

Severity: normal

Tags: fixed, patch

Done: clement <at> lassieur.org (Clément Lassieur)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26117 in the body.
You can then email your comments to 26117 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#26117; Package guix-patches. (Thu, 16 Mar 2017 00:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Clément Lassieur <clement <at> lassieur.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 16 Mar 2017 00:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Clément Lassieur <clement <at> lassieur.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] services: dovecot: Fix passwd and userdb 'args' types.
Date: Thu, 16 Mar 2017 01:46:31 +0100
* gnu/services/mail.scm (passwd-configuration)[args]
(userdb-configuration)[args]: Change type from 'free-form-args' to
'space-separated-string-list'.
* doc/guix.texi (Mail Services): Document it.

See http://wiki2.dovecot.org/AuthDatabase/PasswdFile#Examples for an example
with a string that is not a list of key-value pairs.

---
 doc/guix.texi         | 12 ++++++------
 gnu/services/mail.scm |  8 ++++----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 78bf03de9..a0345f6f1 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -11145,9 +11145,9 @@ The driver that the passdb should use.  Valid values include
 Defaults to @samp{"pam"}.
 @end deftypevr
 
-@deftypevr {@code{passdb-configuration} parameter} free-form-args args
-A list of key-value args to the passdb driver.
-Defaults to @samp{()}.
+@deftypevr {@code{passdb-configuration} parameter} space-separated-string-list args
+Space separated list of arguments to the passdb driver.
+Defaults to @samp{""}.
 @end deftypevr
 
 @end deftypevr
@@ -11164,9 +11164,9 @@ The driver that the userdb should use.  Valid values include
 Defaults to @samp{"passwd"}.
 @end deftypevr
 
-@deftypevr {@code{userdb-configuration} parameter} free-form-args args
-A list of key-value args to the userdb driver.
-Defaults to @samp{()}.
+@deftypevr {@code{userdb-configuration} parameter} space-separated-string-list args
+Space separated list of arguments to the userdb driver.
+Defaults to @samp{""}.
 @end deftypevr
 
 @deftypevr {@code{userdb-configuration} parameter} free-form-args override-fields
diff --git a/gnu/services/mail.scm b/gnu/services/mail.scm
index 05978e006..20043d751 100644
--- a/gnu/services/mail.scm
+++ b/gnu/services/mail.scm
@@ -160,8 +160,8 @@
 @samp{pam}, @samp{passwd}, @samp{shadow}, @samp{bsdauth}, and
 @samp{static}.")
   (args
-   (free-form-args '())
-   "A list of key-value args to the passdb driver."))
+   (space-separated-string-list '())
+   "Space separated list of arguments to the passdb driver."))
 
 (define (serialize-passdb-configuration field-name val)
   (format #t "passdb {\n")
@@ -178,8 +178,8 @@
    "The driver that the userdb should use.  Valid values include
 @samp{passwd} and @samp{static}.")
   (args
-   (free-form-args '())
-   "A list of key-value args to the userdb driver.")
+   (space-separated-string-list '())
+   "Space separated list of arguments to the userdb driver.")
   (override-fields
    (free-form-args '())
    "Override fields from passwd."))
-- 
2.12.0





Information forwarded to guix-patches <at> gnu.org:
bug#26117; Package guix-patches. (Thu, 16 Mar 2017 09:40:02 GMT) Full text and rfc822 format available.

Message #8 received at 26117 <at> debbugs.gnu.org (full text, mbox):

From: Clément Lassieur <clement <at> lassieur.org>
To: 26117 <at> debbugs.gnu.org
Subject: Re: bug#26117: [PATCH] services: dovecot: Fix passwd and userdb
 'args' types.
Date: Thu, 16 Mar 2017 10:39:24 +0100
Clément Lassieur <clement <at> lassieur.org> writes:

> * gnu/services/mail.scm (passwd-configuration)[args]
> (userdb-configuration)[args]: Change type from 'free-form-args' to
> 'space-separated-string-list'.
> * doc/guix.texi (Mail Services): Document it.
>
> See http://wiki2.dovecot.org/AuthDatabase/PasswdFile#Examples for an example
> with a string that is not a list of key-value pairs.

Here too I got mixed up about git send-email.




Information forwarded to guix-patches <at> gnu.org:
bug#26117; Package guix-patches. (Thu, 16 Mar 2017 09:44:02 GMT) Full text and rfc822 format available.

Message #11 received at 26117 <at> debbugs.gnu.org (full text, mbox):

From: Clément Lassieur <clement <at> lassieur.org>
To: 26117 <at> debbugs.gnu.org
Subject: [PATCH] services: dovecot: Fix passwd and userdb 'args' types.
Date: Thu, 16 Mar 2017 10:43:32 +0100
* gnu/services/mail.scm (passwd-configuration)[args]
(userdb-configuration)[args]: Change type from 'free-form-args' to
'space-separated-string-list'.
* doc/guix.texi (Mail Services): Document it.
---
 doc/guix.texi         | 12 ++++++------
 gnu/services/mail.scm |  8 ++++----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 78bf03de9..a0345f6f1 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -11145,9 +11145,9 @@ The driver that the passdb should use.  Valid values include
 Defaults to @samp{"pam"}.
 @end deftypevr
 
-@deftypevr {@code{passdb-configuration} parameter} free-form-args args
-A list of key-value args to the passdb driver.
-Defaults to @samp{()}.
+@deftypevr {@code{passdb-configuration} parameter} space-separated-string-list args
+Space separated list of arguments to the passdb driver.
+Defaults to @samp{""}.
 @end deftypevr
 
 @end deftypevr
@@ -11164,9 +11164,9 @@ The driver that the userdb should use.  Valid values include
 Defaults to @samp{"passwd"}.
 @end deftypevr
 
-@deftypevr {@code{userdb-configuration} parameter} free-form-args args
-A list of key-value args to the userdb driver.
-Defaults to @samp{()}.
+@deftypevr {@code{userdb-configuration} parameter} space-separated-string-list args
+Space separated list of arguments to the userdb driver.
+Defaults to @samp{""}.
 @end deftypevr
 
 @deftypevr {@code{userdb-configuration} parameter} free-form-args override-fields
diff --git a/gnu/services/mail.scm b/gnu/services/mail.scm
index 05978e006..20043d751 100644
--- a/gnu/services/mail.scm
+++ b/gnu/services/mail.scm
@@ -160,8 +160,8 @@
 @samp{pam}, @samp{passwd}, @samp{shadow}, @samp{bsdauth}, and
 @samp{static}.")
   (args
-   (free-form-args '())
-   "A list of key-value args to the passdb driver."))
+   (space-separated-string-list '())
+   "Space separated list of arguments to the passdb driver."))
 
 (define (serialize-passdb-configuration field-name val)
   (format #t "passdb {\n")
@@ -178,8 +178,8 @@
    "The driver that the userdb should use.  Valid values include
 @samp{passwd} and @samp{static}.")
   (args
-   (free-form-args '())
-   "A list of key-value args to the userdb driver.")
+   (space-separated-string-list '())
+   "Space separated list of arguments to the userdb driver.")
   (override-fields
    (free-form-args '())
    "Override fields from passwd."))
-- 
2.12.0





Information forwarded to guix-patches <at> gnu.org:
bug#26117; Package guix-patches. (Sat, 01 Apr 2017 12:42:02 GMT) Full text and rfc822 format available.

Message #14 received at 26117 <at> debbugs.gnu.org (full text, mbox):

From: Clément Lassieur <clement <at> lassieur.org>
To: 26117 <at> debbugs.gnu.org
Subject: Re: bug#26117: [PATCH] services: dovecot: Fix passwd and userdb
 'args' types.
Date: Sat, 01 Apr 2017 14:41:38 +0200
Clément Lassieur <clement <at> lassieur.org> writes:

> * gnu/services/mail.scm (passwd-configuration)[args]
> (userdb-configuration)[args]: Change type from 'free-form-args' to
> 'space-separated-string-list'.
> * doc/guix.texi (Mail Services): Document it.
> ---
>  doc/guix.texi         | 12 ++++++------
>  gnu/services/mail.scm |  8 ++++----
>  2 files changed, 10 insertions(+), 10 deletions(-)

Pushed.




Added tag(s) fixed. Request was from clement <at> lassieur.org (Clément Lassieur) to control <at> debbugs.gnu.org. (Sat, 01 Apr 2017 12:42:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 26117 <at> debbugs.gnu.org and Clément Lassieur <clement <at> lassieur.org> Request was from clement <at> lassieur.org (Clément Lassieur) to control <at> debbugs.gnu.org. (Sat, 01 Apr 2017 12:42:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 30 Apr 2017 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 361 days ago.

Previous Next


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