Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable NSS modules when using the leakchecker #62

Commits on Jan 19, 2024

  1. Disable NSS modules when using the leakchecker

    The leakchecker will report leaked file descriptors when tests do things
    like access `Etc.getgrgid`, for example, if NSS modules (like `sss`)
    handle these lookups by connecting to a daemon like `sssd` and leave the
    connection open.
    
    To address this, we can call glibc's `__nss_configure_lookup` to
    override NSS modules configured in /etc/nsswitch.conf and only use
    ordinary file/DNS lookups.
    KJTsanaktsidis committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    8e4c979 View commit details
    Browse the repository at this point in the history