HAYASHI Kentaro
null+****@clear*****
Tue May 28 11:52:49 JST 2013
HAYASHI Kentaro 2013-05-28 11:52:49 +0900 (Tue, 28 May 2013) New Revision: 4c2661cb96905249fbaf76b1d877429474be9700 https://github.com/groonga/groonga/commit/4c2661cb96905249fbaf76b1d877429474be9700 Message: deb: use chuid not to execute GQTP/HTTP process as root user Reported by @orangain. Thanks!!! Modified files: packages/debian/groonga-server-gqtp.init packages/debian/groonga-server-http.init Modified: packages/debian/groonga-server-gqtp.init (+1 -1) =================================================================== --- packages/debian/groonga-server-gqtp.init 2013-05-28 10:22:44 +0900 (aa1aa31) +++ packages/debian/groonga-server-gqtp.init 2013-05-28 11:52:49 +0900 (20fdc3c) @@ -65,7 +65,7 @@ if [ -n "${USER}" ]; then exit 1 fi chown -R ${USER} $(dirname ${PIDFILE}) - START_STOP_DAEMON_ARGS="${START_STOP_DAEMON_ARGS} --user ${USER}" + START_STOP_DAEMON_ARGS="${START_STOP_DAEMON_ARGS} --chuid ${USER}" fi if [ -n "${GROUP}" ]; then if ! getent group | grep -q "^${GROUP}:"; then Modified: packages/debian/groonga-server-http.init (+1 -1) =================================================================== --- packages/debian/groonga-server-http.init 2013-05-28 10:22:44 +0900 (0057ed8) +++ packages/debian/groonga-server-http.init 2013-05-28 11:52:49 +0900 (981627a) @@ -67,7 +67,7 @@ if [ -n "${USER}" ]; then exit 1 fi chown -R ${USER} $(dirname ${PIDFILE}) - START_STOP_DAEMON_ARGS="${START_STOP_DAEMON_ARGS} --user ${USER}" + START_STOP_DAEMON_ARGS="${START_STOP_DAEMON_ARGS} --chuid ${USER}" fi if [ -n "${GROUP}" ]; then if ! getent group | grep -q "^${GROUP}:"; then -------------- next part -------------- HTML����������������������������...Download