Bug 1263 - dhcpcd, вызываемый из /sbin/ifup, делает свой /etc/ntp.conf с неправильным driftfile
Summary: dhcpcd, вызываемый из /sbin/ifup, делает свой /etc/ntp.conf с неправильным dr...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: initscripts (show other bugs)
Version: unstable
Hardware: all Linux
: P4 minor
Assignee: Dmitry V. Levin
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-16 13:12 MSD by a_liakh
Modified: 2003-08-25 15:18 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description a_liakh 2002-09-16 13:12:47 MSD
Система ALT Master 2.0 с update\'ами:
  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, но мне кажется неправильной
именно безусловная подмена конфигурационного файла.
Comment 1 Dmitry V. Levin 2002-09-28 19:28:59 MSD
I\'ll add
[ \"$PEERNTP\" = yes ] || DHCP_ARGS=\"$DHCP_ARGS -N\"
expression in the next package release.
Comment 2 Dmitry V. Levin 2002-09-28 19:28:59 MSD
I\'ll add
[ \"$PEERNTP\" = yes ] || DHCP_ARGS=\"$DHCP_ARGS -N\"
expression in the next package release.
Comment 3 Dmitry V. Levin 2002-10-14 20:47:19 MSD
Fixed in 5.49-ipl45mdk
Comment 4 Dmitry V. Levin 2002-10-14 20:47:19 MSD
Fixed in 5.49-ipl45mdk