with "passenger" useflag on, www-apps/redmine-4.1.1 installs the following vhost config: vbox ~ # cat /etc/apache2/vhosts.d/10_redmine_vhost.conf <IfModule passenger_module> Listen 3000 <VirtualHost *:3000> DocumentRoot /var/lib/redmine/public # RailsEnv production <Directory "/var/lib/redmine/public"> Options FollowSymLinks Order allow,deny Allow from all </Directory> </VirtualHost> </IfModule> apache refuses to start with that config: vbox ~ # /etc/init.d/apache2 start * apache2 has detected an error in your setup: AH00526: Syntax error on line 8 of /etc/apache2/vhosts.d/10_redmine_vhost.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration * ERROR: apache2 failed to start The issue is the old apache2.2 syntax is used; the fix is to use the new syntax for apache2.4: vbox ~ # cat /etc/apache2/vhosts.d/10_redmine_vhost.conf <IfModule passenger_module> Listen 3000 <VirtualHost *:3000> DocumentRoot /var/lib/redmine/public # RailsEnv production <Directory "/var/lib/redmine/public"> Options FollowSymLinks Require all granted </Directory> </VirtualHost> </IfModule> Reproducible: Always
Created attachment 640612 [details] emerge-info.txt
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f41bc627b6b7c6a5618fd62d1f4e6075965d23e0 commit f41bc627b6b7c6a5618fd62d1f4e6075965d23e0 Author: Azamat H. Hackimov <azamat.hackimov@gmail.com> AuthorDate: 2020-06-15 10:54:43 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-06-15 10:57:15 +0000 www-apps/redmine: fixing bugs Fixed bugs based on reports from Bugzilla: * #724384 - changed file permissions for config.ru to redmine:redmine * #724388 - updated Apache2's 10_redmine_vhost.conf to comply 2.4 syntax * #724464 - relaxing rails version to ~>5.2.4 Closes: https://bugs.gentoo.org/724384 Closes: https://bugs.gentoo.org/724388 Closes: https://bugs.gentoo.org/724464 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org> www-apps/redmine/files/10_redmine_vhost.conf | 3 +- www-apps/redmine/redmine-4.1.1-r1.ebuild | 231 +++++++++++++++++++++++++++ 2 files changed, 232 insertions(+), 2 deletions(-)