[Pkg-shadow-devel] acl, attr and selinux

Peter Vrabec pvrabec at redhat.com
Mon Nov 14 12:56:41 UTC 2011


Hi all,

I'm sending you three patches.

1. shadow-upstream-acl.patch
Previously, copying of /etc/skel was stopped when user's home directory was on 
filesystem which didn't support ACL/xattr and xattr was set on one of the files.

This patch makes copy_{file,dir,special} ignore EOPNOTSUPP.

2. shadow-upstream-attr.patch
LDADD += $(LIBATTR)

3. shadow-upstream-libsemanage.patch
This one is important. Replace "/usr/sbin/semanage" exec() by libsemange 
library calls. This solution is much nicer. Please take a look at the patch. 
Stack of dependencies was reduced because package require libsemanage and not 
policycoreutils-python.(Fedora)

Regards,
Peter.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shadow-upstream-acl.patch
Type: text/x-patch
Size: 1757 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20111114/1fc9cab3/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shadow-upstream-attr.patch
Type: text/x-patch
Size: 816 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20111114/1fc9cab3/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shadow-upstream-libsemanage.patch
Type: text/x-patch
Size: 25476 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20111114/1fc9cab3/attachment-0005.bin>


More information about the Pkg-shadow-devel mailing list