statd/lockd startup failure

Rick Macklem rmacklem at uoguelph.ca
Fri Feb 18 18:08:22 UTC 2011


I've seen this intermittently for mountd. I think the problem is that
the code finds an unused port for udp/ip6 and then tries to use the
same port# for tcp/ip6, udp/ip4, tcp/ip4. All three daemons have
essentially the same function for doing this.

The attached patches changes the behaviour so that it tries to
get an unused port for each of the 4 cases.
(This all applies to the "wildcard" case, where no port# or
hosts have been specified as command args.)

If you have the chance to try these patches, please let us know
how they work for you?

rick
ps: I lost track of the thread, so I don't know who started it, but
    hopefully, they are on the cc list?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mountd.patch
Type: text/x-patch
Size: 1791 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20110218/8ffc7020/mountd.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: statd.patch
Type: text/x-patch
Size: 1854 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20110218/8ffc7020/statd.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lockd.patch
Type: text/x-patch
Size: 1885 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20110218/8ffc7020/lockd.bin


More information about the freebsd-stable mailing list