]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2067] make sure 'setgid' is initialized in main()
authorJINMEI Tatuya <jinmei@isc.org>
Tue, 19 Jun 2012 19:04:28 +0000 (12:04 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Tue, 19 Jun 2012 19:04:28 +0000 (12:04 -0700)
src/bin/bind10/bind10_messages.mes
src/bin/bind10/bind10_src.py.in

index ecb77a0dd00100147af4b1201310911b95a03ede..c7515833e8456926d43f21bd127203c4a7708291 100644 (file)
@@ -162,8 +162,8 @@ The boss module is sending a SIGTERM signal to the given process.
 
 % BIND10_SETGID setting GID to %1
 The boss switches the process group ID to the given value.  This happens
-when BIND 10 starts with -u option, and the group ID should be of the group
-the specified user.
+when BIND 10 starts with the -u option, and the group ID will be set to
+that of the specified user.
 
 % BIND10_SETUID setting UID to %1
 The boss switches the user it runs as to the given UID.
index 522b25992b3f2c4c129efdd397b2f094087bc22c..b9dbc3656de63b91ec978a2b44689876fd0fb6bc 100755 (executable)
@@ -1157,6 +1157,7 @@ def main():
 
     # Check user ID.
     setuid = None
+    setgid = None
     username = None
     if options.user:
         # Try getting information about the user, assuming UID passed.