BIND 10 #151: XfroutClient socket location and removal
BIND 10 Development
do-not-reply at isc.org
Tue May 18 14:08:49 UTC 2010
#151: XfroutClient socket location and removal
--------------------------+-------------------------------------------------
Reporter: jreed | Owner: jreed
Type: defect | Status: reviewing
Priority: major | Milestone:
Component: Unclassified | Resolution:
Keywords: | Sensitive: 0
--------------------------+-------------------------------------------------
Changes (by zhanglikun):
* status: assigned => reviewing
Comment:
Replying to [comment:7 jreed]:
> It looks like the trunk/src/bin/auth/spec_config.h.in patch is:
>
> +#define UNIX_SOCKET_FILE "@prefix@/var/auth_xfrout_conn"
>
> which doesn't match new trunk/src/bin/xfrout/xfrout.py.in
>
> +UNIX_SOCKET_FILE = "@localstatedir@".replace("${prefix}", PREFIX) +
"/auth_xfrout_conn"
>
> Also you can probably use @@LOCALSTATEDIR@@ instead of that hack above.
>
> As for "run" it may not be needed. But in the long run, probably a
specific directory to contain this socket will be needed for permissions
-- like may not have permission to create it under /usr/local/var/ by
default and don't want to open that directory up to be written by auth or
xfrout. So something specific like @@LOCALSTATEDIR@@/run/bind10/xfrout/
may be desired.
Hi Jeremy, I create one new patch for this ticket as you suggested. please
have a look, now xfrout works well both in source code tree and installed
folder.
--
Ticket URL: <http://bind10.isc.org/ticket/151#comment:9>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list