Bug 6176

Summary: oprofileui-server failed to create avahi client because avahi-daemon is missing
Product: [Build System, Metadata & Runtime] BSPs Reporter: Adrian Calianu <adrian.calianu>
Component: bsps-oe-coreAssignee: Adrian Calianu <adrian.calianu>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: ross.burton, sgw
Version: unspecified   
Target Milestone: 1.7   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
proposed patch to fix runtime dependency of oprofileui-server none

Description Adrian Calianu 2014-04-18 11:37:48 UTC
Created attachment 1919 [details]
proposed patch to fix runtime dependency of oprofileui-server

Adding packagegroup-core-tools-profile (IMAGE_FEATURES += "tools-profile") will add oprofileui-server into final image.

It looks that the oprofileui-server is dependent on avahi and at boot time the following warning message is displayed.

"
Starting OProfileUI server

** (oprofile-server:1625): WARNING **: Failed to create avahi client: Daemon not running
"

The problem is found on oprofileui-server recipe which depends on avahi recipe. But avahi recipe generates more packages and one of those packages(avahi-daemon) which oprofileui-server expected to be available is not found into image.

In order to fix this issues I think the oprofileui-server should have a runtime dependency on avahi-daemon package.

Please see proposed patch attached.
Comment 1 Saul Wold 2014-04-18 17:54:18 UTC
This seems to be a reasonable patch, please add a signed off and submit it to the openembedded-core@lists.openembedded.org
Comment 2 Adrian Calianu 2014-05-28 15:06:44 UTC
The patch was committed: 
commit	a111ca6c811bae3d8b2114c914ba92edd7ea546b
Commit:     Richard Purdie <richard.purdie@linuxfoundation.org>
CommitDate: Thu Apr 24 17:55:13 2014 +0100
Comment 3 Ross Burton 2014-06-11 21:18:53 UTC
As per the previous comment, closing.