I think there is little connection between SMACK and the Tizen WRT privilege 
checking.

Regards
Joel


-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Stanislav Vorobiov
Sent: Tuesday, April 08, 2014 7:47 AM
To: Chang, Ziv; [email protected]
Subject: Re: pkgcmd cannot install wgt package on ivi emulator

Hi,

IMHO we should concentrate on enabling complete SMACK support in emulator. 
Without SMACK we'll be having problems again and again. We'll work around one 
problem, but meet the others.
IMHO it's not even worth trying to do something else until SMACK is fully 
operational.

Thanks.

On 04/08/2014 06:19 PM, Chang, Ziv wrote:
> 
> Hi,
> 
> It seems related to SMACK.
> Original I use the kernel without SMACK (add kernel args: 
> secuirty=none) => encounter install fail issue When I enable SMACK => 
> it is workable
> 
> Next question is that, is it possible to pass the privilege checking 
> when SMAK disable?
> 
> Many thanks,
> Ziv
> 
> On 4/8/14, 8:37 PM, "Chang, Ziv" <[email protected]> wrote:
> 
>> Hi,
>>
>> I encounter the issue when I use pkgcmd to install wgt package 
>> (sample
>> app: ghost.wgt => ghost cluster ) by command
>>
>> # /usr/bin/pkgcmd ­I ­q ­t wgt ­p ghost.wgt __return_cb req_id[1] 
>> pkg_type[wgt] pkgid[7gelKnqZeh] key[start] val[install] __return_cb 
>> req_id[1] pkg_type[wgt] pkgid[7gelKnqZeh] key[install_percent] val[0] 
>> __return_cb req_id[1] pkg_type[wgt] pkgid[7gelKnqZeh] 
>> key[install_percent] val[0] __return_cb req_id[1] pkg_type[wgt] 
>> pkgid[7gelKnqZeh] key[install_percent] val[0] ŠŠ __return_cb 
>> req_id[1] pkg_type[wgt] pkgid[7gelKnqZeh] key[install_percent] 
>> val[80] __return_cb req_id[1] pkg_type[wgt] pkgid[7gelKnqZeh] 
>> key[install_percent] val[80] __return_cb req_id[1] pkg_type[wgt] 
>> pkgid[7gelKnqZeh] key[install_percent] val[80] __return_cb req_id[1] 
>> pkg_type[wgt] pkgid[7gelKnqZeh] key[error] val[122] __return_cb 
>> req_id[1] pkg_type[wgt] pkgid[7gelKnqZeh] key[end] val[fail] 
>> processing result : Unknown Error [122] failed spend time for pkgcmd 
>> is [1751]ms
>>
>>
>> It is fail by error code :122 (WEB_ACE_CHECK_FAILED)   => privilege value
>> fail in ³config.xml²
>> The same wgt package is workable in real IVI image.
>>
>> Another try:
>> When I remove the privilege element in the config.xml and try again 
>> => it's workable on emulator <tizen:privilege 
>> name=³http://tizen.org/privilege/vehicle²/>
>>
>> I don¹t have enough knowledge in this field. (pkgcmd / check 
>> privilege Š.) Could anyone help or give some tips?
>>
>> Regards,
>> Ziv
>>
>>
>>
>> _______________________________________________
>> IVI mailing list
>> [email protected]
>> https://lists.tizen.org/listinfo/ivi
> 
> _______________________________________________
> IVI mailing list
> [email protected]
> https://lists.tizen.org/listinfo/ivi
> 

_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi
_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi

Reply via email to