<div dir="ltr">The reason it is conditional is because we use 3rd party library for YAML parsing. If this is not installed on the build system, then we wouldn&#39;t be building lnetctl in that scenario.<div><br></div><div>I agree that we should be removing DLC terminology from the code.</div><div><br></div><div>thanks</div><div>amir</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 4 January 2017 at 17:36, Christopher J. Morrone <span dir="ltr">&lt;<a href="mailto:morrone2@llnl.gov" target="_blank">morrone2@llnl.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">lnetctl is currently an optional build, and its build is not even<br>
enabled by default in the lustre spec file.  To use lnetctl exclusively,<br>
we would need lnetctl&#39;s build would need to be unconditional.<br>
<br>
I don&#39;t have a problem with making the lnetctl build unconditional.  I&#39;m<br>
not sure why it was done that way.  Perhaps someone else can comment on<br>
that.<br>
<br>
When/if lnetctl is built unconditionally, it would be nice to purge the<br>
&quot;DLC&quot; terminology from the code.<br>
<br>
Chris<br>
<br>
On 01/04/2017 04:16 PM, Di Natale, Giuseppe wrote:<br>
&gt; Greetings,<br>
&gt;<br>
&gt; I am attempting to port the SysV lnet script as part of a transition to<br>
&gt; systemd. I ran into the following in lustre/scripts/lnet:<br>
&gt;<br>
&gt;         if [ -x $LUSTRE_LNET_CONFIG_UTILITY -a -f<br>
&gt; &quot;$LUSTRE_LNET_CONFIG_FILE&quot; ]; then<br>
&gt;                 $LUSTRE_LNET_CONFIG_UTILITY lnet configure || exit 1<br>
&gt;         else<br>
&gt;                 lctl network up || exit 1<br>
&gt;         fi<br>
&gt;<br>
&gt; Can the check for LUSTRE_LNET_CONFIG_UTILITY  (/usr/sbin/lnetctl by<br>
&gt; default) be removed so that way lnetctl is used exclusively?<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Giuseppe Di Natale<br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; lustre-devel mailing list<br>
&gt; <a href="mailto:lustre-devel@lists.lustre.org">lustre-devel@lists.lustre.org</a><br>
&gt; <a href="http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org" rel="noreferrer" target="_blank">http://lists.lustre.org/<wbr>listinfo.cgi/lustre-devel-<wbr>lustre.org</a><br>
&gt;<br>
<br>
______________________________<wbr>_________________<br>
lustre-devel mailing list<br>
<a href="mailto:lustre-devel@lists.lustre.org">lustre-devel@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org" rel="noreferrer" target="_blank">http://lists.lustre.org/<wbr>listinfo.cgi/lustre-devel-<wbr>lustre.org</a><br>
</blockquote></div><br></div>