Bug 16137 - ypbind starting too early
Summary: ypbind starting too early
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2015-06-17 14:14 CEST by marco tux4ever
Modified: 2021-05-27 11:55 CEST (History)
3 users (show)

See Also:
Source RPM: ypbind
CVE:
Status comment:


Attachments

Description marco tux4ever 2015-06-17 14:14:37 CEST
Description of problem:
NISDOMAIN is define in /etc/sysconfig/network
but domainname is not set and ypbind is not working
setting manually domainname and restarting ypbind solve the problem but it's not the way it should be

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

How reproducible:
always


Steps to Reproduce:
1.
2.
3.


Reproducible: 

Steps to Reproduce:
Comment 1 marco tux4ever 2015-06-25 16:45:21 CEST
when restarting ypbind it works.
domainname is then set and yp maps are working.
it seems to be that ypbind is starting too early.
Comment 2 marco tux4ever 2015-06-29 11:46:23 CEST
systemd-networkd-wait-online.service
is not running by default
systemctl enable systemd-networkd-wait-online.service
fixed the problem, and make ypbind work fine
Comment 3 Samuel Verschelde 2015-06-30 09:58:36 CEST
Adding Colin in CC for systemd, and David as the packager who has the more commits on this package. David, are you the maintainer?

Severity: normal => major
CC: (none) => luigiwalser, mageia
Summary: NISDOMAIN is not set => ypbind starting too early

Comment 4 David Walser 2015-06-30 16:00:34 CEST
Unofficially.
Comment 5 marco tux4ever 2015-07-01 08:50:45 CEST
systemd-networkd-wait-online.service don't work to fix the ypbind problem.
here are some details :

I look at my classrooms's computers yesterday (YP+NFS)
MSEC OFF / no shorewall

It's still notworking with systemd-networkd-wait-online.service enable.
(I had a error using systemd-networkd-wait-online.service
systemctl status systemd-networkd-wait-online.service > error)


All computers have fixed IP and were installed with kickstart through NFS.
I put because of kickstart fix IP config to remain on eth0
ln -s /dev/null /etc/udev/rules.d/80-net-name-slot.rules
Eveything is working fine, only ypbind seems to start too early.
service ypbind restart 
makes everything working

I found a solution :

systemctl disable preload.service

I put it on all computers (mageia5 on 60 and different models) with a perl-expect script
all the 60 are now working fine and ypbind is working.
Comment 6 Samuel Verschelde 2016-11-01 13:15:34 CET
Assigning to unofficial maintainer David Walser, please reassign to all packagers collectively if needed.

Assignee: bugsquad => luigiwalser

David Walser 2016-11-01 13:16:17 CET

Assignee: luigiwalser => pkg-bugs

Comment 7 David Walser 2016-11-01 13:16:57 CET
Is this bug still valid?  We turned preload into a no-op.
Samuel Verschelde 2016-11-01 13:25:17 CET

Keywords: (none) => NEEDINFO

Comment 8 Marja Van Waes 2021-05-27 11:55:59 CEST
(In reply to David Walser from comment #7)
> Is this bug still valid?  We turned preload into a no-op.

4 1/2 years later, no reply, so assuming this got fixed

Status: NEW => RESOLVED
CC: (none) => marja11
Resolution: (none) => FIXED


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