[Bug 1774986] Re: mailman-config incorrect quoting in print statement
Mark Sapiro
mark at msapiro.net
Tue Jun 5 12:12:07 EDT 2018
I'm not sure what's going on. Your 'configure_opts:' says '--with-cgi-
gid=apache' and '--with-mail-gid=mail postfix mailman nobody daemon'
which doesn't quote the values, yet the individual values set by
configure are quoted. Yet, in my development environment before
changing the quotes, I see:
print "mail_group: %s" % "mark"
print "cgi_group: %s" % "www-data"
and
print "configure_opts: \"%s\"" % "--prefix=/var/MM/21 --with-
username=mark --with-groupname=mark --with-cgi-gid=www-data --with-mail-
gid=mark --with-mailhost=msapiro.net --with-urlhost=msapiro.net"
I.e. '--with-cgi-gid=www-data' does not produce
print "cgi_group: %s" % ""www-data""
whereas in your case, '--with-cgi-gid=apache' does produce
print "cgi_group: %s" % ""apache""
The difference is something in configure on the system on which the
package was built, but even then, why does it affect mail_group and
cgi_group and not, e.g., var_prefix, mailman_user and mailman_group?
Anyway, I did replace the double quotes with single quotes and that
should fix it.
--
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1774986
Title:
mailman-config incorrect quoting in print statement
To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1774986/+subscriptions
More information about the Mailman-coders
mailing list