<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>15857</bug_id>
          
          <creation_ts>2025-05-09 21:56:18 +0000</creation_ts>
          <short_desc>meta-networking - chrony: recipe is configured to use NTS, but it is not activated</short_desc>
          <delta_ts>2025-05-16 16:03:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Other YP Layers</product>
          <component>layers</component>
          <version>5.3</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>0.0.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jairo Mejia">jairo.mejia.2708</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>ccasciato</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>101922</commentid>
    <comment_count>0</comment_count>
    <who name="Jairo Mejia">jairo.mejia.2708</who>
    <bug_when>2025-05-09 21:56:18 +0000</bug_when>
    <thetext>Hi all, 

Chrony since the major 4.X version supports Network Time Security (NTS) by default. However, in order to support NTS requires gnutls. If the ./configure detects gnutls, it will activate the NTS, if not, it will silently deactivate the feature.

The recipe of chrony does not have the dependency of gnutls, so the chrony implementation do not have NTS at the end. However, according to the configuration of chrony in recipe, we do want it.

Here there are two possible solutions: 

1. we aggregate the configuration parameter &apos;--disable-nts&apos; to explicitly inform the user of the recipe that the default behavior of the recipe is without NTS. 
2. we put gnutls as dependency in the recipe so that the ./configure enables the NTS feature.

I would prefer the second option being the NTS feature, enable by default.

Thank you, 

JM</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101982</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2025-05-16 13:39:24 +0000</bug_when>
    <thetext>Hi Jairo,

meta-networking bugs are not tracked in this bugzilla, but instead with mails to the openembedded-devel@lists.openembedded.org mailing list.

However, it looks like this has been done in git already: https://git.openembedded.org/meta-openembedded/commit/meta-networking/recipes-support/chrony/chrony_4.6.1.bb?id=0347365edcbd265166fd25b8ce00bc81f5857eaa.

If further work is needed, then sending a patch would be much appreciated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101984</commentid>
    <comment_count>2</comment_count>
    <who name="Jairo Mejia">jairo.mejia.2708</who>
    <bug_when>2025-05-16 16:03:27 +0000</bug_when>
    <thetext>Hi Ross,

Thank you for the answer. I checked in the scarthgap-next branch not in the master branch. You are right, this commit solve the issue.

Thank you, 

JM</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>