Bug 3461

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

Description Dmitry V. Levin 2004-01-11 02:53:53 MSK
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 Dmitry V. Levin 2004-02-16 02:16:33 MSK
* 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.