CPU on Ubuntu may not be detected because of `arch` command and Dumper reference
Bug #1293588 reported by
Oleg Cherkasov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OCS Inventory: Unified Unix Agent |
Fix Released
|
Low
|
Frank |
Bug Description
Hi,
It look like arch command on Ubuntu is in /usr/bin/arch rather hardcoded /bin/arch (Fedora and RHEL). Dumper() reference (use statement) is missing as well. Here is diff with original lib/Ocsinventor
5,6d4
< use Data::Dumper;
<
9c7
< sub check { can_read(
---
> sub check { can_read(
Changed in ocsinventory-unix-agent: | |
milestone: | none → 2.2rc1 |
Changed in ocsinventory-unix-agent: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
See commits http:// bazaar. launchpad. net/~ocsinvento ry-dev/ ocsinventory- unix-agent/ stable- 2.1/revision/ 1181 and http:// bazaar. launchpad. net/~ocsinvento ry-dev/ ocsinventory- unix-agent/ stable- 2.1/revision/ 1182