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

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

    <bug>
          <bug_id>1263</bug_id>
          
          <creation_ts>2002-09-16 13:12:47 +0400</creation_ts>
          <short_desc>dhcpcd, вызываемый из /sbin/ifup, делает свой /etc/ntp.conf с неправильным driftfile</short_desc>
          <delta_ts>2003-08-25 15:18:33 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>initscripts</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="a_liakh">lyakhovetz</reporter>
          <assigned_to name="Dmitry V. Levin">ldv</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1206</commentid>
    <comment_count>0</comment_count>
    <who name="a_liakh">lyakhovetz</who>
    <bug_when>2002-09-16 13:12:47 +0400</bug_when>
    <thetext>Система ALT Master 2.0 с update\&apos;ами:
  initscripts-5.49-ipl40mdk
  dhcpcd-1.3.21pl1-alt1
  ntp-4.1.1-alt3
Содержимое /etc/sysconfig/network-scripts/ifcfg-eth0 :
  DEVICE=eth0
  BOOTPROTO=dhcp
  ONBOOT=yes
При старте из /sbin/ifup вызывается dhcpcd (без ключа -N),
dhcpcd создаёт свой /etc/ntp.conf, в котором, в частности,
driftfile другой, нежели в пакете ntp.
---

---
  Возможное решение:
добавить ключ -N в /sbin/ifup в аргументы для dhcpcd
(либо безусловно, либо аналогично тому, как это сделано
для ключа -R).
  Указанную несовместимость можно убрать и путём изменения
dhcpcd или пакета ntp, но мне кажется неправильной
именно безусловная подмена конфигурационного файла.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4101</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-09-28 19:28:59 +0400</bug_when>
    <thetext>I\&apos;ll add
[ \&amp;quot;$PEERNTP\&amp;quot; = yes ] || DHCP_ARGS=\&amp;quot;$DHCP_ARGS -N\&amp;quot;
expression in the next package release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7466</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-09-28 19:28:59 +0400</bug_when>
    <thetext>I\&apos;ll add
[ \&amp;quot;$PEERNTP\&amp;quot; = yes ] || DHCP_ARGS=\&amp;quot;$DHCP_ARGS -N\&amp;quot;
expression in the next package release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4102</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-10-14 20:47:19 +0400</bug_when>
    <thetext>Fixed in 5.49-ipl45mdk</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7467</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-10-14 20:47:19 +0400</bug_when>
    <thetext>Fixed in 5.49-ipl45mdk</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>