Bug 2285

Summary: Missing require for fusioninventory-agent
Product: Mageia Reporter: Marianne Lombard <marianne>
Component: RPM PackagesAssignee: Guillaume Rousse <guillomovitch>
Status: RESOLVED FIXED QA Contact: Guillaume Rousse <guillomovitch>
Severity: normal    
Priority: Normal CC: guillomovitch
Version: 1   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: fusioninventory-agent CVE:
Status comment:
Attachments: Spec file with the requires

Description Marianne Lombard 2011-07-26 14:28:16 CEST
Description of problem:
When running fusioninventory-agent I have this trace : 
[root@J7M66Q1 ~]# fusioninventory-agent
[error] share-dir doesn't existe ()
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
FIXME: alloc bigger buffer for device capability descriptors
[info] Module FusionInventory::Agent::Task::OcsDeploy is not installed.
[info] Module FusionInventory::Agent::Task::SNMPQuery is not installed.
[info] Module FusionInventory::Agent::Task::NetDiscovery is not installed.

And report is not send to the server

I need to install perl-File-ShareDir to have a working agent. 
Can you add the requires ?
Comment 1 Marianne Lombard 2011-07-26 19:01:25 CEST
Created attachment 679 [details]
Spec file with the requires
Marianne Lombard 2011-07-26 19:14:33 CEST

CC: (none) => guillomovitch

Comment 2 Guillaume Rousse 2011-07-26 21:22:56 CEST
The missing dependency issue is fixed in cauldron. The failure to communicate with the server is unlikely to be related, as this error just prevents PCI IDs to get resolved in the output. If you can safely generate a local inventory (use --local /tmp or --stdout target), your problem has a different cause.

Status: NEW => ASSIGNED
QA Contact: (none) => guillomovitch

Comment 3 Marianne Lombard 2011-07-27 09:13:37 CEST
We can still do a update of the package in Mageia 1 to add the missing requires. 

Concerning, pci id, it's not a "problem", I just copy the entire trace in the case I was missing something.
Manuel Hiebel 2011-08-26 22:38:13 CEST

Assignee: bugsquad => guillomovitch

Comment 4 Guillaume Rousse 2011-08-26 22:59:49 CEST
An update seems overkill here:
- the problem is just a warning (non-fatal error)
- it can be solved using either an additional perl package, or per configuration
- none of these solutions mandates a change in the package

I'm closing the ticket.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED