>> Restart of ypbind and portmap doesn't help. My /etc/yp.conf is empty
>> (no lines without # first) and nis seems to work.
MB> A very similar bug was filed on alpha which appears to be a problem in
MB> glibc - it's http://bugs.debian.org/231593 - this sounds like the same
MB> thing.
MB> Could you please generate a strace of ypbind when it's doing this (you
MB> can use the '-p' option to attach to a running process) and send the
MB> results to the bug log?
OK attached is an strace, I hope it helps!
I also tested this:
sid:~# /usr/sbin/ypbind -broadcast -debug
10420: add_server() domain: netinsight.se, broadcast
10420: [Welcome to ypbind-mt, version 1.19]
10420: ping interval is 20 seconds
10422: do_broadcast() for domain 'netinsight.se' is called
10422: broadcast: RPC: Can't encode arguments.
10422: leave do_broadcast() for domain 'netinsight.se'
10422: Pinging all active server.
10422: do_broadcast() for domain 'netinsight.se' is called
10422: broadcast: RPC: Can't encode arguments.
10422: leave do_broadcast() for domain 'netinsight.se'
10422: Pinging all active server.
10422: do_broadcast() for domain 'netinsight.se' is called
10422: broadcast: RPC: Can't encode arguments.
10422: leave do_broadcast() for domain 'netinsight.se'
10420: ypbindproc_domain_2_svc (netinsight.se)
10420: Pinging all active server.
10420: do_broadcast() for domain 'netinsight.se' is called
10420: broadcast: RPC: Can't encode arguments.
10420: leave do_broadcast() for domain 'netinsight.se'
10420: trylock = success
10420: do_broadcast() for domain 'netinsight.se' is called
10420: broadcast: RPC: Can't encode arguments.
10420: leave do_broadcast() for domain 'netinsight.se'
10420: trylock = success
10420: do_broadcast() for domain 'netinsight.se' is called
10420: broadcast: RPC: Can't encode arguments.
10420: leave do_broadcast() for domain 'netinsight.se'
10420: Status: YPBIND_FAIL_VAL
10420: ypbindproc_domain_2_svc (netinsight.se)
10420: Pinging all active server.
10420: do_broadcast() for domain 'netinsight.se' is called
10420: broadcast: RPC: Can't encode arguments.
10420: leave do_broadcast() for domain 'netinsight.se'
10420: trylock = success
10420: do_broadcast() for domain 'netinsight.se' is called
10420: broadcast: RPC: Can't encode arguments.
10420: leave do_broadcast() for domain 'netinsight.se'
10420: trylock = success
10420: do_broadcast() for domain 'netinsight.se' is called
10420: broadcast: RPC: Can't encode arguments.
10420: leave do_broadcast() for domain 'netinsight.se'
10420: Status: YPBIND_FAIL_VAL
10422: Pinging all active server.
10422: do_broadcast() for domain 'netinsight.se' is called
10422: broadcast: RPC: Can't encode arguments.
10422: leave do_broadcast() for domain 'netinsight.se'
10421: Signal (2) for quitting program arrived.
And when I tried this:
sid:~# ypcat passwd
YPBINDPROC_DOMAIN: Domain not bound
No such map passwd.byname. Reason: Can't bind to server which serves this domain
sid:~#
In other words: ypbind don't work at all when -broadcast -debug is
passed as arguments.
I also tried ltrace, but then ypbind crashed. This might be a problem
with ltrace on amd64.
/ Anders