Bug 55431 - RFE: socket activation between ExecStart and ExecStartPost
Summary: RFE: socket activation between ExecStart and ExecStartPost
Status: RESOLVED WORKSFORME
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-28 18:14 UTC by Andy Grover
Modified: 2016-06-07 10:40 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Andy Grover 2012-09-28 18:14:53 UTC
please see https://bugzilla.redhat.com/show_bug.cgi?id=848942

tgtd daemon start appears to be racing with execution of secondary daemon configuration commands. One solution is to insert a sleep (yuck).

I was thinking it would be nice if the ExecStartPost commands could wait for the socket to be up (i.e. daemon has finished initializing) before running... kind of like socket-based activation but within the unit file. Do you think this might be good, or do you have alternative suggestions for how we can resolve this particular tgtd issue? Thanks.
Comment 1 Lennart Poettering 2013-01-15 01:10:32 UTC
Could you paste your unit file?

Maybe the best would be to split the ExecStartPost out into its own unit an simply order that after your main unit?
Comment 2 Lennart Poettering 2016-06-07 10:40:26 UTC
Closing due to lack of response.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.