[Bug 1769301] Re: useradd fails when selinux is set to permissive

2018-05-05 Thread Andreas Florath
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

[Bug 1769301] Re: useradd fails when selinux is set to permissive

2018-05-05 Thread Andreas Florath
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