[pkg-ntp-maintainers] Bug#522696: ntp: silently fails to start on kfreebsd-i386
Aurelien Jarno
aurelien at aurel32.net
Mon Aug 3 20:08:00 UTC 2009
On Tue, Apr 07, 2009 at 12:49:30AM +0200, Axel Beckert wrote:
> Hi Kurt,
>
> On Mon, Apr 06, 2009 at 07:52:58PM +0200, Kurt Roeckx wrote:
> > Could you please try the package from:
> > http://people.debian.org/~kroeckx/ntp/
>
> Goes further, but still no ntp[d] process around after starting via
> init.d script. Here's what's now in the syslog:
>
The patch below makes ntpd works correctly as root. If still fails to work
when started with the -u argument, as dropping the priviledges is only
supported on Linux and NetBSD...
--- a/configure.ac
+++ b/configure.ac
@@ -691,16 +691,19 @@
ac_cv_var_override_hz=yes
;;
*-*-freebsd*)
ac_cv_var_override_hz=yes
;;
*-*-sunos4*)
ac_cv_var_override_hz=yes
;;
+ *-*-kfreebsd*)
+ ac_cv_var_override_hz=yes
+ ;;
esac])
case "$ac_cv_var_override_hz" in
yes)
AC_DEFINE(OVERRIDE_HZ, 1, [Do we need to override the system's idea of HZ?])
;;
esac
dnl AC_CACHE_CHECK(ut_host in struct utmp, ac_cv_func_ut_host_in_utmp,
@@ -1694,16 +1697,19 @@
ans=no
;;
*-*-linux*)
ans=no
;;
*-*-unicosmp*)
ans=no
;;
+ *-*-kfreebsd*)
+ ans=no
+ ;;
esac
;;
esac
ac_cv_var_signalled_io=$ans])
case "$ac_cv_var_signalled_io" in
yes) AC_DEFINE(HAVE_SIGNALED_IO, 1, [Can we use SIGIO for tcp and udp IO?]) ;;
esac
@@ -1759,16 +1765,19 @@
ans=no
;;
*-*-ultrix*)
ans=no
;;
*-*-unicosmp*)
ans=no
;;
+ *-*-kfreebsd*)
+ ans=no
+ ;;
*) ans=yes
;;
esac
;;
esac
ac_cv_var_use_udp_sigpoll=$ans])
case "$ac_cv_var_use_udp_sigpoll" in
yes) AC_DEFINE(USE_UDP_SIGPOLL, 1, [Can we use SIGPOLL for UDP?]) ;;
@@ -1810,16 +1819,19 @@
ans=no
;;
*-*-qnx*)
ans=no
;;
*-*-unicosmp*)
ans=no
;;
+ *-*-kfreebsd*)
+ ans=no
+ ;;
*) ans=yes
;;
esac
;;
esac
ac_cv_var_use_tty_sigpoll=$ans])
case "$ac_cv_var_use_tty_sigpoll" in
yes) AC_DEFINE(USE_TTY_SIGPOLL, 1, [Can we use SIGPOLL for tty IO?]) ;;
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien at aurel32.net http://www.aurel32.net
More information about the pkg-ntp-maintainers
mailing list