Mac user agent not generating UUID
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OCS Inventory: Unified Unix Agent |
Fix Released
|
Medium
|
mortheres |
Bug Description
None of the (few) Mac OS X systems we have in OCS Inventory are showing a UUID in the database. Since we use this for duplication detection, this means that we are getting duplicate entries for every Mac over time.
Here is what I currently see in the hardware table when I look for OS X:
+------
| name | osname | osversion | type | useragent | uuid |
+------
| goldencrab | Mac OS X | 10.7.5 (11G63) | 0 | OCS-NG_
| grove | Mac OS X | 10.7.2 (11C74) | 0 | OCS-NG_
| julyred | Mac OS X | 10.7.5 (11G56) | 0 | OCS-NG_
| macbronze | OS X | 10.8.4 (12E55) | 0 | OCS-NG_
| macdream | OS X | 10.8.3 (12D78) | 0 | OCS-NG_
| macduck | OS X | 10.8.4 (12E55) | 0 | OCS-NG_
| macfast | OS X | 10.8.4 (12E55) | 0 | OCS-NG_
| macfast | OS X | 10.8.4 (12E55) | 0 | OCS-NG_
| macfast | OS X | 10.8.4 (12E55) | 0 | OCS-NG_
| macfast | OS X | 10.8.4 (12E55) | 0 | OCS-NG_
| macgold | OS X | 10.8.4 (12E55) | 0 | OCS-NG_
| macjeep | OS X | 10.8.4 (12E55) | 0 | OCS-NG_
| macmustang | OS X | 10.8.4 (12E55) | 0 | OCS-NG_
| macnova | OS X | 10.8.4 (12E55) | 0 | OCS-NG_
| macnova | OS X | 10.8.3 (12D78) | 0 | OCS-NG_
| macspeedy | OS X | 10.8.4 (12E55) | 0 | OCS-NG_
| macvan | OS X | 10.8.4 (12E55) | 0 | OCS-NG_
| princess | Mac OS X | 10.7.5 (11G56) | 0 | OCS-NG_
| sandman | Mac OS X | 10.7.5 (11G63) | 0 | OCS-NG_
| sandman | Mac OS X | 10.7.5 (11G63) | 0 | OCS-NG_
| sunset | Mac OS X | 10.7.2 (11C74) | 0 | OCS-NG_
| systems-macbook | Mac OS X | 10.7.5 (11G63) | 0 | OCS-NG_
| York | Mac OS X | 10.7.5 (11G56) | 0 | OCS-NG_
+------
23 rows in set (0.01 sec)
Changed in ocsinventory-unix-agent: | |
assignee: | nobody → mortheres (mortheres) |
importance: | Undecided → Medium |
Changed in ocsinventory-unix-agent: | |
status: | New → Fix Committed |
milestone: | none → 2.1 |
Changed in ocsinventory-unix-agent: | |
status: | Fix Committed → Fix Released |
Hi,
Thanks a lot for your report. Bug has been fixed in release 1168 of the ocsinventory- unix-agent/ stable- 2.1 branch: http:// bazaar. launchpad. net/~ocsinvento ry-dev/ ocsinventory- unix-agent/ stable- 2.1/revision/ 1168 .
You can test it by replacing /Applications/ OCSNG.app/ Contents/ Resources/ lib/Ocsinventor y/Agent/ Backend/ OS/MacOS. pm file by the one from this revision.
The fix will be released in final OCS 2.1 release :D :D.
Kind regards,
--
Guillaume