forked from pool/glibc
Accepting request 200165 from home:Andreas_Schwab:Factory
- nscd-server-user.patch: run nscd as user nscd (fate#314673) OBS-URL: https://build.opensuse.org/request/show/200165 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=311
This commit is contained in:
parent
fdc1d1569d
commit
177143a5e4
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 19 14:12:59 UTC 2013 - schwab@suse.de
|
||||
|
||||
- nscd-server-user.patch: run nscd as user nscd (fate#314673)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 12 13:42:23 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -209,6 +209,8 @@ Patch14: glibc-bindresvport-blacklist.diff
|
||||
Patch15: glibc-2.3.90-langpackdir.diff
|
||||
# PATCH-FEATURE-SLE increase cpusetsize to 4096, needs to be kept for compatibility kukuk@suse.de (XXX: Review)
|
||||
Patch18: glibc-cpusetsize.diff
|
||||
# PATCH-FEATURE-SLE Use nscd user for nscd
|
||||
Patch19: nscd-server-user.patch
|
||||
|
||||
### Locale related patches
|
||||
# PATCH-FIX-OPENSUSE Add additional locales
|
||||
@ -337,6 +339,7 @@ Group: System/Daemons
|
||||
Provides: glibc:/usr/sbin/nscd
|
||||
Requires: glibc = %{version}
|
||||
Obsoletes: unscd <= 0.48
|
||||
Requires(pre): pwdutils
|
||||
%{?systemd_requires}
|
||||
|
||||
%description -n nscd
|
||||
@ -453,6 +456,7 @@ rm nscd/s-stamp
|
||||
%patch14 -p1
|
||||
%patch15 -p1
|
||||
%patch18 -p1
|
||||
%patch19 -p1
|
||||
|
||||
%patch100 -p1
|
||||
%patch101 -p1
|
||||
@ -993,6 +997,8 @@ done
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz
|
||||
|
||||
%pre -n nscd
|
||||
getent group nscd >/dev/null || %{_sbindir}/groupadd -r nscd
|
||||
getent passwd nscd >/dev/null || %{_sbindir}/useradd -r -g nscd -c "User for nscd" -s /sbin/nologin -d /var/run/nscd nscd
|
||||
%service_add_pre nscd.service
|
||||
|
||||
%preun -n nscd
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 19 14:12:59 UTC 2013 - schwab@suse.de
|
||||
|
||||
- nscd-server-user.patch: run nscd as user nscd (fate#314673)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 12 13:42:23 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -208,6 +208,8 @@ Patch14: glibc-bindresvport-blacklist.diff
|
||||
Patch15: glibc-2.3.90-langpackdir.diff
|
||||
# PATCH-FEATURE-SLE increase cpusetsize to 4096, needs to be kept for compatibility kukuk@suse.de (XXX: Review)
|
||||
Patch18: glibc-cpusetsize.diff
|
||||
# PATCH-FEATURE-SLE Use nscd user for nscd
|
||||
Patch19: nscd-server-user.patch
|
||||
|
||||
### Locale related patches
|
||||
# PATCH-FIX-OPENSUSE Add additional locales
|
||||
@ -337,6 +339,7 @@ Group: System/Daemons
|
||||
Provides: glibc:/usr/sbin/nscd
|
||||
Requires: glibc = %{version}
|
||||
Obsoletes: unscd <= 0.48
|
||||
Requires(pre): pwdutils
|
||||
%{?systemd_requires}
|
||||
|
||||
%description -n nscd
|
||||
@ -453,6 +456,7 @@ rm nscd/s-stamp
|
||||
%patch14 -p1
|
||||
%patch15 -p1
|
||||
%patch18 -p1
|
||||
%patch19 -p1
|
||||
|
||||
%patch100 -p1
|
||||
%patch101 -p1
|
||||
@ -993,6 +997,8 @@ done
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz
|
||||
|
||||
%pre -n nscd
|
||||
getent group nscd >/dev/null || %{_sbindir}/groupadd -r nscd
|
||||
getent passwd nscd >/dev/null || %{_sbindir}/useradd -r -g nscd -c "User for nscd" -s /sbin/nologin -d /var/run/nscd nscd
|
||||
%service_add_pre nscd.service
|
||||
|
||||
%preun -n nscd
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 19 14:12:59 UTC 2013 - schwab@suse.de
|
||||
|
||||
- nscd-server-user.patch: run nscd as user nscd (fate#314673)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 12 13:42:23 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -209,6 +209,8 @@ Patch14: glibc-bindresvport-blacklist.diff
|
||||
Patch15: glibc-2.3.90-langpackdir.diff
|
||||
# PATCH-FEATURE-SLE increase cpusetsize to 4096, needs to be kept for compatibility kukuk@suse.de (XXX: Review)
|
||||
Patch18: glibc-cpusetsize.diff
|
||||
# PATCH-FEATURE-SLE Use nscd user for nscd
|
||||
Patch19: nscd-server-user.patch
|
||||
|
||||
### Locale related patches
|
||||
# PATCH-FIX-OPENSUSE Add additional locales
|
||||
@ -337,6 +339,7 @@ Group: System/Daemons
|
||||
Provides: glibc:/usr/sbin/nscd
|
||||
Requires: glibc = %{version}
|
||||
Obsoletes: unscd <= 0.48
|
||||
Requires(pre): pwdutils
|
||||
%{?systemd_requires}
|
||||
|
||||
%description -n nscd
|
||||
@ -453,6 +456,7 @@ rm nscd/s-stamp
|
||||
%patch14 -p1
|
||||
%patch15 -p1
|
||||
%patch18 -p1
|
||||
%patch19 -p1
|
||||
|
||||
%patch100 -p1
|
||||
%patch101 -p1
|
||||
@ -993,6 +997,8 @@ done
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz
|
||||
|
||||
%pre -n nscd
|
||||
getent group nscd >/dev/null || %{_sbindir}/groupadd -r nscd
|
||||
getent passwd nscd >/dev/null || %{_sbindir}/useradd -r -g nscd -c "User for nscd" -s /sbin/nologin -d /var/run/nscd nscd
|
||||
%service_add_pre nscd.service
|
||||
|
||||
%preun -n nscd
|
||||
|
13
nscd-server-user.patch
Normal file
13
nscd-server-user.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: glibc-2.18/nscd/nscd.conf
|
||||
===================================================================
|
||||
--- glibc-2.18.orig/nscd/nscd.conf
|
||||
+++ glibc-2.18/nscd/nscd.conf
|
||||
@@ -33,7 +33,7 @@
|
||||
# logfile /var/log/nscd.log
|
||||
# threads 4
|
||||
# max-threads 32
|
||||
-# server-user nobody
|
||||
+ server-user nscd
|
||||
# stat-user somebody
|
||||
debug-level 0
|
||||
# reload-count 5
|
Loading…
Reference in New Issue
Block a user