Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 51433

Summary: permissions mismatch between ntpd and /var/lib/misc
Product: Gentoo Linux Reporter: Matthew Marlowe (RETIRED) <mattm>
Component: [OLD] ServerAssignee: SpanKY <vapier>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matthew Marlowe (RETIRED) gentoo-dev 2004-05-18 16:58:11 UTC
ntp is currently configured to run by default as user ntp, group ntp.
However, the management application, ntpdc, requires write permission to /var/lib/misc by default and baselayout currently has 755 and owned by root.

This bug has existed for several months and has required fixing on every server deployed.

Reproducible: Always
Steps to Reproduce:
1.setup new server
2.emerge, configure, and run ntpd
3.run ntpdc
4.Type peers
5. notice that syslog reports "18 May 16:05:24 ntpd[2023]: can't open /var/lib/misc/ntp.drift.TEMP: Permission denied"
6. chmod 777 /var/lib/misc, restart ntp
7. run ntpdc again, get correct results
Comment 1 SpanKY gentoo-dev 2004-05-23 12:35:23 UTC

*** This bug has been marked as a duplicate of 48822 ***