<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'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"><<a href="mailto:morrone2@llnl.gov" target="_blank">morrone2@llnl.gov</a>></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's build would need to be unconditional.<br>
<br>
I don't have a problem with making the lnetctl build unconditional.  I'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>
"DLC" terminology from the code.<br>
<br>
Chris<br>
<br>
On 01/04/2017 04:16 PM, Di Natale, Giuseppe wrote:<br>
> Greetings,<br>
><br>
> I am attempting to port the SysV lnet script as part of a transition to<br>
> systemd. I ran into the following in lustre/scripts/lnet:<br>
><br>
>         if [ -x $LUSTRE_LNET_CONFIG_UTILITY -a -f<br>
> "$LUSTRE_LNET_CONFIG_FILE" ]; then<br>
>                 $LUSTRE_LNET_CONFIG_UTILITY lnet configure || exit 1<br>
>         else<br>
>                 lctl network up || exit 1<br>
>         fi<br>
><br>
> Can the check for LUSTRE_LNET_CONFIG_UTILITY  (/usr/sbin/lnetctl by<br>
> default) be removed so that way lnetctl is used exclusively?<br>
><br>
> Thanks,<br>
> Giuseppe Di Natale<br>
><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>
><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>