#2545 Support specifying data and socket locations at startup
Closed: wontfix 3 years ago by pbrezina. Opened 9 years ago by nkondras.

Integration testing done within "make check" needs to run under regular users which have no access to the regular build-configured data and socket locations. Build needs to be configured with custom user-accessible locations to enable integration testing.

Currently, these locations are spread all over the binaries as static strings. The mentions of at least some of the paths can be found by running this command in a regularly-configured build directory:

find -type f -perm -111 -name '*.so*' -or -name 'lt-*' |
    xargs strings -f | grep var/lib/sss

It would be beneficial for sssd, pam_sss, libnss_sss and probably other binaries to support specifying the data and socket locations at startup time. This would allow integration testing to place each instance's data in temporary, user-accessible directories and potentially allow parallel test execution with several sssd instances.

The sssd can receive these locations either through command-line options or through configuration file options. The libraries might need to resort to interpreting environment variables, although this approach might need to be screened for security issues.


Fields changed

milestone: NEEDS_TRIAGE => SSSD Continuous integration
owner: somebody =>

Fields changed

rhbz: => 0

Fields changed

blockedby: => #2859
sensitive: => 0

Metadata Update from @nkondras:
- Issue marked as depending on: #2859
- Issue set to the milestone: SSSD Continuous integration

7 years ago

Metadata Update from @pbrezina:
- Custom field blocking adjusted to 2859
- Custom field design_review adjusted to on (was: 0)
- Custom field mark adjusted to on (was: 0)
- Custom field patch adjusted to on (was: 0)
- Custom field review adjusted to on (was: 0)
- Custom field sensitive adjusted to on (was: 0)
- Custom field testsupdated adjusted to on (was: 0)
- Issue close_status updated to: wontfix
- Issue status updated to: Closed (was: Open)

3 years ago

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

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.

Login to comment on this ticket.

Metadata