In libselinux the setfscreatecon() function is implemented - which might
be the root cause of the problem.
** Package changed: shadow (Ubuntu) => libselinux (Ubuntu)
** Summary changed:
- useradd fails when selinux is set to permissive
+ resetting /proc/thread-self/attr/fscreate results in
It looks that the root cause affects multiple packages.
Observations: programs like lvchange have a similar problem:
# lvresize -L +1M /dev/mapper/vg-home
SELinux context reset: setfscreatecon failed: Invalid argument
SELinux context reset: setfscreatecon failed: Invalid argument
...
It