Activity log for bug #750658

Date Who What changed Old value New value Message
2011-04-04 19:28:02 Kostja Osipov bug added bug
2011-05-14 12:40:37 Kostja Osipov tarantool: assignee Yuriy Vostrikov (vostrikov)
2011-05-14 12:40:40 Kostja Osipov tarantool: milestone 1.3.6
2011-05-14 12:40:43 Kostja Osipov tarantool: importance Undecided Low
2011-05-14 12:40:50 Kostja Osipov tarantool: status New Confirmed
2011-10-13 13:45:10 Kostja Osipov tarantool: assignee Yuriy Vostrikov (vostrikov) Kostja Osipov (kostja)
2011-10-13 13:45:14 Kostja Osipov tarantool: importance Low High
2011-10-13 13:45:19 Kostja Osipov tarantool: milestone 1.4.3
2011-10-13 13:45:29 Kostja Osipov summary --daemonize neither closes nor redirects stdin/stdout/stderr --background neither closes nor redirects stdin/stdout/stderr
2011-10-13 13:46:47 Kostja Osipov description if --daemonize option is given, and the standard output and error point to a terminal, they are neither closed, nor checked for write to succeed. If there is no 'logger' option, and stdin/stdout are not redirected, this silently drops all logging messages into the void. Suggestion: if --daemonize option is given, at least check that stderr/stdout are not a tty, and if they are, check that 'logger' option is given in the configuration file. If neither is the case, do not daemonize, because such daemon configuration is broken. if --daemonize option is given, and the standard output and error point to a terminal, they are neither closed, nor checked for write to succeed. If there is no 'logger' option, and stdin/stdout are not redirected, this silently drops all logging messages into the void. Suggestion: if --daemonize option is given, at least check that stderr/stdout are not a tty, and if they are, check that 'logger' option is given in the configuration file. If neither is the case, do not daemonize, because such daemon configuration is broken. Since stdin is left open, you can't start the daemon remotely using ssh or telnet. For example, this command simply hangs: ssh host /bin/tarantool_box --config=/etc/tarantool.cfg --background since the forked child keeps its stdin open and pointing to the terminal. This is how this problem affects scripting.
2011-10-13 14:04:11 Kostja Osipov tarantool: status Confirmed Fix Committed
2011-10-13 14:04:14 Kostja Osipov tarantool: status Fix Committed Fix Released