Package: uptimed
Version: 1:0.3.16-3.2
Severity: normal
Tags: patch

Dear Maintainer,
When trying to start uptimed on kFreeBSD it gives the following
error message:

Starting uptime daemon: Error reading boot id from file, exiting!
You probably forgot to create a bootid with with the -b option.
You really want the system to do this on bootup, read the INSTALL file!

This happens only because it gets compiled with PLATFORM_UNKNOWN
defined instead of PLATFORM_BSD, so there is no need to modify
startup scripts and following patch solves the issue:

--- uptimed-0.3.16.orig/configure.ac    2009-01-01 23:46:00.000000000 +0000
+++ uptimed-0.3.16/configure.ac 2011-11-26 15:19:45.000000000 +0000
@@ -19,6 +19,9 @@
   *-freebsd*)
     AC_DEFINE(PLATFORM_BSD, 1, [Define if you are compiling for *BSD])
     ;;
+  *-kfreebsd*)
+    AC_DEFINE(PLATFORM_BSD, 1, [Define if you are compiling for *BSD])
+    ;;
   *-bsdi*)
     AC_DEFINE(PLATFORM_BSD, 1, [Define if you are compiling for *BSD])
     ;;


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.0-0-amd64
Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to pl_PL.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages uptimed depends on:
ii  debconf [debconf-2.0]  1.5.41      
ii  libc0.1                2.13-21     
ii  libuptimed0            1:0.3.16-3.2

uptimed recommends no packages.

uptimed suggests no packages.

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to