[Bug 462617] New: ntp does not respect -p option
https://bugzilla.novell.com/show_bug.cgi?id=462617 Summary: ntp does not respect -p option Product: openSUSE 11.1 Version: Final Platform: i686 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: hpj@urpla.net QAContact: qa@suse.de Found By: Beta-Customer consequently, it doesn't stop sanely, nor does rcntp status work correctly: ~# sh -x /etc/init.d/ntp start [...] + NTP_CONF=/etc/ntp.conf + '[' '!' -f /etc/ntp.conf ']' + NTPD_BIN=/usr/sbin/ntpd + '[' '!' -x /usr/sbin/ntpd ']' + NTPD_OPTIONS='-g -u ntp:ntp' + NTPD_RUN_CHROOTED=yes + NTPDC_BIN=/usr/sbin/ntpdc ++ awk '/^keys/ { print $2 }' /etc/ntp.conf + NTP_KEYS=/etc/ntp.keys ++ awk '/^requestkey[[:blank:]]/ { print $2 }' /etc/ntp.conf + NTP_KEYID=1 ++ test -n /etc/ntp.keys -a -n 1 -a -r /etc/ntp.keys ++ awk '$0 ~ key { print $3 }' 'key=^[[:blank:]]*1[[:blank:]]' /etc/ntp.keys + NTP_PASSWD=5c3f25c + '[' -n /etc/ntp.keys ']' + test -z 1 + test -z 5c3f25c + test -f /etc/sysconfig/ntp + . /etc/sysconfig/ntp ++ NTPD_OPTIONS='-g -u ntp:ntp' ++ NTPD_RUN_CHROOTED=no ++ NTPD_CHROOT_FILES= ++ NTP_PARSE_LINK= ++ NTP_PARSE_DEVICE= + test no = yes + CHROOT_PREFIX= + NTPD_PID=/var/run/ntp/ntpd.pid + NTPD_PID_NOPREFIX=/var/run/ntp/ntpd.pid + case "$1" in + echo -n 'Starting network time protocol daemon (NTPD)' Starting network time protocol daemon (NTPD)+ parse_symlink + '[' -c '' ']' + test no = yes + startproc /usr/sbin/ntpd -p /var/run/ntp/ntpd.pid -g -u ntp:ntp -c /etc/ntp.conf + '[' -n /etc/ntp.keys ']' [...] done + _rc_status=0 + return 0 + rc_exit + exit 0 See, ntpd got started (without being chrooted) with -p /var/run/ntp/ntpd.pid option, but: ~# cat /var/run/ntp/ntpd.pid cat: /var/run/ntp/ntpd.pid: Datei oder Verzeichnis nicht gefunden Ahh, no such file: ~# l /var/run/ntp/ insgesamt 4 drwxr-xr-x 2 ntp root 30 26. Dez 00:37 ./ drwxr-xr-x 3 root root 16 3. Dez 08:22 ../ -rw-r--r-- 1 root root 760 26. Dez 00:37 servers-netconfig I've tested with and without chrooting ntp. Same result. Something must be wrong here... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462617
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=462617
User varkoly@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=462617#c1
Peter Varkoly
https://bugzilla.novell.com/show_bug.cgi?id=462617
User hpj@urpla.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=462617#c2
--- Comment #2 from Hans-Peter Jansen
https://bugzilla.novell.com/show_bug.cgi?id=462617
User varkoly@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=462617#c3
Peter Varkoly
https://bugzilla.novell.com/show_bug.cgi?id=462617
User varkoly@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=462617#c4
Peter Varkoly
participants (1)
-
bugzilla_noreply@novell.com