On 02/02/18 15:51, Terry Barnaby wrote:
> On 02/02/18 07:42, Terry Barnaby wrote:
>> On 02/02/18 00:41, Ed Greshko wrote:
>>>
>>> I've not tried this since I don't have a need for ypbind.
>>>
>>> One may also consider copying /lib/systemd/system/ypbind.service to
>>> /etc/systemd/system and then inserting the line,
>>>
>>> ExecStartPre=/usr/bin/sleep 5
>>>
>>>  From the systemd documentation
>>>
>>> ExecStart= commands are only run after all ExecStartPre= commands that were 
>>> not
>>> prefixed with a "-" exit successfully.
>>>
>> Thanks I will try this out, but it would be nice to get it fixed properly in
>> Fedora27.
>>

So, did you try it out?  FWIW, since this appears to be mostly a "timing" issue 
I
modified the name service in this way.

Before the the modification

[egreshko@f27k ~]$ systemd-analyze blame | grep named
           904ms named-chroot.service
           682ms named-chroot-setup.service
           322ms named-setup-rndc.service

after adding ExecStartPre=/usr/bin/sleep 30     (I wanted to see if any other
processes would be affected)

[egreshko@f27k ~]$ systemd-analyze blame | grep nam
         30.377s named-chroot.service
           613ms named-chroot-setup.service
           189ms named-setup-rndc.service

Other than the delay in starting named, the system booted in its usual 12 
seconds.

So, the workaround should be successful.

And, I would also suggest you write a bugzilla and *maybe* things surrounding
"wait-online" will improve.  


-- 
A motto of mine is: When in doubt, try it out

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to