]> code.ossystems Code Review - openembedded-core.git/commit
shadow: drop inappropriate patch
authorYi Zhao <yi.zhao@windriver.com>
Wed, 13 Mar 2019 03:26:31 +0000 (11:26 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Mar 2019 11:09:55 +0000 (11:09 +0000)
commit2a8b35226edde4cd49cb5ba68c5b47aa8379eca1
treea1c9bff9a8b98488f6a3ad60cc2f1f43017b915a
parent57154e8f8e65db82c5b75dc10635db308b525820
shadow: drop inappropriate patch

The 0001-useradd-copy-extended-attributes-of-home.patch (oe-core commit:
eed66e85af5ca6bbdd80cc3d5cf8453e8d8880bc) introduced a runtime failure
when enable SELinux.

When enable SELinux, The directory /home/user will get the extended
attributes of /etc/skel. However, the SELinux lable for /etc/skel is
etc_t which is also copied to /home/user. It will cause the user can not
write their home directory because the SELinux lable for /home/user
should be user_home_dir_t.

See discussion: http://lists.openembedded.org/pipermail/openembedded-core/2018-January/146039.html

The solution at the moment is to drop this patch.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/shadow/files/0001-useradd-copy-extended-attributes-of-home.patch [deleted file]
meta/recipes-extended/shadow/files/0001-useradd.c-create-parent-directories-when-necessary.patch
meta/recipes-extended/shadow/shadow.inc