Find the fault package from log file. 51/15951/1 accepted/tizen/generic accepted/tizen/generic/20140226.072408 submit/tizen/20140226.000750
authorSung-jae Park <nicesj.park@samsung.com>
Fri, 31 Jan 2014 15:44:46 +0000 (00:44 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Fri, 31 Jan 2014 15:44:46 +0000 (00:44 +0900)
commit2645ffe682d2e0b828b15fadab3b5877255e672c
treef5c96ad4e1e49bedd50e0a606b1d149b36fe9c65
parenta39a73ac5d1f8e3109c2e2175b902aa98953fb84
Find the fault package from log file.

if it is available.

The data-provider-slave will leave the fault log if it finds a "SO" filename from the siganl handler.
And then if the master catches abnormal termination of slave provider, the master will try to open a
slave's fault log file. if it founds, the master will get the so filename from a log file.
and find the lbid using livebox-service API.

Previously, the master could not find the lbid correctly because of the old style code.
This patch will find the lbid from the DB.

*lbid = livebox Id (aka. dynamic box id)

Change-Id: Idc9ea93bb05c2059d8717385c5610a8ed2f8c22b
packaging/data-provider-master.spec
src/fault_manager.c