The following commit has been merged in the openafs-stable-1_8_x branch: commit 3c0a326a4044740da5cd726a4c9c16187ad62b1d Author: Andrew Deason <adea...@sinenomine.net> Date: Mon Aug 20 14:53:35 2018 -0500
Log binding ip address and port during startup Many daemons currently have the ability to bind to a specific ip address using the -rxbind parameter. The behavior can be a little unintuitive, however, since we only bind to the ip address we find via NetInfo/NetRestrict processing, and only if we end up with a single ip address. Since that processing involves examining the set of ip addresses available, this can have confusing results if, for instance, a daemon starts up while an administrator is changing the local ip configuration. If a daemon binds to a different ip address than the administrator expects, this can be very confusing, especially since for most daemons we don't log our bound ip anywhere. To help alleviate this, change the startup code for all of our daemons to log what ip we are trying to bind to (or "0.0.0.0" if none), along with our local port. Reviewed-on: https://gerrit.openafs.org/13272 Tested-by: BuildBot <build...@rampaginggeek.com> Reviewed-by: Benjamin Kaduk <ka...@mit.edu> (cherry picked from commit 02dede5d40a55421ab4f093c1c90b8f785a40ec1) Change-Id: I2d54e17ae7c69bd4c842422f53434519d1f332e5 Reviewed-on: https://gerrit.openafs.org/16095 Reviewed-by: Andrew Deason <adea...@sinenomine.net> Reviewed-by: Michael Meffie <mmef...@sinenomine.net> Tested-by: BuildBot <build...@rampaginggeek.com> Reviewed-by: Benjamin Kaduk <ka...@mit.edu> src/afs/afs_call.c | 9 +++++++++ src/budb/server.c | 3 +++ src/butc/tcmain.c | 3 +++ src/kauth/kaserver.c | 3 +++ src/ptserver/ptserver.c | 3 +++ src/update/server.c | 3 +++ src/viced/viced.c | 4 +++- src/vlserver/vlserver.c | 3 +++ src/volser/volmain.c | 3 +++ 9 files changed, 33 insertions(+), 1 deletion(-) -- OpenAFS Master Repository _______________________________________________ OpenAFS-cvs mailing list OpenAFS-cvs@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-cvs