On Thu, 2011-08-18 at 19:03 +0000, brian m. carlson wrote:
> On Thu, Aug 18, 2011 at 05:41:22PM +0100, Ben Hutchings wrote:
> > On Thu, Aug 18, 2011 at 05:39:16PM +0200, Jan Möbius wrote:
> > > sometimes rpc.statd binds to port 631 udp which is used by cups. 
> > > Therefore cups is unable to bind to its port and no printers get 
> > > discovered.
> > > 
> > > Rebooting the system helps as rpc.statd uses another port afterwards.
> >  
> > This is a fundamental problem of the bindresvport() function, and
> > not specific to rpc.statd.  Reassigning to general.
> 
> Actually, according to the manpage:
> 
>   Unlike some bindresvport() implementations, the glibc implementation
>   ignores any value that the caller supplies in sin->sin_port.
> 
> Fixing this might be a useful way around the problem.  I'd code up a
> patch, but eglibc won't take it without copyright assignment.

You can't fix that, because it can't rely on existing callers to
initialise the field at all.

Ben.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to