<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>43738</bug_id>
          
          <creation_ts>2022-09-08 17:00:59 +0300</creation_ts>
          <short_desc>dhcpcd hook changes /etc/ntpd.conf</short_desc>
          <delta_ts>2022-09-09 15:11:34 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>dhcpcd</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vladimir D. Seleznev">vseleznv</reporter>
          <assigned_to name="Mikhail Efremov">sem</assigned_to>
          <cc>mike</cc>
    
    <cc>sem</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>214665</commentid>
    <comment_count>0</comment_count>
    <who name="Vladimir D. Seleznev">vseleznv</who>
    <bug_when>2022-09-08 17:00:59 +0300</bug_when>
    <thetext>I don&apos;t know how it is supposed to work, but ntp dhcpcd hook changes /etc/ntpd.conf by erasing its content. And openntpd stops working.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>214726</commentid>
    <comment_count>1</comment_count>
    <who name="Mikhail Efremov">sem</who>
    <bug_when>2022-09-09 15:11:34 +0300</bug_when>
    <thetext>This hook adds ntp servers to ntpd.conf if DHCP server sends them and removes them when interface is down. Other content shouldn&apos;t be touched and this apparently works for me exactly with openntpd, so I don&apos;t know how to reproduce this issue.
BTW, you can disable this hook in the /etc/dhcpcd.conf (add &apos;nohook ntp.conf&apos; there).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>