Commit 2d9a5fab authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2067] make sure 'setgid' is initialized in main()

parent e3d07f9d
......@@ -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.
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment