On Tue, Aug 14, 2012 at 11:11:01AM +0200, Pavel Březina wrote:
Nack.
User cannot login when the loginfile does not exist because you
return !EOK here:
if (!file_content) {
err = remove_selinux_login_file(pd->user);
/* Don't overwrite original error condition if there was one */
if (ret == EOK) ret = err;
}
talloc_free(tmp_ctx);
return ret;
Thank you. I think I should just ignore ENOENT in
remove_selinux_login_file()
New patches are attached.