View Issue Details

IDProjectCategoryView StatusLast Update
0005574CentOS-6ypservpublic2012-04-06 19:01
Reporterjweage 
PrioritynormalSeveritymajorReproducibilityhave not tried
Status newResolutionopen 
Product Version6.2 
Target VersionFixed in Version 
Summary0005574: ypserv doesn't respond to ypbind broadcasts
Descriptionypserv does not respond to broadcast requests from ypbind. ypserv sees the broadcast request, but reports the localhost IP address rather than the client address.

If I explicitly specify the server via /etc/yp.conf, ypbind works. I've tested ypbind from both CentOS 5 and 6 and see the same behavior with a CentOS 6.2 server.

Steps To Reproduce1. Install ypserv and ypbind.
2. Configure NISDOMAIN in /etc/sysconfig/network
3. Start ypserv
4. /usr/lib64/yp/ypinit -m
5. Restart ypserv
6. Run ypbind -d
Additional InformationThis appears to be the same problem as reported in this Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=781880

Output from ypserv -d:

[root@nis1 ~]# ypserv -d
[ypserv (ypserv) 2.19]

Find securenet: 255.255.255.255 127.0.0.1
Find securenet: 255.255.255.0 192.168.2.0
ypserv.conf: dns: 0
ypserv.conf: files: 30
ypserv.conf: xfr_check_port: 1
ypserv.conf: 0.0.0.0/0.0.0.0:*:shadow.byname:2
ypserv.conf: 0.0.0.0/0.0.0.0:*:passwd.adjunct.byname:2
ypproc_domain_nonack("ansa-usa.com") [From: 127.0.0.1:779]
connect from 127.0.0.1
        -> OK.
ypproc_domain_nonack("ansa-usa.com") [From: 127.0.0.1:779]
connect from 127.0.0.1
        -> OK.
ypproc_domain_nonack("ansa-usa.com") [From: 127.0.0.1:779]
connect from 127.0.0.1
        -> OK.
ypproc_domain_nonack("ansa-usa.com") [From: 127.0.0.1:779]
connect from 127.0.0.1
        -> OK.
ypproc_domain_nonack("ansa-usa.com") [From: 127.0.0.1:779]
connect from 127.0.0.1
        -> OK.

Output from ypbind -d:
[jweage@viper4 yp]$ sudo ypbind -d
4894: parsing config file
4894: No entry found.
4894: add_server() domain: ansa-usa.com, broadcast
4894: [Welcome to ypbind-mt, version 1.19]

4894: ping interval is 20 seconds

4896: do_broadcast() for domain 'ansa-usa.com' is called
4894: ypbindproc_domain_2_svc (ansa-usa.com)
4895: Signal (2) for quitting program arrived.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2012-03-05 20:34 jweage New Issue