bozo: report bosserver -rxbind address
authorMichael Meffie <mmeffie@sinenomine.net>
Thu, 22 Sep 2011 13:13:18 +0000 (09:13 -0400)
committerDerrick Brashear <shadow@dementix.org>
Wed, 28 Sep 2011 14:01:06 +0000 (07:01 -0700)
commit9133aa6ed3a7fe2ae55b2d3242366ae277c7f726
treea12e7324dbcd05e5733f7a3c8021b68bcf633d29
parent4a0d8cc24e687f271fcf44bab765691bd782d78d
bozo: report bosserver -rxbind address

Create a file on bosserver startup called bosserver.rxbind in the
server local directory which contains an address local scripts may
use to contact the bosserver.

When bosserver is started with the -rxbind option, write the address
selected from the intersection of the interfaces, NetInfo, and
NetRestrict configuration to the bosserver.rxbind file, otherwise
write the loopback address 127.0.0.1.

Update the RedHat init script to use the new bosserver.rxbind file.

Change-Id: I00a4249ae7445f872625ec46f960e778483d1f9f
Reviewed-on: http://gerrit.openafs.org/5488
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/bozo/bosserver.c
src/packaging/RedHat/openafs-server.init
src/util/dirpath.c
src/util/dirpath.hin
src/util/dirpath_nt.h