
not just the yp_get_default_domain() domain), we must remove any old binding files from /var/yp/binding (BINDINGDIR) from previous runs, or the non-yp_get_default_domain()'s will not bind properly. add a purge_bindingdir() function that basically does "rm BINDINGDIR/*.[0-9]" at ypbind startup time. example case of where this is an issue: bind a second (non-default) domain. ypbind will create and flock a /var/yp/binding/xxx.2 file for it. stop and restart ypbind. the old /var/yp/binding/xxx.2 file will remain from the previous run. since it is not flock()'d by the new instance of ypbind, libc functions like yp_master() will fail without even bothering to talk to ypbind itself. (and ypbind is totally unaware of the old file...)
…
…
…
…
…
…
…
…
…
…
Description
No description provided
Languages
C
85.3%
Roff
7.2%
Assembly
3.1%
Shell
1.7%
Makefile
1.2%
Other
0.9%