[sssd PR#509][opened] SPEC: Fix systemd executions/requirements
by lslebodn
URL: https://github.com/SSSD/sssd/pull/509
Author: lslebodn
Title: #509: SPEC: Fix systemd executions/requirements
Action: opened
PR body:
"""
The rpm macro systemd_requires is even in el7 and using this macro
nicer then using different requires (systemd-units vs systemd)
There is a plan to remove provides for systemd-units from rawhide.
systemd was added to BuildRequires because it provides rpm macros
/usr/lib/rpm/macros.d/macros.systemd and it is unreliable to rely
on indirect dependency between systemd-devel and systemd
sh$ rpm --eval "%{?systemd_requires}"
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
sh$ rpm -q --whatprovides systemd-units
systemd-237-1.fc28.x86_64
sh$ rpm -qf /usr/lib/rpm/macros.d/macros.systemd
systemd-237-1.fc28.x86_64
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/509/head:pr509
git checkout pr509
6 years, 1 month
[sssd PR#517][opened] Fix two memory leaks in the AD provider
by sumit-bose
URL: https://github.com/SSSD/sssd/pull/517
Author: sumit-bose
Title: #517: Fix two memory leaks in the AD provider
Action: opened
PR body:
"""
I found two memory leaks in the AD provider, one is triggered by every user
lookup the other during an initgroups request with tokenGroups.
To verify this just lookup a larger number of AD users, I took 500, or call
'id' for each of the users. When checking the memory consumption before and
after e.g. with 'ps' the increased memory usage should become obvious.
To analyse where the memory is used 'talloc_report_full' help. You can call it
directly inside of gdb or just use Pavel's 'sss-talloc-report' from
https://github.com/pbrezina/sssd-dev-utils.
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/517/head:pr517
git checkout pr517
6 years, 1 month