[pkg-ntp-maintainers] Bug#376400: ntp-simple: ntp cannnot open log
and drift files
Blu Corater
blu at daga.cl
Sun Jul 2 18:30:38 UTC 2006
Package: ntp-simple
Version: 1:4.2.0a+stable-9
Severity: normal
ntpd is unable to open and update log and drift files.
Messages in syslog are of the type:
Jul 2 13:38:28 lady-armanoid ntpd[23109]: can't open /var/lib/ntp/ntp.drift.TEMP: Permission denied
Jul 2 13:38:31 lady-armanoid ntpd[23109]: can't open /var/log/ntpstats/peerstats.20060702: Permission denied
Even when in the update an info screen claimed that ntpd runs now as ntp
user, it apparently still runs as root:
$ ps ax -f | grep ntpd
root 26292 1 0 14:06 ? SLs 0:00 /usr/sbin/ntpd
The log files and the directory /var/log/ntpstats are owned by user ntp.
/etc/ntp.drift is owned by root.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.5
Locale: LANG=es_CL.utf8, LC_CTYPE=es_CL.utf8 (charmap=UTF-8)
Versions of packages ntp-simple depends on:
ii adduser 3.91 Add and remove users and groups
ii libc6 2.3.6-15 GNU C Library: Shared libraries
ii libcap1 1:1.10-14 support for getting/setting POSIX.
ii libssl0.9.8 0.9.8b-2 SSL shared libraries
Versions of packages ntp-simple recommends:
ii ntp-server 1:4.2.0a+stable-9 Network Time Protocol: common serv
-- debconf information:
* shared/ntp/update-conf: false
* shared/ntp/servers: ntp.dgf.uchile.cl ns.puc.cl
shared/ntp/localclock: false
--
Blu Corater.
More information about the pkg-ntp-maintainers
mailing list