Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package freeipmi for openSUSE:Factory checked in at 2022-01-29 21:01:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/freeipmi (Old) and /work/SRC/openSUSE:Factory/.freeipmi.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "freeipmi" Sat Jan 29 21:01:06 2022 rev:48 rq:949406 version:1.6.9 Changes: -------- --- /work/SRC/openSUSE:Factory/freeipmi/freeipmi.changes 2021-07-15 23:58:53.802225419 +0200 +++ /work/SRC/openSUSE:Factory/.freeipmi.new.1898/freeipmi.changes 2022-01-29 21:01:34.102881248 +0100 @@ -1,0 +2,11 @@ +Thu Jan 20 08:51:56 UTC 2022 - Klaus K??mpf <[email protected]> + +- freeipmi 1.6.9 + * Support --with-systemconfigdir build option. + * Fix build issue on musl where putmsg/getmsg are not available. + * Fix build issue when inb/outb are not available on some systems. + * Fix static build issues with gcrypt. + * Add conserver documentation in faq. + * Minor documentation updates. + +------------------------------------------------------------------- @@ -7,0 +19 @@ + @@ -8,0 +21,3 @@ + * Fix incorrect sensor read corner case on BMCs that use non-default LUNs (LP#1926299). + * Remove hard coded paths from system config files (i.e. mostly files + in /etc). Have paths updated based on options to configure. Old: ---- freeipmi-1.6.8.tar.gz New: ---- freeipmi-1.6.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ freeipmi.spec ++++++ --- /var/tmp/diff_new_pack.ZSpoCc/_old 2022-01-29 21:01:34.766876784 +0100 +++ /var/tmp/diff_new_pack.ZSpoCc/_new 2022-01-29 21:01:34.774876729 +0100 @@ -1,7 +1,7 @@ # # spec file for package freeipmi # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2003-2008 FreeIPMI Core Team # # All modifications and additions to the file contributed by third parties @@ -37,7 +37,7 @@ %{!?_initddir: %global _initddir %{_sysconfdir}/init.d} Name: freeipmi -Version: 1.6.8 +Version: 1.6.9 Release: %{release} URL: http://www.gnu.org/software/freeipmi/ Source0: http://ftp.gnu.org/gnu/freeipmi/%{name}-%{srcversion}.tar.gz ++++++ freeipmi-1.6.8.tar.gz -> freeipmi-1.6.9.tar.gz ++++++ ++++ 1763 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.8/ChangeLog new/freeipmi-1.6.9/ChangeLog --- old/freeipmi-1.6.8/ChangeLog 2021-05-20 05:45:05.000000000 +0200 +++ new/freeipmi-1.6.9/ChangeLog 2022-01-18 23:38:54.000000000 +0100 @@ -1,3 +1,31 @@ +2022-01-18 Fabrice Fontaine <[email protected]> + + * configure.ac: use pkg-config to find gcrypt + +2022-01-04 Fabrice Fontaine <[email protected]> + + * configure.ac, libfreeipmi/driver/ipmi-kcs-driver.c: Check for + inb and outb before using them. + +2022-01-04 Fabien Wernli + + * doc/freeipmi-faq.texi: Add conserver setup information. + +2021-11-01 Fabrice Fontaine <[email protected]> + + * libfreeipmi/driver/ipmi-sunbmc-driver.c: musl doesn't provide + getmsg or putmsg even if stropts.h is available. Do not compile + respective sections if get/putmsg are not available. + +2021-08-11 Robin Lee Powell <[email protected]> + + * libipmiconsole: Document getty/agetty issue with serial + keepalive + +2021-05-28 Albert Chu <[email protected]> + + * configure.ac: Support --with-systemconfigdir option. + 2021-05-29 Heather Lemon <[email protected]> * libfreeipmi/sensor-read/ipmi-sensor-read.c: (LP#1926299) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.8/NEWS new/freeipmi-1.6.9/NEWS --- old/freeipmi-1.6.8/NEWS 2021-05-20 05:52:56.000000000 +0200 +++ new/freeipmi-1.6.9/NEWS 2022-01-19 19:25:00.000000000 +0100 @@ -1,3 +1,12 @@ +FreeIPMI 1.6.9 - 01/19/22 +------------------------- +o Support --with-systemconfigdir build option. +o Fix build issue on musl where putmsg/getmsg are not available. +o Fix build issue when inb/outb are not available on some systems. +o Fix static build issues with gcrypt. +o Add conserver documentation in faq. +o Minor documentation updates. + FreeIPMI 1.6.8 - 05/19/21 ------------------------- o Fix incorrect sensor read corner case on BMCs that use non-default diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.8/config/config.h.in new/freeipmi-1.6.9/config/config.h.in --- old/freeipmi-1.6.8/config/config.h.in 2021-05-20 05:55:54.000000000 +0200 +++ new/freeipmi-1.6.9/config/config.h.in 2022-01-19 19:32:41.000000000 +0100 @@ -101,6 +101,9 @@ /* Define to 1 if you have the `getline' function. */ #undef HAVE_GETLINE +/* Define to 1 if you have the `getmsg' function. */ +#undef HAVE_GETMSG + /* Define to 1 if you have the <getopt.h> header file. */ #undef HAVE_GETOPT_H @@ -116,6 +119,9 @@ /* Define if you have hstrerror */ #undef HAVE_HSTRERROR +/* Define to 1 if you have the `inb' function. */ +#undef HAVE_INB + /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H @@ -161,6 +167,9 @@ /* Define to 1 if you have the <netdb.h> header file. */ #undef HAVE_NETDB_H +/* Define to 1 if you have the `outb' function. */ +#undef HAVE_OUTB + /* Define if you have POSIX threads libraries and header files. */ #undef HAVE_PTHREAD @@ -170,6 +179,9 @@ /* Define to 1 if you have putc_unlocked */ #undef HAVE_PUTC_UNLOCKED +/* Define to 1 if you have the `putmsg' function. */ +#undef HAVE_PUTMSG + /* Define to 1 if the system has the type `sighandler_t'. */ #undef HAVE_SIGHANDLER_T diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.8/configure.ac new/freeipmi-1.6.9/configure.ac --- old/freeipmi-1.6.8/configure.ac 2021-05-20 05:51:51.000000000 +0200 +++ new/freeipmi-1.6.9/configure.ac 2022-01-19 19:23:49.000000000 +0100 @@ -1,11 +1,11 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT([freeipmi],[1.6.8],[[email protected]]) +AC_INIT([freeipmi],[1.6.9],[[email protected]]) AC_REVISION([$Id: configure.ac,v 1.208 2010-08-06 21:02:29 chu11 Exp $]) AC_CONFIG_MACRO_DIR([config]) FREEIPMI_PACKAGE_VERSION_MAJOR=1 FREEIPMI_PACKAGE_VERSION_MINOR=6 -FREEIPMI_PACKAGE_VERSION_PATCH=8 +FREEIPMI_PACKAGE_VERSION_PATCH=9 AC_SUBST(FREEIPMI_PACKAGE_VERSION_MAJOR) AC_SUBST(FREEIPMI_PACKAGE_VERSION_MINOR) @@ -135,7 +135,7 @@ # release, then set age to 0. # LIBFREEIPMI_CURRENT=19 -LIBFREEIPMI_REVISION=7 +LIBFREEIPMI_REVISION=8 LIBFREEIPMI_AGE=2 LIBFREEIPMI_VERSION=$LIBFREEIPMI_CURRENT.$LIBFREEIPMI_REVISION.$LIBFREEIPMI_AGE @@ -405,7 +405,11 @@ dnl Checks for libraries. dnl don\'t include lib if LAN not desired if test x"${ac_with_encryption}" = xyes; then - AC_CHECK_LIB([gcrypt], [gcry_md_open], [have_gcrypt=yes], [have_gcrypt=no]) + PKG_CHECK_MODULES([GCRYPT], [libgcrypt], [have_gcrypt=yes], [ + AC_CHECK_LIB([gcrypt], [gcry_md_open], + [have_gcrypt=yes GCRYPT_LIBS=-lgcrypt], + [have_gcrypt=no]) + ]) if test "x${have_gcrypt}" = "xno"; then AC_MSG_ERROR([libgcrypt required to build libfreeipmi]) AC_MSG_NOTICE([Note: libgpg-error required for libgcrypt]) @@ -421,7 +425,6 @@ if test "x${have_gcrypt_threads}" = "xno"; then AC_MSG_ERROR([libgcrypt with threads support required for libfreeipmi]) fi - GCRYPT_LIBS=-lgcrypt fi AC_SUBST(GCRYPT_LIBS) @@ -476,9 +479,10 @@ AC_CHECK_FUNCS([getline getprogname]) AC_CHECK_FUNCS([strerror strerror_r]) AC_CHECK_FUNCS([flockfile fputs_unlocked fwrite_unlocked]) -AC_CHECK_FUNCS([iopl]) +AC_CHECK_FUNCS([inb iopl outb]) AC_CHECK_FUNCS([asprintf]) AC_CHECK_FUNCS([cbrt]) +AC_CHECK_FUNCS([getmsg putmsg]) dnl sighandler_t apparently not defined in Apple/OS X AC_CHECK_TYPES([sighandler_t], [], [], [[#include <signal.h>]]) @@ -769,4 +773,20 @@ AM_CONDITIONAL(WITH_PKG_CONFIG, test -n "${pkgconfigdir}") AC_SUBST(pkgconfigdir) +dnl Option for alternate system config dir + +AC_MSG_CHECKING(alternate system config dir) +AC_ARG_WITH(systemconfigdir, + AS_HELP_STRING([--with-systemconfigdir=PATH], + [where to install system config file]), + [SYSTEMCONFIGDIR="${withval}"], + []) +if test -n "${SYSTEMCONFIGDIR}"; then + AC_MSG_RESULT(using ${SYSTEMCONFIGDIR}) +else + AC_MSG_RESULT(no) + SYSTEMCONFIGDIR="${X_SYSCONFDIR}/sysconfig" +fi +AC_SUBST(SYSTEMCONFIGDIR) + AC_OUTPUT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.8/doc/freeipmi-faq.info new/freeipmi-1.6.9/doc/freeipmi-faq.info --- old/freeipmi-1.6.8/doc/freeipmi-faq.info 2021-05-20 05:55:55.000000000 +0200 +++ new/freeipmi-1.6.9/doc/freeipmi-faq.info 2022-01-19 19:32:44.000000000 +0100 @@ -1,8 +1,8 @@ This is freeipmi-faq.info, produced by makeinfo version 5.1 from freeipmi-faq.texi. -This manual is for FreeIPMI (version 1.6.8, 10 February 2021). -Copyright (C) 2006-2012 FreeIPMI Core Team +This manual is for FreeIPMI (version 1.6.9, 4 January 2022). Copyright +(C) 2006-2012 FreeIPMI Core Team Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, @@ -21,8 +21,8 @@ Frequently Asked Questions on *FreeIPMI* - This edition of the documentation was last updated on May 19, 2021 -for release 1.6.8 of the FreeIPMI. + This edition of the documentation was last updated on January 19, +2022 for release 1.6.9 of the FreeIPMI. * Menu: @@ -44,6 +44,7 @@ * SSIF Driver Configuration:: * How do you setup Powerman with ipmipower?:: * How do you setup Conman with ipmiconsole or libipmiconsole?:: +* How do you setup Conserver with libipmiconsole?:: * How do you setup Ganglia or Nagios to monitor IPMI sensors via FreeIPMI?:: * Why are times reported by FreeIPMI tools wrong?:: * Why is the IPMI kernel driver faster than the KCS driver?:: @@ -678,7 +679,7 @@ 'ipmipower-serial.dev' device file instead of 'ipmipower.dev'. -File: freeipmi-faq.info, Node: How do you setup Conman with ipmiconsole or libipmiconsole?, Next: How do you setup Ganglia or Nagios to monitor IPMI sensors via FreeIPMI?, Prev: How do you setup Powerman with ipmipower?, Up: Top +File: freeipmi-faq.info, Node: How do you setup Conman with ipmiconsole or libipmiconsole?, Next: How do you setup Conserver with libipmiconsole?, Prev: How do you setup Powerman with ipmipower?, Up: Top 18 How do you setup Conman with ipmiconsole or libipmiconsole? ============================================================== @@ -721,9 +722,37 @@ manage additional IPMI error cases. +File: freeipmi-faq.info, Node: How do you setup Conserver with libipmiconsole?, Next: How do you setup Ganglia or Nagios to monitor IPMI sensors via FreeIPMI?, Prev: How do you setup Conman with ipmiconsole or libipmiconsole?, Up: Top + +19 How do you setup Conserver with libipmiconsole? +================================================== + +You can find more details in the conserver.cf +(<https://www.conserver.com/docs/conserver.cf.man.html>) manpage. + + Here is an example configuration entry from the conserver.cf file +that should illustrate the basics: + + break 3 { string '"\d\z"'; delay 250; } + + default ipmisol { + break 3; + motd "Generic IPMI SOL. Use \"Ctrl+E c ?\" for help, \"Ctrl+E c l 0 <key>\" for SysRq, \"Return [ ?\" for ipmi sol help"; + username myusername; + type ipmi; + } + + console node42 { + include ipmisol; + master conserver.example.com; + password mypassword; + host node42.bmc.example.com; + } + + File: freeipmi-faq.info, Node: How do you setup Ganglia or Nagios to monitor IPMI sensors via FreeIPMI?, Next: Why are times reported by FreeIPMI tools wrong?, Prev: How do you setup Conman with ipmiconsole or libipmiconsole?, Up: Top -19 How do you setup Ganglia or Nagios to monitor IPMI sensors via FreeIPMI? +20 How do you setup Ganglia or Nagios to monitor IPMI sensors via FreeIPMI? =========================================================================== Scripts to monitor IPMI via FreeIPMI in Ganglia and Nagios have been @@ -734,7 +763,7 @@ File: freeipmi-faq.info, Node: Why are times reported by FreeIPMI tools wrong?, Next: Why is the IPMI kernel driver faster than the KCS driver?, Prev: How do you setup Ganglia or Nagios to monitor IPMI sensors via FreeIPMI?, Up: Top -20 Why are times reported by FreeIPMI tools wrong? +21 Why are times reported by FreeIPMI tools wrong? ================================================== Times reported by various FreeIPMI tools (such as 'ipmi-sel') are @@ -753,7 +782,7 @@ File: freeipmi-faq.info, Node: Why is the IPMI kernel driver faster than the KCS driver?, Next: Why is the output from FreeIPMI different than another software?, Prev: Why are times reported by FreeIPMI tools wrong?, Up: Top -21 Why is the IPMI kernel driver faster than the KCS driver? +22 Why is the IPMI kernel driver faster than the KCS driver? ============================================================ Internally the IPMI kernel driver chooses to spin while polling for a @@ -770,7 +799,7 @@ File: freeipmi-faq.info, Node: Why is the output from FreeIPMI different than another software?, Next: Why are there so many IPMI compliance bugs?, Prev: Why is the IPMI kernel driver faster than the KCS driver?, Up: Top -22 Why is the output from FreeIPMI different than another software? +23 Why is the output from FreeIPMI different than another software? =================================================================== Due to minor implementation differences and or incorrect IPMI firmware, @@ -871,7 +900,7 @@ File: freeipmi-faq.info, Node: Why are there so many IPMI compliance bugs?, Next: How do I get around an IPMI compliance bug on my motherboard?, Prev: Why is the output from FreeIPMI different than another software?, Up: Top -23 Why are there so many IPMI compliance bugs? +24 Why are there so many IPMI compliance bugs? ============================================== The IPMI specification is very large. At last check, the IPMI @@ -891,7 +920,7 @@ File: freeipmi-faq.info, Node: How do I get around an IPMI compliance bug on my motherboard?, Next: Why am I seeing so many 'internal IPMI error' or 'driver busy' messages?, Prev: Why are there so many IPMI compliance bugs?, Up: Top -24 How do I get around an IPMI compliance bug on my motherboard? +25 How do I get around an IPMI compliance bug on my motherboard? ================================================================ Most of the FreeIPMI tools and libraries have flags to workaround a @@ -906,7 +935,7 @@ File: freeipmi-faq.info, Node: Why am I seeing so many 'internal IPMI error' or 'driver busy' messages?, Next: How do I program with the FreeIPMI libraries?, Prev: How do I get around an IPMI compliance bug on my motherboard?, Up: Top -25 Why am I seeing so many 'internal IPMI error' or 'driver busy' messages? +26 Why am I seeing so many 'internal IPMI error' or 'driver busy' messages? =========================================================================== In some Linux distributions (atleast with Redhat Enterprise Linux 6.4 / @@ -964,7 +993,7 @@ File: freeipmi-faq.info, Node: How do I program with the FreeIPMI libraries?, Next: Where can I get additional help or support?, Prev: Why am I seeing so many 'internal IPMI error' or 'driver busy' messages?, Up: Top -26 How do I program with the FreeIPMI libraries? +27 How do I program with the FreeIPMI libraries? ================================================ If you are looking for a high level library to do Serial-over-LAN (SOL) @@ -990,7 +1019,7 @@ File: freeipmi-faq.info, Node: Where can I get additional help or support?, Prev: How do I program with the FreeIPMI libraries?, Up: Top -27 Where can I get additional help or support? +28 Where can I get additional help or support? ============================================== For help, please email the <[email protected]> mailing list. @@ -998,33 +1027,34 @@ Tag Table: -Node: Top690 -Node: What is IPMI?2244 -Node: What is FreeIPMI?3386 -Node: How did FreeIPMI start?3919 -Node: What operating systems does FreeIPMI run on?5284 -Node: FreeIPMI vs OpenIPMI vs Ipmitool vs Ipmiutil6036 -Node: What is special about FreeIPMI?6841 -Node: Does my system support IPMI?13898 -Node: How do I compile FreeIPMI?15891 -Node: libgcrypt requirement16252 -Node: x86-64 Compilation16891 -Node: Installing FreeIPMI on FreeBSD17575 -Node: What are some IPMI terminology or acronyms I should be aware of?18215 -Node: What setup is needed for FreeIPMI to communicate over LAN?21240 -Node: What setup is needed for Serial over LAN (SOL) or Ipmiconsole?21832 -Node: Do I need to install or configure a driver to perform IPMI inband?23736 -Node: SSIF Driver Configuration25449 -Node: How do you setup Powerman with ipmipower?27045 -Node: How do you setup Conman with ipmiconsole or libipmiconsole?30335 -Node: How do you setup Ganglia or Nagios to monitor IPMI sensors via FreeIPMI?32339 -Node: Why are times reported by FreeIPMI tools wrong?32980 -Node: Why is the IPMI kernel driver faster than the KCS driver?33966 -Node: Why is the output from FreeIPMI different than another software?34966 -Node: Why are there so many IPMI compliance bugs?40361 -Node: How do I get around an IPMI compliance bug on my motherboard?41459 -Node: Why am I seeing so many 'internal IPMI error' or 'driver busy' messages?42272 -Node: How do I program with the FreeIPMI libraries?45398 -Node: Where can I get additional help or support?46741 +Node: Top689 +Node: What is IPMI?2299 +Node: What is FreeIPMI?3441 +Node: How did FreeIPMI start?3974 +Node: What operating systems does FreeIPMI run on?5339 +Node: FreeIPMI vs OpenIPMI vs Ipmitool vs Ipmiutil6091 +Node: What is special about FreeIPMI?6896 +Node: Does my system support IPMI?13953 +Node: How do I compile FreeIPMI?15946 +Node: libgcrypt requirement16307 +Node: x86-64 Compilation16946 +Node: Installing FreeIPMI on FreeBSD17630 +Node: What are some IPMI terminology or acronyms I should be aware of?18270 +Node: What setup is needed for FreeIPMI to communicate over LAN?21295 +Node: What setup is needed for Serial over LAN (SOL) or Ipmiconsole?21887 +Node: Do I need to install or configure a driver to perform IPMI inband?23791 +Node: SSIF Driver Configuration25504 +Node: How do you setup Powerman with ipmipower?27100 +Node: How do you setup Conman with ipmiconsole or libipmiconsole?30390 +Node: How do you setup Conserver with libipmiconsole?32369 +Node: How do you setup Ganglia or Nagios to monitor IPMI sensors via FreeIPMI?33355 +Node: Why are times reported by FreeIPMI tools wrong?33996 +Node: Why is the IPMI kernel driver faster than the KCS driver?34982 +Node: Why is the output from FreeIPMI different than another software?35982 +Node: Why are there so many IPMI compliance bugs?41377 +Node: How do I get around an IPMI compliance bug on my motherboard?42475 +Node: Why am I seeing so many 'internal IPMI error' or 'driver busy' messages?43288 +Node: How do I program with the FreeIPMI libraries?46414 +Node: Where can I get additional help or support?47757 End Tag Table diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.8/doc/freeipmi-faq.texi new/freeipmi-1.6.9/doc/freeipmi-faq.texi --- old/freeipmi-1.6.8/doc/freeipmi-faq.texi 2021-02-10 20:21:50.000000000 +0100 +++ new/freeipmi-1.6.9/doc/freeipmi-faq.texi 2022-01-04 18:40:45.000000000 +0100 @@ -72,6 +72,7 @@ * SSIF Driver Configuration:: * How do you setup Powerman with ipmipower?:: * How do you setup Conman with ipmiconsole or libipmiconsole?:: +* How do you setup Conserver with libipmiconsole?:: * How do you setup Ganglia or Nagios to monitor IPMI sensors via FreeIPMI?:: * Why are times reported by FreeIPMI tools wrong?:: * Why is the IPMI kernel driver faster than the KCS driver?:: @@ -715,7 +716,7 @@ using the @file{ipmipower-serial.dev} device file instead of @file{ipmipower.dev}. -@node How do you setup Conman with ipmiconsole or libipmiconsole?, How do you setup Ganglia or Nagios to monitor IPMI sensors via FreeIPMI?, How do you setup Powerman with ipmipower?, Top +@node How do you setup Conman with ipmiconsole or libipmiconsole?, How do you setup Conserver with libipmiconsole?, How do you setup Powerman with ipmipower?, Top @section How do you setup Conman with ipmiconsole or libipmiconsole? There are additional details in the Conman @@ -762,6 +763,32 @@ libipmiconsole library natively is that Conman is able to detect and manage additional @acronym{IPMI} error cases. +@node How do you setup Conserver with libipmiconsole?, How do you setup Ganglia or Nagios to monitor IPMI sensors via FreeIPMI?, How do you setup Conman with ipmiconsole or libipmiconsole?, Top +@section How do you setup Conserver with libipmiconsole? + +You can find more details in the conserver.cf +(@uref{https://www.conserver.com/docs/conserver.cf.man.html}) manpage. + +Here is an example configuration entry from the conserver.cf file that should illustrate the basics: + +@example +break 3 @{ string '"\d\z"'; delay 250; @} + +default ipmisol @{ + break 3; + motd "Generic IPMI SOL. Use \"Ctrl+E c ?\" for help, \"Ctrl+E c l 0 <key>\" for SysRq, \"Return [ ?\" for ipmi sol help"; + username myusername; + type ipmi; +@} + +console node42 @{ + include ipmisol; + master conserver.example.com; + password mypassword; + host node42.bmc.example.com; +@} +@end example + @node How do you setup Ganglia or Nagios to monitor IPMI sensors via FreeIPMI?, Why are times reported by FreeIPMI tools wrong?, How do you setup Conman with ipmiconsole or libipmiconsole?, Top @section How do you setup Ganglia or Nagios to monitor IPMI sensors via FreeIPMI? diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.8/doc/stamp-vti new/freeipmi-1.6.9/doc/stamp-vti --- old/freeipmi-1.6.8/doc/stamp-vti 2021-05-20 05:55:07.000000000 +0200 +++ new/freeipmi-1.6.9/doc/stamp-vti 2022-01-19 19:31:49.000000000 +0100 @@ -1,4 +1,4 @@ -@set UPDATED 10 February 2021 -@set UPDATED-MONTH February 2021 -@set EDITION 1.6.8 -@set VERSION 1.6.8 +@set UPDATED 4 January 2022 +@set UPDATED-MONTH January 2022 +@set EDITION 1.6.9 +@set VERSION 1.6.9 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.8/doc/version-faq.texi new/freeipmi-1.6.9/doc/version-faq.texi --- old/freeipmi-1.6.8/doc/version-faq.texi 2021-05-20 05:55:07.000000000 +0200 +++ new/freeipmi-1.6.9/doc/version-faq.texi 2022-01-19 19:31:49.000000000 +0100 @@ -1,4 +1,4 @@ -@set UPDATED 10 February 2021 -@set UPDATED-MONTH February 2021 -@set EDITION 1.6.8 -@set VERSION 1.6.8 +@set UPDATED 4 January 2022 +@set UPDATED-MONTH January 2022 +@set EDITION 1.6.9 +@set VERSION 1.6.9 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.8/etc/Makefile.am new/freeipmi-1.6.9/etc/Makefile.am --- old/freeipmi-1.6.8/etc/Makefile.am 2021-02-10 20:21:50.000000000 +0100 +++ new/freeipmi-1.6.9/etc/Makefile.am 2021-05-29 17:58:41.000000000 +0200 @@ -37,8 +37,8 @@ $(INSTALL) -m 644 $(srcdir)/ipmiseld.service $(DESTDIR)$(systemdsystemunitdir)/ipmiseld.service install-sysconfig: - $(INSTALL) -m 755 -d $(DESTDIR)$(sysconfdir)/sysconfig - $(INSTALL) -m 444 $(srcdir)/bmc-watchdog.sysconfig $(DESTDIR)$(sysconfdir)/sysconfig/bmc-watchdog + $(INSTALL) -m 755 -d $(DESTDIR)@SYSTEMCONFIGDIR@ + $(INSTALL) -m 444 $(srcdir)/bmc-watchdog.sysconfig $(DESTDIR)@SYSTEMCONFIGDIR@/bmc-watchdog uninstall-local: $(UNINSTALL_DAEMON_SCRIPTS) $(RM) -f $(DESTDIR)$(sysconfdir)/sysconfig/bmc-watchdog diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.8/etc/bmc-watchdog.init.in new/freeipmi-1.6.9/etc/bmc-watchdog.init.in --- old/freeipmi-1.6.8/etc/bmc-watchdog.init.in 2021-03-28 05:52:25.000000000 +0200 +++ new/freeipmi-1.6.9/etc/bmc-watchdog.init.in 2021-05-29 17:58:41.000000000 +0200 @@ -16,7 +16,7 @@ DAEMON=@X_SBINDIR@/bmc-watchdog PIDFILE=@X_LOCALSTATEDIR@/run/bmc-watchdog.pid LOCKFILE=@X_LOCALSTATEDIR@/lock/subsys/bmc-watchdog -CONFFILE=@X_SYSCONFDIR@/sysconfig/bmc-watchdog +CONFFILE=@SYSTEMCONFIGDIR@/bmc-watchdog [ -f $DAEMON ] || exit 5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.8/etc/bmc-watchdog.service.in new/freeipmi-1.6.9/etc/bmc-watchdog.service.in --- old/freeipmi-1.6.8/etc/bmc-watchdog.service.in 2021-03-28 05:52:25.000000000 +0200 +++ new/freeipmi-1.6.9/etc/bmc-watchdog.service.in 2021-05-29 17:58:42.000000000 +0200 @@ -5,7 +5,7 @@ [Service] Type=forking PIDFile=/run/bmc-watchdog.pid -EnvironmentFile=-@X_SYSCONFDIR@/sysconfig/bmc-watchdog +EnvironmentFile=-@SYSTEMCONFIGDIR@/bmc-watchdog ExecStart=@X_SBINDIR@/bmc-watchdog $OPTIONS [Install] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.8/freeipmi.spec new/freeipmi-1.6.9/freeipmi.spec --- old/freeipmi-1.6.8/freeipmi.spec 2021-05-20 05:55:04.000000000 +0200 +++ new/freeipmi-1.6.9/freeipmi.spec 2022-01-19 19:31:45.000000000 +0100 @@ -3,7 +3,7 @@ # %define name freeipmi -%define version 1.6.8 +%define version 1.6.9 %if %{?_with_debug:1}%{!?_with_debug:0} %define release 1.debug%{?dist} %else @@ -75,12 +75,17 @@ %define _with_systemdsystemunitdir --with-systemdsystemunitdir=%{_unitdir} %endif +%if %{?_systemconfigdir:0}%{!?_systemconfigdir:1} + %define _systemconfigdir %{_sysconfdir}/sysconfig +%endif + %prep %setup -q %build %configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \ %{?_with_systemdsystemunitdir} \ + --with-systemconfigdir=%{_systemconfigdir} \ %{?_enable_debug} --disable-static CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} @@ -99,6 +104,7 @@ mv $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/ipmiseld $RPM_BUILD_ROOT/%{_initrddir}/ipmiseld fi %endif +mkdir -p $RPM_BUILD_ROOT/%{_systemconfigdir}/ rm -f %{buildroot}%{_infodir}/dir # kludge to get around rpmlint complaining about 0 length semephore file echo freeipmi > %{buildroot}%{_localstatedir}/lib/freeipmi/ipckey @@ -459,7 +465,7 @@ %else %config(noreplace) %{_initrddir}/bmc-watchdog %endif -%config(noreplace) %{_sysconfdir}/sysconfig/bmc-watchdog +%config(noreplace) %{_systemconfigdir}/bmc-watchdog %{_sbindir}/bmc-watchdog %{_mandir}/man8/bmc-watchdog.8* @@ -491,6 +497,9 @@ %dir %{_localstatedir}/cache/ipmiseld %changelog +* Wed May 28 2021 Albert Chu <[email protected]> 1.7.0 +- Add _systemconfigdir definition + * Wed Nov 4 2015 Albert Chu <[email protected]> 1.5.0 - Add systemd support. @@ -564,7 +573,7 @@ - Obsolete old subpackage freeipmi-ipmimonitoring. * Tue Dec 18 2007 Albert Chu <[email protected]> 0.6.0 -- Use %{version} instead of 1.6.8 for substitution in paths. +- Use %{version} instead of 1.6.9 for substitution in paths. * Fri Dec 14 2007 Albert Chu <[email protected]> 0.6.0 - Update packaging for libfreeipmi reorganization diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.8/freeipmi.spec.in new/freeipmi-1.6.9/freeipmi.spec.in --- old/freeipmi-1.6.8/freeipmi.spec.in 2021-05-20 05:45:05.000000000 +0200 +++ new/freeipmi-1.6.9/freeipmi.spec.in 2022-01-18 23:38:21.000000000 +0100 @@ -75,12 +75,17 @@ %define _with_systemdsystemunitdir --with-systemdsystemunitdir=%{_unitdir} %endif +%if %{?_systemconfigdir:0}%{!?_systemconfigdir:1} + %define _systemconfigdir %{_sysconfdir}/sysconfig +%endif + %prep %setup -q %build %configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \ %{?_with_systemdsystemunitdir} \ + --with-systemconfigdir=%{_systemconfigdir} \ %{?_enable_debug} --disable-static CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} @@ -99,6 +104,7 @@ mv $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/ipmiseld $RPM_BUILD_ROOT/%{_initrddir}/ipmiseld fi %endif +mkdir -p $RPM_BUILD_ROOT/%{_systemconfigdir}/ rm -f %{buildroot}%{_infodir}/dir # kludge to get around rpmlint complaining about 0 length semephore file echo freeipmi > %{buildroot}%{_localstatedir}/lib/freeipmi/ipckey @@ -459,7 +465,7 @@ %else %config(noreplace) %{_initrddir}/bmc-watchdog %endif -%config(noreplace) %{_sysconfdir}/sysconfig/bmc-watchdog +%config(noreplace) %{_systemconfigdir}/bmc-watchdog %{_sbindir}/bmc-watchdog %{_mandir}/man8/bmc-watchdog.8* @@ -491,6 +497,9 @@ %dir %{_localstatedir}/cache/ipmiseld %changelog +* Wed May 28 2021 Albert Chu <[email protected]> 1.7.0 +- Add _systemconfigdir definition + * Wed Nov 4 2015 Albert Chu <[email protected]> 1.5.0 - Add systemd support. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.8/libfreeipmi/driver/ipmi-kcs-driver.c new/freeipmi-1.6.9/libfreeipmi/driver/ipmi-kcs-driver.c --- old/freeipmi-1.6.8/libfreeipmi/driver/ipmi-kcs-driver.c 2021-02-10 20:21:50.000000000 +0100 +++ new/freeipmi-1.6.9/libfreeipmi/driver/ipmi-kcs-driver.c 2022-01-04 18:51:57.000000000 +0100 @@ -162,7 +162,7 @@ #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) # define _INB(port) inb (port) # define _OUTB(data, port) outb (port, data) -#elif defined(HAVE_IOPL) +#elif defined(HAVE_INB) && defined(HAVE_OUTB) # define _INB(port) inb (port) # define _OUTB(data, port) outb (data, port) #else diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.8/libfreeipmi/driver/ipmi-sunbmc-driver.c new/freeipmi-1.6.9/libfreeipmi/driver/ipmi-sunbmc-driver.c --- old/freeipmi-1.6.8/libfreeipmi/driver/ipmi-sunbmc-driver.c 2021-05-20 05:45:05.000000000 +0200 +++ new/freeipmi-1.6.9/libfreeipmi/driver/ipmi-sunbmc-driver.c 2022-01-18 23:38:21.000000000 +0100 @@ -419,7 +419,7 @@ assert (ctx->io_init); assert (ctx->putmsg_intf); -#if defined(HAVE_SYS_STROPTS_H) +#if defined(HAVE_SYS_STROPTS_H) && defined(HAVE_PUTMSG) memset (&sbuf, '\0', sizeof (struct strbuf)); /* Due to API differences, we need to extract the cmd out of the @@ -569,7 +569,7 @@ return (-1); } -#if defined(HAVE_SYS_STROPTS_H) +#if defined(HAVE_SYS_STROPTS_H) && defined(HAVE_GETMSG) if (getmsg (ctx->device_fd, NULL, &sbuf, &flags) < 0) { SUNBMC_ERRNO_TO_SUNBMC_ERRNUM (ctx, errno); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.8/libipmiconsole/ipmiconsole.h.in new/freeipmi-1.6.9/libipmiconsole/ipmiconsole.h.in --- old/freeipmi-1.6.8/libipmiconsole/ipmiconsole.h.in 2021-02-10 20:21:51.000000000 +0100 +++ new/freeipmi-1.6.9/libipmiconsole/ipmiconsole.h.in 2021-08-16 17:28:39.000000000 +0200 @@ -329,7 +329,9 @@ * high user interactivity, as this may discover broken connections * far more quickly. However, caution should be maintained, as the * NUL character byte may affect the remote system depending on what - * input it may or may not be expecting. + * input it may or may not be expecting. For example, a NUL character + * received by getty(8) and its descendants (such as agetty(8)) will + * cause a baud rate change, which may lock up the terminal. * * SERIAL_KEEPALIVE_EMPTY * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.8/man/ipmiconsole.8.pre.in new/freeipmi-1.6.9/man/ipmiconsole.8.pre.in --- old/freeipmi-1.6.8/man/ipmiconsole.8.pre.in 2021-02-10 20:21:52.000000000 +0100 +++ new/freeipmi-1.6.9/man/ipmiconsole.8.pre.in 2021-08-16 17:28:39.000000000 +0200 @@ -119,7 +119,12 @@ occasional NUL character, the underlying loss of serial data transfer can be detected far more quickly. There is some risk with this option, as the NUL character byte may affect the remote system depending on -what data it may or may not be expecting. +what data it may or may not be expecting. For example, +a NUL character received by +.B getty(8) +and its descendants (such as +.B agetty(8)) +will cause a baud rate change, which may lock up the terminal. .TP \fB\-\-serial\-keepalive\-empty\fR This option is identical to \fB\-\-serial\-keepalive\fR except that
