#1709 sssd: Enable use of libuser API (lu_homedir_remove() / lu_homedir_copy()) instead of own remove_tree() / copy_dir() implementation
Closed: Invalid Opened by jhrozek.

https://bugzilla.redhat.com/show_bug.cgi?id=885758 (Red Hat Enterprise Linux 6)

Description of problem:
Currently sssd in Red Hat Enterprise Linux 6, sssd-1.8.0-32.el6, is using
internal implementations to handle user's home directory (tree) removal or
copying.
The libuser package (an user and group account administration library) already
implements functionality to handle these actions.
Therefore sssd instead of having it's own implementation for these actions,
should use relevant libuser API functions for directory tree removal / copying.
Version-Release number of selected component (if applicable):
sssd-1.8.0-32.el6
How reproducible:
Always
Steps to Reproduce:
1. Add / remove user account via sssd
Actual results:
sssd's own remove_tree() / copy_dir() routines are used to handle these
actions.
Expected results:
libuser API ( lu_homedir_remove() / lu_homedir_copy() ) should be used to
handle these actions (same code is implemented more times, without reuse).

Fields changed

blockedby: =>
blocking: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
milestone: NEEDS_TRIAGE => SSSD 1.12 beta
testsupdated: => 0

Fields changed

milestone: SSSD 1.12 beta => SSSD 1.13 beta

We are deprecating the local provider, therefore I propose we close this ticket as wontfix.

changelog: =>
mark: => 0
review: => 1
selected: => Not need
sensitive: => 0

Since the local provider is being deprecated, it doesn't make much sense to keep this ticket around which tracks improving the local provider. Closing.

resolution: => wontfix
status: new => closed

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD Future releases (no date set yet)

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/2751

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata