Skip to content

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

Open

Description

@a1an77

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.

Activity

  1. nttg8100 commented on Jan 22, 2023

    @nttg8100

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions