F16: Broken ypbind

Terry Barnaby terry1 at beam.ltd.uk
Thu Apr 26 13:51:06 UTC 2012


On 04/21/2012 08:38 AM, Terry Barnaby wrote:
> On 21/04/12 08:10, Terry Barnaby wrote:
>> Some update appears to have broken the operation of ypbind recently.
>> I have a F14 sever that serves /home and implements NIS services (ypserv)
>> and has been running fine for over a year.
>>
>> The F16 clients use NetworkManager with wired Ethernet set to automatic/system
>> connection. Everything comes up fine except for ypbind that fails. This
>> has worked fine until a week or so ago (fails on multiple clients).
>>
>> The boot.log is enclosed, any ideas ?
>>
>> Cheers
>>
>>
>> Terry
>>
>>
> Enclosed is a portion of /var/log/messages.
> 
> The test.sh entries are a script executed from
> /lib/systemd/system/ypbind.service in the "pre" and "post" stages.
> 
> It looks to me that systemd is starting a lot of network services
> including the NFS mounts and ypbind before the core network interface
> is up and running ...
> 
> Is there a mechanism so that systemd will wait until the "primary"
> network is up before continuing ?  I assumed that ybind waiting
> for "network.target" would have achieved that ?
> 
> 
> 
> 
> 
For information: You need to run:
 "systemctl enable NetworkManager-wait-online.service"

This sets systemd to wait for the network to be up before generating
network.target. Programs then need the network up, such as ypbind, now
wait until the network is actually up.

Why this is not the default I will never know. I guess most developers are
using individual Laptops and not using servers with multiple clients :)


More information about the devel mailing list