Learn more about these different git repos.
Other Git URLs
A mentioned tests are failed with "Operation not permitted".
[==========] Running 3 test(s). [ RUN ] test_check_if_uid_is_active_success (Thu Jul 26 17:12:04:419053 2018) [sssd] [get_uid_from_pid] (0x0020): open failed [/proc/1/status][1][Operation not permitted]. (Thu Jul 26 17:12:04:419097 2018) [sssd] [get_active_uid_linux] (0x0020): get_uid_from_pid failed. (Thu Jul 26 17:12:04:419105 2018) [sssd] [check_if_uid_is_active] (0x0020): get_uid_table failed. [ ERROR ] --- ret == EOK [ LINE ] --- src/tests/cmocka/test_find_uid.c:46: error: Failure! [ FAILED ] test_check_if_uid_is_active_success ...
The target system: procfs is mounted with "hidepid=1".
Similar patch as in your PR was available 4 years ago.
You can check also related discussion. https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org/thread/TC3IFICM4UDQEFQGKGY2BP2I5X6ZTV5B/#TC3IFICM4UDQEFQGKGY2BP2I5X6ZTV5B
Rereading the old thread I think you had a point with your patch and I don't understand my own arguments :-) handling EPERM gracefully seems like the right thing to do.
master: a41367f
Metadata Update from @fidencio: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
SSSD is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in SSSD's github repository.
This issue has been cloned to Github and is available here: - https://github.com/SSSD/sssd/issues/4788
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Log in to comment on this ticket.