Bug 6772 - Default settings in /etc/httpd/conf/webapps.d/sympa.conf cause sympa-www to fail.
Summary: Default settings in /etc/httpd/conf/webapps.d/sympa.conf cause sympa-www to ...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA2-32-OK MGA2-64-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2012-07-13 10:13 CEST by claire robinson
Modified: 2012-09-13 19:42 CEST (History)
4 users (show)

See Also:
Source RPM: sympa-6.1.9-2.3.mga2.src.rpm
CVE:
Status comment:


Attachments

Description claire robinson 2012-07-13 10:13:41 CEST
In  /etc/httpd/conf/webapps.d/sympa.conf the settings point to a non existent directory structure at /var/sympa instead of /var/lib/sympa which causes sympa-www to fail.
Manuel Hiebel 2012-07-14 00:03:53 CEST

Assignee: bugsquad => guillomovitch

Comment 1 Guillaume Rousse 2012-08-04 16:31:42 CEST
I just submitted 6.1.9-2.3.mga2 in updates_testing, fixing the issue.
Samuel Verschelde 2012-08-26 16:33:31 CEST

Source RPM: sympa => sympa-6.1.9-2.3.mga2.src.rpm

Samuel Verschelde 2012-08-26 16:34:31 CEST

Assignee: guillomovitch => qa-bugs

Comment 2 Dave Hodgins 2012-09-01 20:15:22 CEST
After configuring sympa with /usr/sbin/sympa_wizard.pl

I was trying to figure out why http://127.0.0.1/sympa was working ok
with the prior version, and then took a closer look at the file.

The change only affects http://127.0.0.1/static-sympa, however even
with this update, that still returns Access forbidden!.

# ll /var/lib/sympa/static_content
total 12
drwxr-xr-x 2 sympa sympa 4096 Sep  1 13:51 css/
drwxr-xr-x 2 sympa sympa 4096 Sep  1 13:56 icons/
-rw-r----- 1 sympa sympa    0 Sep  1 13:51 index.html
drwxrwxr-x 2 sympa sympa 4096 Sep  1 13:51 pictures/

What is supposed to create the index.html file?

From what I can see, it doesn't look like http://127.0.0.1/static-sympa is
intended to be used in a browser, so this update is probably not needed.

CC: (none) => davidwhodgins

Comment 3 Dave Hodgins 2012-09-01 20:26:31 CEST
I'm adding the feedback whiteboard entry, but it's actually Claire
that the question is for.

While the entry in /etc/httpd/conf/webapps.d/sympa.con for
the static-sympa sympa was obviously incorrect, is that
actually used anywhere?  What wasn't working?

Whiteboard: (none) => feedback

Comment 4 claire robinson 2012-09-01 21:26:25 CEST
From what I remember Dave it was sympa-www, the web interface.

See https://bugs.mageia.org/show_bug.cgi?id=5939#c31

It seems it affected mga1 and 2 although I think this update is just for mga2 so we should probably create another bug for mga1.

Whiteboard: feedback => (none)

Comment 5 Dave Hodgins 2012-09-02 05:38:49 CEST
(In reply to comment #4)
> From what I remember Dave it was sympa-www, the web interface.
> 
> See https://bugs.mageia.org/show_bug.cgi?id=5939#c31
> 
> It seems it affected mga1 and 2 although I think this update is just for mga2
> so we should probably create another bug for mga1.

As per https://bugs.mageia.org/show_bug.cgi?id=5939#c22, bug 6714 was
opened for the problem with modules not loading, which affected Mageia 2
only.

The problem with the fcgi files downloading instead of running was caused
missing changes in /etc/httpd/modules.d/92_mod_fastcgi.conf from the
apache-mod_fastcgi package.  Several other apache modules required the
same change, in order to work in a systemd environment.

That was fixed in Mageia 2 Core Updates Testing on 2012-07-07, with that
fix pushed to Core Updates 2012-07-21.

Comparing sympa running with the Core Updates version versus the Core Updates
testing version, the difference is whether or not things like the sympa logo
get loaded.  Didn't notice the missing logo before, as I'd never seen it. :-)

Testing complete on Mageia 2 i586 and x86-64.

Advisory:  This bugfix update for sympa-www corrects a path error in the
httpd configuration file, that prevented static content such as the sympa
logo from being displayed.

This does affect Mageia 1 as well.

Guillaume, would you like to correct the Mageia 1 version as part of this
update, or would you prefer that we validate this update, and open a new
one for Mageia 1?

Whiteboard: (none) => MGA2-32-OK MGA2-64-OK feedback

Comment 6 Dave Hodgins 2012-09-06 17:55:58 CEST
Adding Guillaume to the cc list.  Please take a look at comment 5.

CC: (none) => guillomovitch

Comment 7 claire robinson 2012-09-12 11:27:17 CEST
Bug 7456 created for Mageia 1

Validating this one.

Advisory:  This bugfix update for sympa-www corrects a path error in the
httpd configuration file, that prevented static content such as the sympa
logo from being displayed.

SRPM: sympa-6.1.9-2.3.mga2


Could sysadmin please push from core/updates_testing to core/updates

Thanks!

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs
Whiteboard: MGA2-32-OK MGA2-64-OK feedback => MGA2-32-OK MGA2-64-OK

Comment 8 Thomas Backlund 2012-09-13 19:42:47 CEST
Update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0190

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


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