Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283499 - net-mail/mailman does not honor HTTPD_USER/HTTPD_GROUP
Summary: net-mail/mailman does not honor HTTPD_USER/HTTPD_GROUP
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-02 11:00 UTC by steveb
Modified: 2020-11-10 20:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description steveb 2009-09-02 11:00:08 UTC
Installing mailman 2.1.12 gives me the following error:
[....]
Compiling /var/tmp/portage/net-mail/mailman-2.1.12/image//usr/lib/mailman/Mailman/versions.py ...
chown: invalid user: `apache:mailman'
>>> Completed installing mailman-2.1.12 into /var/tmp/portage/net-mail/mailman-2.1.12/image/
[....]


I have no user apache on my system since I use nginx:
theia / # grep ^HTTPD_ /etc/make.conf
HTTPD_USER="nginx"
HTTPD_GROUP="nginx"
theia / #

The ebuild should check for HTTPD_USER/HTTPD_GROUP and use that for chowning the files. I know that I can use 'MAILMAN_CGIUID="nginx" MAILMAN_CGIGID="nginx" emerge mailman' but why supplying something by hand when it is already there in make.conf and it's used by other ebuilds?

Reproducible: Always
Comment 1 steveb 2009-09-02 20:35:10 UTC
Just realized another issue with the mailman ebuild:
------
theia / # grep -iR apache /var/db/pkg/net-mail/mailman-2.1.12/CONTENTS
dir /etc/apache2
dir /etc/apache2/modules.d
obj /etc/apache2/modules.d/50_mailman.conf 64e1a6f932e8c266694f7ad18e336859 1251889054
theia / #
------

I don't want that thing to install Apache related stuff. I have not set the Apache use flag nor have I installed Apache nor have I instructed my Gentoo system to install any Apache related configuration options. Why does the ebuild install then the Apache related configuration? Is not the "apache2" use flag made for such things? If not then the mailman ebuild should force me to install Apache and have a hard dependency to Apache. But it does not have that. Can we please not make the ebuild to work with the "apache2" use flag and only install Apache related configuration options if one is using Apache?

Comment 2 Hanno Böck gentoo-dev 2020-11-10 20:43:48 UTC
Affects obsolete mailman2 package.