Activity log for bug #1254326

Date Who What changed Old value New value Message
2013-11-23 19:28:06 Steve Langasek bug added bug
2013-11-23 19:35:05 Steve Langasek upstart: status New In Progress
2013-11-23 19:35:09 Steve Langasek upstart: importance Undecided High
2013-11-23 19:36:55 Steve Langasek description upstart 1.10 (1.9 and later) fails to build on sparc, mips, and mipsel because the value of reload_signal is serialized as an integer, and test_reload_signal_state in init/tests/test_state.c assumes that the value encoded in the json file (10) is equal to SIGUSR1 on the target platform. This is not true. The only values for signals that are guaranteed to be consistent across all platforms are 1, 2, 3, 6, 9, 14, and 15 (SIGHUP, SIGINT, SIGQUIT, SIGABRT, SIGKILL, SIGALRM, SIGTERM). There's nothing wrong with the serialization format, here; there's no risk that when re-execing upstart we'll come up on a system that has different signal definitions. But the test needs to be fixed, so that it's comparing with an integer, not with a define whose value is different on different architectures. upstart 1.10 (1.9 and later) fails to build on mips, and mipsel because the value of reload_signal is serialized as an integer, and test_reload_signal_state in init/tests/test_state.c assumes that the value encoded in the json file (10) is equal to SIGUSR1 on the target platform. This is not true. The only values for signals that are guaranteed to be consistent across all platforms are 1, 2, 3, 6, 9, 14, and 15 (SIGHUP, SIGINT, SIGQUIT, SIGABRT, SIGKILL, SIGALRM, SIGTERM). There's nothing wrong with the serialization format, here; there's no risk that when re-execing upstart we'll come up on a system that has different signal definitions. But the test needs to be fixed, so that it's comparing with an integer, not with a define whose value is different on different architectures.
2013-11-23 19:49:48 Launchpad Janitor branch linked lp:~vorlon/upstart/lp.1254326
2013-11-27 22:28:04 artur bryczek upstart: status In Progress Fix Released
2013-11-27 22:55:43 Steve Langasek upstart: status Fix Released Fix Committed