mirror of
https://abf.rosa.ru/djam/glibc.git
synced 2025-02-23 23:12:48 +00:00
Off nscd by default:
- caching of group and passwd does not make sense because sssd and winbind have their own caches, and NIS is not used nowadays - caching to accelerate DNS resolution would be useful, but: - systemd-resolved is used by default in rosa2019.1 and has its own cache - but hosts cache is offed by default by eglibc-mandriva-nscd-no-host-cache.patch So, nscd does not make sense. And causes troubles in different situations, e.g. in useradd --root <...> in Anaconda.
This commit is contained in:
parent
e2b997137f
commit
f9064bd1d4
1 changed files with 1 additions and 6 deletions
|
@ -98,7 +98,7 @@ Source0: http://ftp.gnu.org/gnu/glibc/%{oname}-%{ver}.tar.xz
|
|||
#if %(test $(echo %{version}.0 |cut -d. -f3) -lt 90 && echo 1 || echo 0)
|
||||
#Source1: http://ftp.gnu.org/gnu/glibc/%{oname}-%{ver}.tar.xz.sig
|
||||
#endif
|
||||
Release: 4
|
||||
Release: 5
|
||||
License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+
|
||||
Group: System/Libraries
|
||||
Url: http://www.gnu.org/software/libc/
|
||||
|
@ -924,7 +924,6 @@ os.execute("/bin/systemctl preset --now nscd.service >/dev/null 2>&1")
|
|||
%dir %attr(0755,root,root) /run/nscd
|
||||
%dir %attr(0755,root,root) %{_var}/db/nscd
|
||||
%dir %attr(0755,root,root) %{_sysconfdir}/netgroup
|
||||
%{_presetdir}/86-nscd.preset
|
||||
%{_unitdir}/nscd.service
|
||||
%{_unitdir}/nscd.socket
|
||||
%{_sbindir}/nscd
|
||||
|
@ -1559,10 +1558,6 @@ install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/nsswitch.conf
|
|||
install -m755 -d %{buildroot}/run/nscd
|
||||
touch %{buildroot}/run/nscd/{nscd.pid,socket,passwd,group,hosts,services}
|
||||
install -d %{buildroot}%{_presetdir}
|
||||
cat > %{buildroot}%{_presetdir}/86-nscd.preset << EOF
|
||||
enable nscd.socket
|
||||
enable nscd.service
|
||||
EOF
|
||||
%endif
|
||||
|
||||
# Include ld.so.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue