Package: ipmitool
Version: 1.8.1-1
Severity: minor
Tags: patch

ipmievd is missing a manual page. I created one, which is attached.
When included upstream, the change to debian/rules can be reverted.

There is also a minor spelling mistake in src/ipmievd.c: in the
synopsis, the option to not daemonize was '-d', but should be '-s'.

During compile, there's also a warning about IPMI_CHANNEL_MEDIUM_IPMB
being redefined. This is because include/ipmitool/ipmi_intf.h is
included *before* linux/include/linux/ipmi.h, so the #undef is useless.
A fix could be to only include the files condifionally or wrap them in
an '#ifndef SOME_IPMI_SYMBOL ... #endif' block.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (989, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages ipmitool depends on:
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libreadline4                4.3-15       GNU readline and history libraries
ii  libssl0.9.7                 0.9.7e-3     SSL shared libraries
--- ipmitool-1.8.1/src/ipmievd.c~       2005-04-06 22:49:48.000000000 +0200
+++ ipmitool-1.8.1/src/ipmievd.c        2005-04-29 09:52:09.000000000 +0200
@@ -240,7 +240,7 @@ static int do_exit(struct ipmi_intf * in
 
 static void usage(void)
 {
-       fprintf(stderr, "usage: ipmievd [-hvd]\n");
+       fprintf(stderr, "usage: ipmievd [-hvs]\n");
        fprintf(stderr, "\n");
        fprintf(stderr, "       -h        This help\n");
        fprintf(stderr, "       -v        Verbose (can use multiple times)\n");
--- ipmitool-1.8.1/debian/rules~        2005-04-04 03:01:10.000000000 +0200
+++ ipmitool-1.8.1/debian/rules 2005-04-29 09:55:04.000000000 +0200
@@ -91,6 +91,7 @@ binary-common:
        dh_testroot
        dh_installdocs
        dh_installchangelogs 
+       dh_installman debian/ipmievd.8
        dh_link
        dh_strip
        dh_compress 
--- ipmitool-1.8.1/debian/ipmievd.8~    2005-04-27 15:17:29.357014424 +0200
+++ ipmitool-1.8.1/debian/ipmievd.8     2005-04-29 09:53:26.000000000 +0200
@@ -0,0 +1,38 @@
+.TH "ipmitevd" "8" "" "Duncan Laurie" ""
+.SH "NAME"
+.LP
+ipmievd \- IPMI event daemon
+.SH "SYNOPSIS"
+.LP
+\fBipmitool\fP [\fB-hvs\fP]
+.SH "DESCRIPTION"
+.LP
+\fBipmievd\fP is a daemon which will listen for events from the BMC that are 
being sent to the SEL and also log those messages to syslog.
+By default when run (as root) with no arguments it will daemonize and poll on 
the OpenIPMI device waiting for an event notification.
+Upon receipt of an event it will log it to syslog with the \fILOG_LOCAL4\fP 
facility.
+.SH "OPTIONS"
+.LP
+.TP
+\fB\-h\fR
+Get basic usage help from the command line.
+.TP
+\fB\-v\fR
+Increase verbose output level.
+This option may be specified multiple times to increase the level of debug 
output.
+.TP
+\fB-s\fR
+Do not daemonize.
+Without this option, \fBipmievd\fP will fork to become a background process.
+.SH "FILES"
+.TP
+.I /dev/ipmi0
+This character device file is used by the OpenIPMI kernel driver.
+.SH "AUTHOR"
+.LP
+Duncan Laurie <[EMAIL PROTECTED]>
+.SH "SEE ALSO"
+.LP
+.BR ipmitool (1)
+.TP
+IPMItool Homepage
+http://ipmitool.sourceforge.net

Reply via email to