[jbosstools-issues] [JBoss JIRA] Issue Comment Edited: (JBIDE-7268) usage reporting does report ubuntu linux as debian

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Wed Oct 6 10:25:39 EDT 2010


    [ https://jira.jboss.org/browse/JBIDE-7268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555600#action_12555600 ] 

Andre Dietisheim edited comment on JBIDE-7268 at 10/6/10 10:24 AM:
-------------------------------------------------------------------

it looks like it is not reliable to check for the lack of a /etc/lsb-release file (to distinguish it from ubuntu). Debain may also have a /etc/lsb-release file. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=444678

      was (Author: adietish):
    it looks like it is not reliable to check for debian if it has no /etc/lsb-release (to distinguish it from ubuntu). Debain may also have a /etc/lsb-release file. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=444678
  
> usage reporting does report ubuntu linux as debian
> --------------------------------------------------
>
>                 Key: JBIDE-7268
>                 URL: https://jira.jboss.org/browse/JBIDE-7268
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: usage
>    Affects Versions: 3.2.0.M2
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 3.2.0.Beta2
>
>
> The usage reporting plugin currently recognizes Ubuntu linux as debian. This is wrong and should be corrected.
> The reason is the following:
> - the recogintion code checks the presence of certain files:
> /etc/lsb-release for Ubuntu
> and /etc/debian_version for Debian.
> - Debian is checked before Ubuntu, so it finds /etc/debian_version and thinks the Ubuntu distro is a debian distro. 
> - Furthermore this file contains no numerical verison (contains "squeeze/sid") in it, so Ubuntu distros get reported as Debian without version.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list