Re: sd_notify called before 389-ds really ready?

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

 



On Thu, 2018-04-12 at 09:35 +0000, dave_horton2001@xxxxxxxxxxx wrote:
> I have a service on my 389-ds host that is configured in systemd to
> depend on 389-ds and start after dirsrv.target.  However, unless I
> add a sleep (ExecStartPre systemd stanza) to the startup of that
> other service it fails to start as 389 is not fully ready.  I can see
> that systemd is respecting the dependencies, but the client starts
> before 389 is able to accept its connection.
> 
> 389-ds appears to use the notify systemd service type.  Is it
> possible that sd_notify is being called before the services are truly
> ready to accept client connections?

sd_notify is called just before the event loop wait starts. I don't
think it's possible for this to be incorrect.

The only thing I can assume is that there is some other systemd
weirdness here, but the design of what's in 389 is correct to my
knowledge.

If you want I can send you all the details needed to audit this if you
want :) 

Sorry I can't help more :( 

William

> _______________________________________________
> 389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to 389-users-leave@lists.fedoraproject.o
> rg
_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux