Subject: bin/24653: chrooted ntpd can't be stopped
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <martti.kuparinen@iki.fi>
List: netbsd-bugs
Date: 03/03/2004 09:14:49
>Number: 24653
>Category: bin
>Synopsis: chrooted ntpd can't be stopped
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 03 07:15:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Martti Kuparinen
>Release: NetBSD 1.6ZK
>Organization:
>Environment:
System: NetBSD p3 1.6ZK NetBSD 1.6ZK (P3) #0: Fri Feb 20 11:28:30 EET 2004 root@p3:/usr/src/sys/arch/i386/compile/P3 i386
Architecture: i386
Machine: i386
>Description:
I can't stop chrooted ntpd using the /etc/rc.d/ntpd script.
>How-To-Repeat:
# grep ntpd /etc/rc.conf
ntpd=YES ntpd_chrootdir="/var/chroot/ntpd"
# /etc/rc.d/ntpd start
Starting ntpd.
# ps axw | grep ntpd
14481 ?? Ss 0:00.02 /usr/sbin/ntpd -u ntpd:ntpd -i /var/chroot/ntpd
# /etc/rc.d/ntpd stop
ntpd not running? (check /var/run/ntpd.pid).
# ident /etc/rc.d/ntpd
/etc/rc.d/ntpd:
$NetBSD: ntpd,v 1.10 2002/07/02 14:47:22 itohy Exp $
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: