Bug 28966 - ypbind installation fails to pull in lib64nss_nis2
Summary: ypbind installation fails to pull in lib64nss_nis2
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-26 14:04 CEST by Stephen Usher
Modified: 2021-05-26 18:00 CEST (History)
1 user (show)

See Also:
Source RPM: nss_nis-3.1-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Stephen Usher 2021-05-26 14:04:50 CEST
Description of problem:

When ypbind is installed the lib64nss_nis2 package is not installed as well. This means that nsswitch.conf entries referencing YP/NIS are ignored

Version-Release number of selected component (if applicable):


How reproducible:

Always.

Steps to Reproduce:
1. urpmi ypbind
Comment 1 Aurelien Oudelet 2021-05-26 18:00:53 CEST
$ inxi -Sxx
System:    Host: mageia.local Kernel: 5.10.37-desktop-2.mga8 x86_64 bits: 64 compiler: gcc v: 10.3.0 
           Console: tty 1 wm: kwin_x11 DM: SDDM Distro: Mageia 8 mga8

$ sudo urpmi --test ypbind
To satisfy dependencies, the following packages are going to be installed:
(test only, installation will not be actually done)
  Package                        Version      Release       Arch    
(medium "Core Release (distrib1)")
  yp-tools                       4.2.3        5.mga8        x86_64  
(medium "Core Updates (distrib3)")
  nscd                           2.32         15.mga8       x86_64  (recommended)
  ypbind                         2.7.2        3.1.mga8      x86_64

Agreed the lib64nss_nis2 is not pulled with ypbind...

From $ urpmq -i ypbind :

This package provides the ypbind daemon.  The ypbind daemon binds NIS
clients to an NIS domain.  Ypbind must be running on any machines
which are running NIS client programs.

Install the ypbind package on any machines which are running NIS client
programs (included in the yp-tools package).  If you need an NIS server,
you'll also need to install the ypserv package to a machine on your
network.


$ urpmq -i lib64nss_nis2
    http://ftp.free.fr/mirrors/mageia.org/distrib/8/x86_64/media/core/updates/media_info/20210524-061813-info.xml.lzma
Name        : lib64nss_nis2                                                                                 
Version     : 3.1
Release     : 1.mga8
Group       : System/Libraries
Size        : 80088                        Architecture: x86_64
Source RPM  : nss_nis-3.1-1.mga8.src.rpm
URL         : https://github.com/thkukuk/libnss_nis
Summary     : Name Service Switch (NSS) module using NIS
Description :
The nss_nis Name Service Switch module uses the Network Information System (NIS)
to obtain user, group, host name, and other data.

This lib(64)nss_nis2 belongs to nss_nis-3.1-1.mga8 package.

$ rpm -qa | grep lib64nss_nis2
returns nothing. This is not installed by default on Mageia 8.

$ urpmq --whatrequires-recursive lib64nss_nis2
lib64nss_nis2

nss_nis is a NSS module for glibc, to provide NIS support for glibc, previously in glibc but "This code was formerly part of glibc, but is now standalone to
be able to link against TI-RPC for IPv6 support."

Nothing more.

Hum. Dependency issue?

Assigned to the package maintainer, advice needed here.

Source RPM: (none) => nss_nis-3.1-1.mga8.src.rpm
CC: (none) => ouaurelien
Assignee: bugsquad => tmb


Note You need to log in before you can comment on or make changes to this bug.