[Dev] Smack - Home screen issue

Schaufler, Casey casey.schaufler at intel.com
Sun Jan 31 03:22:36 GMT 2016


> -----Original Message-----
> From: Dev [mailto:dev-bounces at lists.tizen.org] On Behalf Of Joshua Varghese
> Sent: Saturday, January 30, 2016 2:29 AM
> To: dev at lists.tizen.org
> Subject: [Dev] Fwd: Smack - Home screen issue
> 
> Hi,
> 
> We are trying to install apps on our MIPS based platform. We learnt that
> SMACK is necessary for apps installation. So, we enabled SMACK (which we
> disabled earlier). We are getting the boot-animation logo but the menu screen
> doesn't show up. In our kernel logs, we find errors which say "permission
> denied" e.g (" type=1400 audit(1420366222.567:8): lsm=SMACK
> fn=smack_inode_permission action=denied subject="_"
> object="device::app_logging" requested=w pid=271 comm="enlightenment"
> name="log_main" dev="devtmpfs" ino=2067 ") and in the dlogutil logs, we find
> errors related to w-home ("E/PRIVILEGE_CONTROL(  493): privilege-control.c:
> get_smack_from_binary(468) > Getting exec label from file
> /usr/apps/org.tizen.w-home/bin/w-home failed  "). We tried to give w-home
> executable permissions using chsmack, but we get an error "Operation not
> supported". Could this be because we don't have the CAP_SMACK_ADMIN
> privilege. What do we do?

Operation not supported implies that the filesystem you are trying
to set the Smack label on does not support extended attributes.

> -sh-4.1# chsmack -e "System" /usr/apps/org.tizen.w-home/bin/w-home
> /usr/apps/org.tizen.w-home/bin/w-home: Operation not supported
> 
> P.S: We find that all the processes/files have the default label "_". Do we need
> to change them and if yes, how?
> 
> Please find the attached Kernel and dlogutil logs
> 
> Thanks & Regards,
> Atchyut Sreekar Durga



More information about the Dev mailing list