Bug 17206

Summary: Bad reference with AWSTATS (log analyzer)
Product: Mageia Reporter: Yves Specht <lsdm>
Component: New RPM package requestAssignee: Shlomi Fish <shlomif>
Status: REOPENED --- QA Contact:
Severity: enhancement    
Priority: Normal CC: ankesaini99, marja11, olivier
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: UPSTREAM
Source RPM: CVE:
Status comment:

Description Yves Specht 2015-11-23 09:11:57 CET
Description of problem:


Hello,
I use Awstats (log analyzer) for my websites.

In the page displaying the operating systems, never appears Mageia. The Mageia access are grouped together in "Linux".

Looking at the logs (access_log combined) Apache, we see that Mageia is
replaced by X86_64 (for access with a 64-bit version of Mageia), I have no 32-bit version.

I found a solution by modifying the file usr / share / awstats / lib / oprerating_systems.pm.

I can send you the edited file but it would be better to change
identifying Mageia log in to better know our good distribution.

Have a good day.

Yves


Reproducible: 

Steps to Reproduce:
Comment 1 Samuel Verschelde 2015-11-24 10:28:47 CET
I think this should be reported to the awstats project. The operating_systems.pm file comes from them, not from us. Can you do it and add the URL to the upstream bug report in the URL field here?

Assignee: bugsquad => shlomif
Whiteboard: (none) => UPSTREAM

Olivier FAURAX 2015-11-24 15:16:07 CET

CC: (none) => olivier

Comment 2 Yves Specht 2015-11-24 15:20:23 CET
(In reply to Samuel VERSCHELDE from comment #1)
> I think this should be reported to the awstats project. The
> operating_systems.pm file comes from them, not from us. Can you do it and
> add the URL to the upstream bug report in the URL field here?

This is not just a Awstats problem. Naturally, the file is obsolete because it included references to outdated distributions and some new distributions are not. But making mofifications in this file is not enough, it does not work because the logs provided by Mageia will not include not the name of the distribution.
Comment 3 Marja Van Waes 2018-04-18 08:56:15 CEST
@ Yves,

Thank you for having taken the needed time to report this issue!

Did this bug get fixed? If so, please change its status to RESOLVED - FIXED

If it didn't, then we regret that we weren't able to fix it in Mageia 5. Mageia 5 has officially reached its End of Life on December 31st, 2017 https://blog.mageia.org/en/2017/11/07/mageia-5-eol-postponed/
It only continued to get important security updates since then, because we are waiting for a big Plasma5 update in Mageia 6, that'll fix many of the Mageia 5 => 6 upgrade issues.

If you haven't seen that this bug got fixed, then please check whether this bug still exists in Mageia 6. If it does, then please change the Version (near the top, at the left) to "6". If you know it exists in Cauldron, then change Version to Cauldron. If you see it in both Cauldron and Mageia 6, then please set Version to Cauldron and add MGA6TOO on the Whiteboard.

Thanks,
Marja

CC: (none) => marja11

Comment 4 Marja Van Waes 2018-10-07 15:34:01 CEST
@ Yves:

No reply, so closing as OLD since Mageia 5 is no longer maintained.

==> If you didn't reset your password after February 2018, then you'll need to reset it here https://identity.mageia.org/forgot_password to be able to log in and comment in this report. <==

Status: NEW => RESOLVED
Resolution: (none) => OLD

Comment 5 Yves Specht 2019-02-02 18:48:00 CET
Hello,

Maybe it is too late to trace a bug that was already present in Mageia 5 concerning Awstats (a log analysis) and integrate a solution before the release of the 7.
The problem was mentioned in Bug 1706 (2015-11-23 09:11:57 CET).
To summarize :
- In the Apache logs NEVER appears the word Mageia or mageia but i386 or X86_64 which are generic names by default for Gnu / Linux OS.
By doing its analysis work, Awstats can not create the statistics lines of our system. This is a shame because for other systems (macOS, Windows, Ubuntu, ...) the various versions are present.
You can follow this link https://lsdm.onlynux.org/awstats.lsdm.osdetail.html to have a view of the page generated by Awstats .. Unfortunately, Mageia does not appear there.

Cordially.

Resolution: OLD => (none)
Status: RESOLVED => REOPENED

Comment 6 Shlomi Fish 2019-02-02 19:07:23 CET
(In reply to Yves Specht from comment #5)
> Hello,
> 
> Maybe it is too late to trace a bug that was already present in Mageia 5
> concerning Awstats (a log analysis) and integrate a solution before the
> release of the 7.
> The problem was mentioned in Bug 1706 (2015-11-23 09:11:57 CET).
> To summarize :
> - In the Apache logs NEVER appears the word Mageia or mageia but i386 or
> X86_64 which are generic names by default for Gnu / Linux OS.
> By doing its analysis work, Awstats can not create the statistics lines of
> our system. This is a shame because for other systems (macOS, Windows,
> Ubuntu, ...) the various versions are present.
> You can follow this link https://lsdm.onlynux.org/awstats.lsdm.osdetail.html
> to have a view of the page generated by Awstats .. Unfortunately, Mageia
> does not appear there.
> 
> Cordially.

Can you send a patch for "mgarepo co awstats"? See https://wiki.mageia.org/en/Mgarepo .

Version: 5 => Cauldron

ankit saini 2019-04-04 08:58:10 CEST

CC: (none) => ankesaini99

Comment 8 Olivier FAURAX 2022-07-16 13:44:30 CEST
Is this still valid?