processor fact does not handle arm, others

Bug #911812 reported by LaMont Jones
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
facter (Ubuntu)
Fix Released
High
Unassigned
Precise
Fix Released
High
Unassigned

Bug Description

/proc/cpuinfo is architecture specific, and the facter code does not correctly handle it.

Revision history for this message
LaMont Jones (lamont) wrote :
tags: added: patch
Dave Walker (davewalker)
Changed in facter (Ubuntu Precise):
importance: Undecided → High
status: New → Triaged
Changed in facter (Ubuntu Precise):
assignee: nobody → Andres Rodriguez (andreserl)
tags: added: rls-p-tracking
Revision history for this message
Robie Basak (racb) wrote :

It looks like this patch is already applied in Precise, based on a visual inspection of /usr/lib/ruby/1.8/facter/util/processor.rb.

On a Pandaboard freshly installed with a Precise armhf netinst today:

root@panda0:~# facter processorcount
2
root@panda0:~# facter processor0 processor1
processor0 => ARMv7 Processor rev 2 (v7l)
processor1 => ARMv7 Processor rev 2 (v7l)
root@panda0:~# facter physicalprocessorcount
1
root@panda0:~# dpkg-query -W facter
facter 1.6.5-1ubuntu1

LaMont: is this the behaviour you are expecting?

Changed in facter (Ubuntu Precise):
assignee: Andres Rodriguez (andreserl) → Robie Basak (racb)
Revision history for this message
Robie Basak (racb) wrote :

<rbasak> lamont: can I mark the bug Fix Released for precise, or would you like to check further first?
<lamont> 'tever - if it's returning good facts, I'm happy

Changed in facter (Ubuntu Precise):
status: Triaged → Fix Released
assignee: Robie Basak (racb) → nobody
no longer affects: facter (Ubuntu Lucid)
no longer affects: facter (Ubuntu Maverick)
no longer affects: facter (Ubuntu Natty)
no longer affects: facter (Ubuntu Oneiric)
no longer affects: facter (Ubuntu Hardy)
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.