On Fri, 2018-01-05 at 01:07 +0000, Fan, Wenzong wrote: > It works and will override the labels of home dir that SELinux > applied, that's the issue. > > For SELinux enabled system, the user's home dir should have lavel > 'user_home_dir_t' instead of 'etc_t', it prevents users from creating > files in their home dir.
Sounds like the "copy xattr" function needs to become a bit smarter: it needs to understand some of the semantic involved and skip those SELinux xattrs that are always meant to be set dynamically by the running kernel. Wenzong, which xattrs are those? Do you agree with the proposed solution? Jose, can you look into updating your patch accordingly? -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter. -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core