Bug 1005696 - roundcubemail depends on httpd (apache)
roundcubemail depends on httpd (apache)
Product: Fedora EPEL
Classification: Fedora
Component: roundcubemail (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Gwyn Ciesla
Fedora Extras Quality Assurance
: Reopened
Depends On:
  Show dependency treegraph
Reported: 2013-09-09 04:30 EDT by Guido Berhoerster
Modified: 2013-10-19 08:39 EDT (History)
4 users (show)

See Also:
Fixed In Version: roundcubemail-0.9.4-1.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-09-22 20:29:23 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Guido Berhoerster 2013-09-09 04:30:13 EDT
It is possible to serve roundcubemail with many different webservers other than apache e.g. lighttpd/nginx in combination with spawn-fcgi/php-fpm/uwsgi or only uwsgi. Please remove the direct dependency on httpd which enforces the installation apache. I suppose it could be changed to "webserver" which is provided by lighttpd, nginx or subpackages with a default configuration could be added similar to how the owncloud package does it.
Comment 1 Fedora Update System 2013-09-09 09:32:07 EDT
roundcubemail-0.9.4-1.fc18 has been submitted as an update for Fedora 18.
Comment 2 Fedora Update System 2013-09-09 09:32:33 EDT
roundcubemail-0.9.4-1.el6 has been submitted as an update for Fedora EPEL 6.
Comment 3 Fedora Update System 2013-09-09 09:32:52 EDT
roundcubemail-0.9.4-1.fc19 has been submitted as an update for Fedora 19.
Comment 4 Fedora Update System 2013-09-09 09:33:21 EDT
roundcubemail-0.9.4-1.fc20 has been submitted as an update for Fedora 20.
Comment 5 Fedora Update System 2013-09-09 12:21:37 EDT
Package roundcubemail-0.9.4-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing roundcubemail-0.9.4-1.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 6 Guido Berhoerster 2013-09-10 16:31:02 EDT
Thanks for the quick response. I just tried roundcubemail-0.9.4-1.el6 and it still drags in apache due to the dependency on "php" which in turn depends on "httpd", could you remove that as well?
Comment 7 Gwyn Ciesla 2013-09-11 08:56:33 EDT
I can't, as that's provided by RHEL.
Comment 8 Guido Berhoerster 2013-09-11 09:11:34 EDT
I mean roundcubemail's dependency on the package "php" which contains the apache php module (and therefore in turn depends on httpd) and is not needed e.g. when running php via cgi or php-fpm.
Comment 9 Gwyn Ciesla 2013-09-11 09:20:11 EDT
What would you suggest replacing it with?
Comment 10 Guido Berhoerster 2013-09-11 10:15:05 EDT
Currently php webapps can be served through php/php-fpm/php-cli/php-embedded, more precisely at least through the following combinations of webserver and php runtime:

- php (embedded)
- mod_fcgid + php-fpm (FastCGI)
- php-cli (CGI)

- php-fpm (FastCGI)
- php-cli (CGI)

- php-fpm (FastCGI)

- uwsgi-plugin-php (embedded)
- behind mod_uwsgi of any of the above servers

There is a precedent in the owncloud package which ships owncloud-nginx and owncloud-httpd subpackages but IMO due to the sheer number of possible combinations that doesn't really scale.
Maybe a pragmatic approach is to just ship example configs for the common cases e.g. apache+php but without depending on a webserver and a specific php runtime?
Comment 11 Fedora Update System 2013-09-18 09:04:38 EDT
roundcubemail-0.9.4-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 12 Fedora Update System 2013-09-18 09:07:36 EDT
roundcubemail-0.9.4-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 13 Guido Berhoerster 2013-09-20 06:08:13 EDT
Not yet resolved, see comment #9 and #10.
Comment 14 Gwyn Ciesla 2013-09-20 09:37:27 EDT
I'm reluctant to make changes that result in yum install roundcubemail not resulting in something workable.  Does the presence of httpd on the system prevent the installation or operation of one of the other methods?  I understand the desire to minimize the installed packages on a system, but I also want to avoid breaking things.
Comment 15 Guido Berhoerster 2013-09-20 14:37:43 EDT
No, I opened this bug report only because of the excessive dependencies of apache and mod_php and because I noticed the new owncloud package addressing this. Arguably this is a bigger issue that affects other webapps as well (in particular since there are more possibilities for running them than ever and disk space is a concern as webapps are commonly run from vms).
I agree that a package should express all dependencies, maybe a solution would be to expand on the owncloud scheme and add a separate subpackage with all common files excluding a specific webserver default configuration, e.g.

- mostly empty package
- requires webapp-webserver
- requires webapp-common

- contains the config for httpd and mod_php
- provides webapp-webserver
- requires webapp
- requires httpd
- requires php

- contains the config for httpd and php-fpm
- provides webapp-webserver
- requires webapp
- requires nginx
- requires php-fpm

- contains actual webapp without webserver specific default configuration

By splitting out the common package one can install the webapp without a default configuration for a more adavanced use cases, e.g. stripped down vm, serving via uwsgi.
Comment 16 Fedora Update System 2013-09-22 20:29:23 EDT
roundcubemail-0.9.4-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 17 Fedora Update System 2013-09-24 12:14:40 EDT
roundcubemail-0.9.4-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 18 Robert Scheck 2013-10-19 08:39:18 EDT
Does this change make sense at all? Roundcube still depends on the "apache"
user and I'm in doubt that others than Apache Webserver provide the "apache"
system user?

Note You need to log in before you can comment on or make changes to this bug.