Bug 3461

Summary: ntpd: resolver issue
Product: [Development] Sisyphus Reporter: Dmitry V. Levin <ldv@altlinux.org>
Component: ntpdAssignee: Dmitry V. Levin <ldv@altlinux.org>
Status: CLOSED FIXED QA Contact: qa-sisyphus@altlinux.org
Severity: major    
Priority: P2 CC: mike@altlinux.org
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on:    
Bug Blocks: 3459    

Description From 2004-01-11 02:53:53
The chroot jailing patch has resolver issue. 
 
Instead of ugly and incomplete 
gethostbyname ("localhost"); 
workaround I'd prefer to include resolver chroot into ntpd chroot. 
 
Maybe ntpd and ntpdate should chroot by default like named in our bind package. 
In latter case, ntpdate could be jailed to /var/empty/.
------- Comment #1 From 2004-02-16 02:16:33 -------
* Sun Feb 15 2004 Dmitry V. Levin <ldv@altlinux.org> 4.1.2-alt2 
- Fixed chroot jailing and droppriv code (#3461). 
- Changed default settings: 
  ntpd: switch to ntpd:ntpd, chroot to /var/lib/ntpd; 
  ntp_intres: switch to ntpd:ntpd, chroot to /var/resolv; 
  ntpdate: switch to ntpd:ntpd, chroot to /var/empty.