Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nis configuration broken on Debian 10 (nis >= nis_3.17.1-2) #709

Open
a1an77 opened this issue Aug 19, 2021 · 1 comment
Open

nis configuration broken on Debian 10 (nis >= nis_3.17.1-2) #709

a1an77 opened this issue Aug 19, 2021 · 1 comment

Comments

@a1an77
Copy link

a1an77 commented Aug 19, 2021

On Debian 10 the ypbind doesn't support the -no-dbus option anymore so the service fails to start since this option is specified in the configuration file roles/nis/templates/etc/default/nis.j2

Removing the option from the YPBINDARGS line makes the client start correctly on the worker nodes.

Support for the option seems to have been removed since nis_3.17.1-2 so I guess it affects other distributions with updated nis package as well.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906436 for details

On the master node no configuration is deployed hence /etc/yp.conf is left untouched. This defaults to the broadcast mode which seems to be broken too (unknown reason): "broadcast: RPC: Timed out"

Specifying the server in the yp.conf file on the server solves the issue and the service starts correctly also there so deploying this configuration also on the server should be considered.

@nttg8100
Copy link

Thank you for your comment that I followed and added a few more lines to make it successful on Ubuntu 20.04.
yp.conf on master does not need to be configured.
Here is my solution:

  1. Fix IP address
    Due to network manger, the ip get wrong configuration. Then, you can change by using the ansible_host variable from host config.
    image
    2.Remove ypbindargs as you said:
    image
  2. It can not load on the correct ypserv after these step, you could restart theses service by modifying on ypserv.yml
    image

In the future, I will try to implement for ldap with more security.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants