diff options
author | Arthur Gautier <baloo@superbaloo.net> | 2021-09-06 23:13:27 +0000 |
---|---|---|
committer | Arthur Gautier <baloo@superbaloo.net> | 2021-09-06 23:13:48 +0000 |
commit | 0b42a0f7813ade2bc3114bbf02b49e688e376e42 (patch) | |
tree | 9d7df4abf56f394132b102eab65769c37a590218 /src/libmain/shared.cc | |
parent | af94b54db3a2be100731a215cb5e95f306471731 (diff) |
preloadNSS: fixup nss_dns load
Before this commit, the dns lookup in preloadNSS would still go through
nscd. This did not have the effect of loading the nss_dns.so as expected
(nss_dns.so being out of reach from within the sandbox).
Should LOCALDOMAIN environment variable be defined, nss will completely
avoid nscd and will do its dns resolution on its own.
By temporarly setting LOCALDOMAIN variable before calling in NSS, we can
force NSS to load the shared libraries as expected.
Fixes #5089
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
Diffstat (limited to 'src/libmain/shared.cc')
0 files changed, 0 insertions, 0 deletions