yp_mkdb is used to generate maps for NIS to hand out. It is possible to have yp_mkdb send a YPPROC_CLEAR to localhost to have the local NIS server to close open connections and flush it's cache.
When running a NIS server in a jail, localhost does not exists, which means there is no way to accomplish this 'clearing'.
Fix: Attached patch adds a new option -C hostname to yp_mkdb that makes it send the YPPROC_CLEAR to the specified hostname instead of localhost.
This makes it possible to 'clear' a NIS server running in a jail. This option is mutually exclusive with -c.
For bugs matching the following criteria:
Status: In Progress Changed: (is less than) 2014-06-01
Reset to default assignee and clear in-progress tags.
Mail being skipped