]> git.ipfire.org Git - thirdparty/krb5.git/commit
Exit with status 0 from kadmind 745/head
authorRobbie Harwood <rharwood@redhat.com>
Wed, 14 Mar 2018 18:31:22 +0000 (14:31 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 15 Mar 2018 03:30:42 +0000 (23:30 -0400)
commit3e53f7b254c6704ad16942f98d9b222c9e069ef3
tree6ff2ec3eae89f458f28cf1c78e47d901d8c92bc5
parentf876aab80a69f9b934cd7f4e2339e3815aa8c4bf
Exit with status 0 from kadmind

Typically, 0 denotes successful exit.  In particular, init systems
will complain if another different value is returned.  This presents a
problem for automated installation jobs which want to restart kadmind.

`service kadmin stop` typically sends SIGTERM, which is caught by
verto and passed to our handler.  Besides cleanup, we then call
verto_break(), which causes the verto_run() event loop to return.  The
weird return code has been present since the addition of the kadmin
code, which used a similar event model for signals.

ticket: 8650 (new)
src/kadmin/server/ovsec_kadmd.c