Re: fedora27: ypbind intermittent startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux