Centos Linux 6 not identified

Bug #1246427 reported by mar.mack
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OCS Inventory: Unified Unix Agent
Fix Released
Low
Frank

Bug Description

CentOS Linux 6 is identified as Linux ... and not CentOS.

To solve the problem.
I just made a copy of the file /usr/lib/perl5/site_perl/5.8.8/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB/Redhat.pm and name it CentOS.pm .
I remove test on link and vmware.
Because CentOS is a RedHat like...

NB: i noticed that checking the file /etc/redhat-release or /etc/debian-version permit identified 90% of linux distro ...

Revision history for this message
mar.mack (mar-mack) wrote :
Frank (frank-bourdeau)
Changed in ocsinventory-unix-agent:
importance: Undecided → Low
assignee: nobody → Frank (frank-bourdeau)
Frank (frank-bourdeau)
Changed in ocsinventory-unix-agent:
status: New → Fix Committed
Revision history for this message
Rémy (remy-garrigue) wrote :

I got the same issue, found the same fix by myself. One precision though, CentOS with redhat-lsb package installed are properly identified.
And one thought, I got a /etc/system-release on my CentOS servers, maybe that's the way to go for genericity.

ebusuttil (ebusuttil)
Changed in ocsinventory-unix-agent:
status: Fix Committed → Fix Released
Frank (frank-bourdeau)
Changed in ocsinventory-unix-agent:
milestone: none → 2.2rc1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.