Bug 6176 - oprofileui-server failed to create avahi client because avahi-daemon is missing
Summary: oprofileui-server failed to create avahi client because avahi-daemon is missing
Status: RESOLVED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-oe-core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.7
Assignee: Adrian Calianu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-04-18 11:37 UTC by Adrian Calianu
Modified: 2014-06-11 21:18 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
proposed patch to fix runtime dependency of oprofileui-server (646 bytes, application/octet-stream)
2014-04-18 11:37 UTC, Adrian Calianu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.