<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Jan,<br>
<br>
Good clarification on my ugly systemd unit fix, wrote it a bit too
fast and was so happy to finally track that one down.<br>
<br>
Good to know the bug will get notified through this channel, I'd be
happy to provide any details to the maintainers if necessary.<br>
<br>
Cheers!<br>
<br>
<pre class="moz-signature" cols="72">--
Julien Semaan
<a class="moz-txt-link-abbreviated" href="mailto:jsemaan@inverse.ca">jsemaan@inverse.ca</a> :: +1 (866) 353-6153 *155 :: <a class="moz-txt-link-abbreviated" href="http://www.inverse.ca">www.inverse.ca</a>
Inverse inc. :: Leaders behind SOGo (<a class="moz-txt-link-abbreviated" href="http://www.sogo.nu">www.sogo.nu</a>) and PacketFence (<a class="moz-txt-link-abbreviated" href="http://www.packetfence.org">www.packetfence.org</a>) </pre>
<br>
<br>
<div class="moz-cite-prefix">On 2017-12-14 11:25 AM, Jan Pokorný
wrote:<br>
</div>
<blockquote type="cite" cite="mid:20171214162501.GA24665@redhat.com">
<pre wrap="">On 14/12/17 10:49 -0500, Julien Semaan wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Great success!
Adding the following line to /usr/lib/systemd/system/pacemaker.service did
it:
After=dbus.service
</pre>
</blockquote>
<pre wrap="">
Note, this is not a proper way for overriding the systemd unit files,
which is rather along the lines:
- make a copy to /etc/systemd/system directory
- edit this copy
- issue systemctl daemon-reload so that this is taken into at all
(which also happens automatically after reboot)
Otherwise your changes are lost say after reinstalling pacemaker.
(FTR, in the same vein, I am proposing similar scheme for resource
agents: <a class="moz-txt-link-freetext" href="https://github.com/ClusterLabs/OCF-spec/issues/5">https://github.com/ClusterLabs/OCF-spec/issues/5</a>)
</pre>
<blockquote type="cite">
<pre wrap="">Now, the question is, should the unit file shipped in the RPM be adjusted
(currently using CentOS 7), if so, is this the best place to get the message
going, or should I post this to a specific BTS ?
</pre>
</blockquote>
<pre wrap="">
Pacemaker maintainers are reading this so will take care of this
for upstream, you may then want to give a heads up to particular
downstream, giving them the right pointers.
Anyway, the change is seemingly straightfoward, but few things
should be answered/investigated first:
- After=dbus.service or rather After=dbus.socket (or both)?
- mere After=, or combined with other relationship modifying
directives
- Wants=, Requires= ... what's the expected behaviour when
DBus crashes (or is it merely hypothetical because then
whole systemd is in trouble then?)
- should DBus reloads somehow affect pacemaker?
- (insert some other questions that are not currently
coming to mind of rather inexpert person)
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list: <a class="moz-txt-link-abbreviated" href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a>
<a class="moz-txt-link-freetext" href="http://lists.clusterlabs.org/mailman/listinfo/users">http://lists.clusterlabs.org/mailman/listinfo/users</a>
Project Home: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org">http://www.clusterlabs.org</a>
Getting started: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a>
Bugs: <a class="moz-txt-link-freetext" href="http://bugs.clusterlabs.org">http://bugs.clusterlabs.org</a>
</pre>
</blockquote>
<br>
</body>
</html>