Bug 28465 - Ypbind fail. ypbind-pre-setdomain: No such file or director
Summary: Ypbind fail. ypbind-pre-setdomain: No such file or director
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Reported: 2021-02-27 12:36 CET by marco tux4ever
Modified: 2021-04-16 11:11 CEST (History)
5 users (show)

See Also:
Source RPM: ypbind-2.7.2-3.mga8.x86_64.rpm
Status comment:


Description marco tux4ever 2021-02-27 12:36:09 CET
domainname is not set. 
/usr/libexec/ypbind-pre-setdomain is missing.
it seems that yp.conf is not read.

journalctl -xe 

Starting NIS/YP (Network Information Service) Clients to NIS Domain Binder...

ypbind.service: Failed to execute command: No such file or directory
ypbind.service: Failed at step EXEC spawning /usr/libexec/ypbind-pre-setdomain: No such file or directory

Subject: Le processus /usr/libexec/ypbind-pre-setdomain n'a pas pu être exécuté
Failed to start NIS/YP (Network Information Service) Clients to NIS Domain Binder.
Comment 1 marco tux4ever 2021-02-27 12:57:09 CET
a quick soution is :

ln -s /usr/lib/ypbind/ypbind-pre-setdomain /usr/libexec/ypbind-pre-setdomain
ln -s /usr/lib/ypbind/ypbind-post-waitbind /usr/libexec/ypbind-post-waitbind

but usage seems not to having link  in /usr/libexec.

CC: (none) => onlylinux

Comment 2 David GEIGER 2021-02-28 07:48:18 CET
Should be fixed with ypbind-2.7.2-3.1.mga8 in Core/Updates_testing repo!

Please test it.

CC: (none) => geiger.david68210

Comment 3 David GEIGER 2021-02-28 19:34:55 CET
Assigning to QA now,


Our current ypbind does not launch properly because of a packaging issue. There is a wrong path issue with ypbind-post-waitbind and ypbind-pre-setdomain who should be in '/usr/libexec/' instead of '/usr/lib/ypbind/'.
So this update fixes this issue.


Packages in 8/core/updates_testing:

Source RPM: 

Assignee: bugsquad => qa-bugs

Comment 4 marco tux4ever 2021-02-28 23:01:36 CET
I check ypbind-2.7.2-3.1.mga8.x86_64.rpm
It should be ok.
ypbind-post-waitbind and ypbind-pre-setdomain are now in '/usr/libexec/'.
I didn't have a yp server to bind with but everything is ok for the client until waiting for a map.
Thanks for your very quick answer and solution !
Comment 5 Thomas Andrews 2021-04-15 04:43:03 CEST
Tested in a vbox Plasma guest. No installation issues.

I have no idea how to use this, but I can confirm that ypbind-post-waitbind and ypbind-pre-setdomain are in /usr/libexec/, where before the update they were in /usr/lib/ypbind/.

Giving this an OK, and validating. Advisory in Comment 3.

Whiteboard: (none) => MGA8-64-OK
CC: (none) => andrewsfarm, sysadmin-bugs
Keywords: (none) => validated_update

Aurelien Oudelet 2021-04-15 17:49:17 CEST

Keywords: (none) => advisory
CC: (none) => ouaurelien

Comment 6 Mageia Robot 2021-04-15 21:05:51 CEST
An update for this issue has been pushed to the Mageia Updates repository.


Resolution: (none) => FIXED

Comment 7 marco tux4ever 2021-04-16 11:11:55 CEST
I checked ypbind-2.7.2-3.1.mga8.x86_64.rpm.
It works fine.

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