Hello community,

here is the log from the commit of package glibc for openSUSE:Factory checked 
in at 2013-09-26 19:33:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glibc (Old)
 and      /work/SRC/openSUSE:Factory/.glibc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "glibc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/glibc/glibc-testsuite.changes    2013-09-13 
14:43:42.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.glibc.new/glibc-testsuite.changes       
2013-09-26 19:33:53.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Sep 19 14:12:59 UTC 2013 - sch...@suse.de
+
+- nscd-server-user.patch: run nscd as user nscd (fate#314673)
+
+-------------------------------------------------------------------
glibc-utils.changes: same change
glibc.changes: same change

New:
----
  nscd-server-user.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ glibc-testsuite.spec ++++++
--- /var/tmp/diff_new_pack.tH9wfA/_old  2013-09-26 19:33:55.000000000 +0200
+++ /var/tmp/diff_new_pack.tH9wfA/_new  2013-09-26 19:33:55.000000000 +0200
@@ -209,6 +209,8 @@
 Patch15:        glibc-2.3.90-langpackdir.diff
 # PATCH-FEATURE-SLE increase cpusetsize to 4096, needs to be kept for 
compatibility ku...@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 @@
 Provides:       glibc:/usr/sbin/nscd
 Requires:       glibc = %{version}
 Obsoletes:      unscd <= 0.48
+Requires(pre):  pwdutils
 %{?systemd_requires}
 
 %description -n nscd
@@ -453,6 +456,7 @@
 %patch14 -p1
 %patch15 -p1
 %patch18 -p1
+%patch19 -p1
 
 %patch100 -p1
 %patch101 -p1
@@ -993,6 +997,8 @@
 %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

glibc-utils.spec: same change
++++++ glibc.spec ++++++
--- /var/tmp/diff_new_pack.tH9wfA/_old  2013-09-26 19:33:55.000000000 +0200
+++ /var/tmp/diff_new_pack.tH9wfA/_new  2013-09-26 19:33:55.000000000 +0200
@@ -209,6 +209,8 @@
 Patch15:        glibc-2.3.90-langpackdir.diff
 # PATCH-FEATURE-SLE increase cpusetsize to 4096, needs to be kept for 
compatibility ku...@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 @@
 Provides:       glibc:/usr/sbin/nscd
 Requires:       glibc = %{version}
 Obsoletes:      unscd <= 0.48
+Requires(pre):  pwdutils
 %{?systemd_requires}
 
 %description -n nscd
@@ -453,6 +456,7 @@
 %patch14 -p1
 %patch15 -p1
 %patch18 -p1
+%patch19 -p1
 
 %patch100 -p1
 %patch101 -p1
@@ -993,6 +997,8 @@
 %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


++++++ nscd-server-user.patch ++++++
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
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to