[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/distcache/devel dc_client.init, 1.3, 1.4 dc_server.init, 1.3, 1.4 distcache.spec, 1.11, 1.12



Author: jorton

Update of /cvs/dist/rpms/distcache/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv6516

Modified Files:
	dc_client.init dc_server.init distcache.spec 
Log Message:
* Fri Jul 29 2005 Joe Orton <jorton redhat com> 1.4.5-11
- add distcache user in post script, uid 93
- run daemons as distcache user rather than nobody



Index: dc_client.init
===================================================================
RCS file: /cvs/dist/rpms/distcache/devel/dc_client.init,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- dc_client.init	9 Sep 2004 04:17:24 -0000	1.3
+++ dc_client.init	29 Jul 2005 13:41:59 -0000	1.4
@@ -22,7 +22,7 @@
 
 prog=dc_client
 RETVAL=0
-runas=nobody
+runas=distcache
 dc_client=/usr/bin/dc_client
 pidfile=/var/run/dc_client.pid
 


Index: dc_server.init
===================================================================
RCS file: /cvs/dist/rpms/distcache/devel/dc_server.init,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- dc_server.init	9 Sep 2004 04:17:24 -0000	1.3
+++ dc_server.init	29 Jul 2005 13:41:59 -0000	1.4
@@ -20,7 +20,7 @@
 
 prog=dc_server
 RETVAL=0
-runas=nobody
+runas=distcache
 dc_server=/usr/bin/dc_server
 
 OPTIONS="-daemon -pidfile /var/run/dc_server.pid -user ${runas} -sessions ${sessions} -listen IP:${port}"


Index: distcache.spec
===================================================================
RCS file: /cvs/dist/rpms/distcache/devel/distcache.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- distcache.spec	28 Jul 2005 14:53:12 -0000	1.11
+++ distcache.spec	29 Jul 2005 13:41:59 -0000	1.12
@@ -2,7 +2,7 @@
 Summary: Distributed SSL session cache
 Name: distcache
 Version: 1.4.5
-Release: 10
+Release: 11
 License: LGPL
 Group: System Environment/Daemons
 URL: http://www.distcache.org/
@@ -13,7 +13,7 @@
 Source2: dc_client.init
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 BuildRequires: automake >= 1.7, autoconf >= 2.50, libtool, openssl-devel
-Requires(post): /sbin/chkconfig, /sbin/ldconfig
+Requires(post): /sbin/chkconfig, /sbin/ldconfig, /usr/sbin/useradd
 Requires(preun): /sbin/service, /sbin/chkconfig
 Requires(postun): /sbin/ldconfig
 
@@ -64,6 +64,9 @@
 /sbin/chkconfig --add dc_server
 /sbin/chkconfig --add dc_client
 /sbin/ldconfig
+# Add the "distcache" user
+/usr/sbin/useradd -c "Distcache" -u 93 \
+	-s /sbin/nologin -r -d / distcache 2> /dev/null || :
 
 %preun
 if [ $1 = 0 ]; then
@@ -98,6 +101,10 @@
 %{_mandir}/man2/*
 
 %changelog
+* Fri Jul 29 2005 Joe Orton <jorton redhat com> 1.4.5-11
+- add distcache user in post script, uid 93
+- run daemons as distcache user rather than nobody
+
 * Thu Jul 28 2005 Joe Orton <jorton redhat com> 1.4.5-10
 - fix broken deps
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]