Issue while starting legato 16.01.2 framework

This forum has moved to http://forum.legato.io

Issue while starting legato 16.01.2 framework

Postby ravik » Fri Jun 03, 2016 1:48 pm

I am porting Legato framework 16.01.2 on to IMX6 Sabersd board. I have compiled framework using IMX6 toolchain and placed on the board.

Started framework by running "start" script from /mnt/legato, I could see "Could not set extended attribute. Operation not supported" while executing following commands.

Code: Select all
   xattr set security.SMACK64 "*" /dev/null
   xattr set security.SMACK64 "*" /dev/zero


Can you guide me to fix the error while executing xattr on /dev/null and /dev/zero.
ravik
 
Posts: 4
Joined: Mon May 09, 2016 5:26 am
Has thanked: 2 times
Have thanks: 0 time

Re: Issue while starting legato 16.01.2 framework

Postby kmurphy » Fri Jun 10, 2016 6:20 pm

Alex Jiang is travelling today, so I'm quoting his response:

Not all file systems supported extended attributes and if an attempt is made to set the extended attribute on such a file system then ENOTSUP 'Operation not supported' error will be returned. Since /dev/zero is a kernel file system this should always work unless it has been disabled. I don't know if there is a kernel configuration to enable extended attributes but I would check there first.
User avatar
kmurphy
 
Posts: 30
Joined: Fri Dec 06, 2013 3:33 pm
Has thanked: 0 time
Have thanks: 2 times

Re: Issue while starting legato 16.01.2 framework

Postby ravik » Sat Jun 11, 2016 6:13 am

After enabling kernel configuration as shown below, the issue was fixed.
Code: Select all
security options -> Enable different security models :
                         Simplified Mandatory Access Control Kernel support
                         Default securitymodule(Simplified Mandatory Access Control)
ravik
 
Posts: 4
Joined: Mon May 09, 2016 5:26 am
Has thanked: 2 times
Have thanks: 0 time


Return to Legato Application Framework -- MOVED TO FORUM.LEGATO.IO

Who is online

Users browsing this forum: No registered users and 1 guest