Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc $ntpd_chroot requires "pseudo-device clockctl" in the ke...
details: https://anonhg.NetBSD.org/src/rev/90d23509170b
branches: trunk
changeset: 532793:90d23509170b
user: lukem <lukem%NetBSD.org@localhost>
date: Sat Jun 15 01:55:44 2002 +0000
description:
$ntpd_chroot requires "pseudo-device clockctl" in the kernel
diffstat:
etc/defaults/rc.conf | 5 +++--
etc/rc.d/ntpd | 4 +++-
2 files changed, 6 insertions(+), 3 deletions(-)
diffs (39 lines):
diff -r c4500b48d931 -r 90d23509170b etc/defaults/rc.conf
--- a/etc/defaults/rc.conf Sat Jun 15 01:52:19 2002 +0000
+++ b/etc/defaults/rc.conf Sat Jun 15 01:55:44 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rc.conf,v 1.37 2002/05/19 01:01:33 lukem Exp $
+# $NetBSD: rc.conf,v 1.38 2002/06/15 01:55:44 lukem Exp $
#
# /etc/defaults/rc.conf --
# default configuration of /etc/rc.conf
@@ -165,7 +165,8 @@
#named_chrootdir="/var/chroot/named"
# To run the ntpd(8) NTP server as an unprivileged user under a
-# chroot(2) cage, uncomment the following.
+# chroot(2) cage, uncomment the following after installing a kernel
+# which has "pseudo-device clockctl" compiled in.
#
#ntpd_chrootdir="/var/chroot/ntpd"
diff -r c4500b48d931 -r 90d23509170b etc/rc.d/ntpd
--- a/etc/rc.d/ntpd Sat Jun 15 01:52:19 2002 +0000
+++ b/etc/rc.d/ntpd Sat Jun 15 01:55:44 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: ntpd,v 1.6 2002/03/22 04:33:59 thorpej Exp $
+# $NetBSD: ntpd,v 1.7 2002/06/15 01:55:44 lukem Exp $
#
# PROVIDE: ntpd
@@ -31,6 +31,8 @@
# exists and ntpd isn't running at this point (unless forcestart
# is used).
#
+ # This requires "pseudo-device clockctl" compiled in to kernel.
+ #
if [ ! -c "${ntpd_chrootdir}/dev/clockctl" ]; then
rm -f "${ntpd_chrootdir}/dev/clockctl"
( cd /dev ; /bin/pax -rw -pe clockctl "${ntpd_chrootdir}/dev" )
Home |
Main Index |
Thread Index |
Old Index