Chen Qi
ab4f1b220f
rpcbind: avoid entering failed status after stopping daemon
...
Exiting with '2' is actually expected with rpcbind, because it catches
SIGTERM and exits with '2' explicitly.
The related code is as follows.
(void) signal(SIGTERM, terminate);
/*
* Catch the signal and die
*/
static void
terminate(int dummy /*__unused*/)
{
close(rpcbindlockfd);
unlink(_PATH_RPCBINDSOCK);
unlink(RPCBINDDLOCK);
syslog(LOG_ERR,
"rpcbind terminating on signal. Restart with \"rpcbind -w\"");
write_warmstart(); /* Dump yourself */
exit(2);
}
(From OE-Core rev: 1bfc6a45e7ba81d3537ea3ae8b176f5a9c206eaa)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-03 11:09:06 +01:00
..
2014-08-31 23:40:48 +01:00
2014-06-03 16:49:19 +01:00
2014-05-02 20:46:59 +01:00
2014-05-02 20:46:59 +01:00
2014-06-03 16:49:19 +01:00
2014-05-21 19:50:21 +01:00
2014-07-16 10:31:16 +01:00
2014-01-19 16:32:10 +00:00
2014-05-02 20:46:59 +01:00
2014-08-15 18:21:52 +01:00
2014-04-25 17:19:19 +01:00
2014-09-03 11:09:05 +01:00
2014-01-02 12:50:18 +00:00
2014-05-02 20:46:59 +01:00
2014-05-11 12:27:21 +01:00
2014-08-28 15:12:43 +01:00
2014-05-02 20:46:59 +01:00
2014-06-03 16:49:19 +01:00
2013-02-12 13:22:43 +00:00
2014-08-28 15:12:44 +01:00
2014-09-01 17:17:11 +01:00
2013-10-30 14:52:04 +00:00
2014-08-23 09:26:12 +01:00
2014-07-16 10:20:49 +01:00
2014-08-23 09:26:12 +01:00
2014-01-02 12:50:18 +00:00
2014-06-13 12:52:20 +01:00
2014-06-03 16:49:19 +01:00
2013-12-10 17:42:43 +00:00
2014-08-31 23:40:48 +01:00
2013-02-01 15:54:00 +00:00
2014-08-11 11:27:33 +01:00
2014-08-23 09:26:08 +01:00
2014-08-31 23:40:47 +01:00
2014-06-03 16:49:19 +01:00
2014-07-03 17:41:16 +01:00
2014-08-27 12:12:31 +01:00
2014-08-28 15:12:44 +01:00
2014-09-01 18:03:05 +01:00
2014-08-28 15:12:44 +01:00
2014-02-28 14:01:16 +00:00
2013-02-22 06:09:23 -08:00
2014-08-31 23:40:48 +01:00
2014-08-23 23:01:57 +01:00
2014-07-17 12:28:49 +01:00
2014-01-02 12:50:18 +00:00
2014-06-03 16:49:19 +01:00
2014-01-02 12:50:18 +00:00
2014-06-03 16:49:19 +01:00
2014-07-23 21:59:24 +01:00
2014-08-11 10:53:06 +01:00
2014-09-01 18:03:05 +01:00
2014-08-31 23:40:49 +01:00
2014-05-02 20:46:59 +01:00
2012-01-03 12:14:33 +00:00
2014-07-17 12:28:50 +01:00
2013-10-30 13:39:08 +00:00
2014-08-23 09:26:09 +01:00
2014-08-27 12:12:30 +01:00
2014-04-25 17:19:20 +01:00
2014-09-03 11:09:06 +01:00
2014-05-21 09:08:59 +01:00
2014-08-28 15:12:44 +01:00
2014-07-25 15:34:01 +01:00
2014-08-06 10:23:38 +01:00
2014-06-14 08:43:55 +01:00
2014-08-23 23:01:57 +01:00
2014-04-25 17:19:19 +01:00
2014-02-28 14:01:16 +00:00
2014-05-02 20:46:59 +01:00
2014-08-06 10:03:21 +01:00
2014-05-11 12:27:21 +01:00
2014-06-13 12:31:37 +01:00
2014-09-01 18:03:05 +01:00
2014-05-02 20:46:59 +01:00
2014-08-31 23:40:49 +01:00
2014-08-31 23:40:49 +01:00
2014-01-29 17:38:49 +00:00
2013-03-22 16:54:36 +00:00
2014-07-25 15:44:05 +01:00
2014-07-16 10:31:16 +01:00
2014-05-06 17:59:15 +01:00
2014-02-02 11:22:11 +00:00
2014-08-23 09:26:12 +01:00
2014-01-02 12:50:18 +00:00