_SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX are only size *hints*. Their names are misleading, it is not a maximum size. snapperd should still loop around the getpwnam_r and getgrnam_r calls and allocate more memory as necessary (on the heap, not the stack). This is required so that users in many groups and groups with many users can access snapperd. Affected the functions get_user_uid and get_group_uids in server/MetaSnapper.cc.
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.
More information and reason for this action is here:
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.
Still present in snapper-0.3.3-1.fc26.
Please report this bug to upstream: https://github.com/openSUSE/snapper.
(In reply to Igor Gnatenko from comment #4)
> Please report this bug to upstream: https://github.com/openSUSE/snapper.
This was fixed upstream in this commit:
Author: Arvin Schnell <aschnell>
Date: Wed Nov 2 22:18:26 2016 +0100
- fixed use of getpwuid_r, getpwnam_r and getgrnam_r
So it should be fixed with the upcoming update to snapper-0.4.1-1.
snapper-0.4.1-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-5aa20067f5
snapper-0.4.1-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-fd2d8a03da
snapper-0.4.1-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
snapper-0.4.1-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.