[tomcat6/f14/master] resolves: rhbz#641102

Dave Knox dknox at fedoraproject.org
Thu Oct 7 18:55:30 UTC 2010


commit 9848c522b58eeb758ede27c7a0cd3e94c2721f75
Author: david knox <dknox at 78-97-42-72.skybeam.com>
Date:   Thu Oct 7 12:52:04 2010 -0600

    resolves: rhbz#641102

 tomcat6-6.0.init |    4 ++--
 tomcat6.spec     |    5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/tomcat6-6.0.init b/tomcat6-6.0.init
index e4e9517..4123f1c 100644
--- a/tomcat6-6.0.init
+++ b/tomcat6-6.0.init
@@ -38,9 +38,9 @@ fi
 
 # For SELinux we need to use 'runuser' not 'su'
 if [ -x "/sbin/runuser" ]; then
-    SU="/sbin/runuser"
+    SU="/sbin/runuser -s /bin/sh"
 else
-    SU="/bin/su"
+    SU="/bin/su -s /bin/sh"
 fi
 
 # Get the tomcat config (use this for environment specific settings)
diff --git a/tomcat6.spec b/tomcat6.spec
index 8362df7..94608fd 100644
--- a/tomcat6.spec
+++ b/tomcat6.spec
@@ -55,7 +55,7 @@
 Name: tomcat6
 Epoch: 0
 Version: %{major_version}.%{minor_version}.%{micro_version}
-Release: 11%{?dist}
+Release: 12%{?dist}
 Summary: Apache Servlet/JSP Engine, RI for Servlet %{servletspec}/JSP %{jspspec} API
 
 Group: Networking/Daemons
@@ -599,6 +599,9 @@ fi
 %{appdir}/sample
 
 %changelog
+* Thu Oct 07 2010 David Knox <dknox at redhat.com> 0:6.0.26-12
+- resolves rhbz#641102 - tomcat user requires login shell
+
 * Tue Oct 05 2010 David Knox <dknox at redhat.com> 0:6.0.26-11
 - Returned to using ant-trax because f14 is not using ant-nodeps-1.8
 


More information about the scm-commits mailing list