You can subscribe to this list here.
2005 |
Jan
|
Feb
(1) |
Mar
(45) |
Apr
(150) |
May
(145) |
Jun
(150) |
Jul
(79) |
Aug
(313) |
Sep
(160) |
Oct
(309) |
Nov
(115) |
Dec
(60) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(160) |
Feb
(144) |
Mar
(127) |
Apr
(48) |
May
(102) |
Jun
(54) |
Jul
(245) |
Aug
(94) |
Sep
(152) |
Oct
(162) |
Nov
(166) |
Dec
(740) |
2007 |
Jan
(752) |
Feb
(437) |
Mar
(328) |
Apr
(373) |
May
(569) |
Jun
(399) |
Jul
(369) |
Aug
(627) |
Sep
(100) |
Oct
(306) |
Nov
(166) |
Dec
(282) |
2008 |
Jan
(68) |
Feb
(145) |
Mar
(180) |
Apr
(160) |
May
(277) |
Jun
(229) |
Jul
(1188) |
Aug
(51) |
Sep
(97) |
Oct
(99) |
Nov
(95) |
Dec
(170) |
2009 |
Jan
(39) |
Feb
(73) |
Mar
(120) |
Apr
(121) |
May
(104) |
Jun
(262) |
Jul
(57) |
Aug
(171) |
Sep
(131) |
Oct
(88) |
Nov
(64) |
Dec
(83) |
2010 |
Jan
(55) |
Feb
(67) |
Mar
(124) |
Apr
(64) |
May
(130) |
Jun
(75) |
Jul
(164) |
Aug
(64) |
Sep
(44) |
Oct
(17) |
Nov
(43) |
Dec
(31) |
2011 |
Jan
(21) |
Feb
(10) |
Mar
(43) |
Apr
(46) |
May
(52) |
Jun
(71) |
Jul
(7) |
Aug
(16) |
Sep
(51) |
Oct
(14) |
Nov
(33) |
Dec
(15) |
2012 |
Jan
(12) |
Feb
(61) |
Mar
(129) |
Apr
(76) |
May
(70) |
Jun
(52) |
Jul
(29) |
Aug
(41) |
Sep
(32) |
Oct
(23) |
Nov
(38) |
Dec
(26) |
2013 |
Jan
(35) |
Feb
(37) |
Mar
(51) |
Apr
(15) |
May
(52) |
Jun
(15) |
Jul
(23) |
Aug
(21) |
Sep
(46) |
Oct
(69) |
Nov
(57) |
Dec
(26) |
2014 |
Jan
(5) |
Feb
(13) |
Mar
(17) |
Apr
(1) |
May
(5) |
Jun
|
Jul
(2) |
Aug
(2) |
Sep
(1) |
Oct
(16) |
Nov
(8) |
Dec
(4) |
2015 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
(4) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: Dave H. <hel...@us...> - 2014-10-22 21:29:16
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "cmpi-base - Base OS CMPI Providers". The branch, master has been updated via a9cf0b5d38e1bee8af79a807d8b362164c42518f (commit) from b6b9ee51390fccc5cbe3abd1ba0a8141a35c7453 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit a9cf0b5d38e1bee8af79a807d8b362164c42518f Author: Dave Heller <hel...@us...> Date: Wed Oct 22 17:28:49 2014 -0400 start of 1.6.4 ----------------------------------------------------------------------- Summary of changes: ChangeLog | 1668 +--------------------------------------------------------- NEWS | 6 + configure.ac | 2 +- 3 files changed, 9 insertions(+), 1667 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8baa177..45eae25 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,1667 +1,3 @@ -2014-10-24 Dave Heller <hel...@us...> - - * NEWS, OSBase_Common.c, OSBase_Common.h, OSBase_OperatingSystem.c, - OSBase_UnixProcess.c - - Fixed SBLIM-2737: datetime values do not adjust for DST - -2013-11-16 Dave Heller <hel...@us...> - - * NEWS, contributions.txt, OSBase_Common.c: - - Fixed SBLIM-2698: system name might have empty domainname - (patch by Klaus Kämpf) - -2013-06-11 Dave Heller <hel...@us...> - - * NEWS, contributions.txt, OSBase_UnixProcess.c: - - Fixed SBLIM-2644: wrong UserModeTime and KernelModeTime - (patch by Henning Sackewitz) - -2013-05-28 Dave Heller <hel...@us...> - - * NEWS, contributions.txt, OSBase_Processor.c: - - Fixed SBLIM-2634: incorrect max cpu frequency - (patch by Henning Sackewitz) - -2012-11-02 Tyrel Datwyler <ty...@us...> - - * NEWS, OSBase_UnixProcess.c: - - Fixed 3582069: Linux_UnixProcess command injection vulnerability - -2012-02-07 Tyrel Datwyler <ty...@us...> - - * Makefile.am, NEWS: - - Fixed 3424288: Underlinked libcmpiOSBase_ProcessorProvider.so - -2011-05-23 Tyrel Datwyler <ty...@us...> - - * NEWS, OSBase_OperatingSystem.c: - - Fixed 3306580: wrong OperatingSystem.Version prop value on RHEL6 - -2011-05-23 Tyrel Datwyler <ty...@us...> - - * NEWS, test/test-cmpi-base.sh: - - Fixed 3275169: bash error reported in provider bootstrap scripts - -2011-01-04 Tyrel Datwyler <ty...@us...> - - * ChangeLog, NEWS, configure.ac: - - Update release info for 1.6.1 - -2010-12-20 Tyrel Datwyler <ty...@us...> - - * NEWS, OSBase_Processor.c, OSBase_Processor.h, - cmpiOSBase_ProcessorProvider.c: - - Fixed 2610775: ProcessorProvider crashes on exit - -2010-12-20 Tyrel Datwyler <ty...@us...> - - * NEWS, OSBase_Common.c: - - Fixed 2836926: _osbase_common_init unreliable - -2010-01-21 Tyrel Datwyler <ty...@us...> - - * contributions.txt: - - Changed sfcb to sblim-cmpi-base in contributions file - -2009-12-15 Tyrel Datwyler <ty...@us...> - - * NEWS, cmpiOSBase_OperatingSystem.c: - - Fixed 2882514: leak in - sblim-cmpi-base-1.5.9/cmpiOSBase_OperatingSystem.c - -2009-08-25 Tyrel Datwyler <ty...@us...> - - * NEWS, OSBase_OperatingSystemStatisticalData.c, contributions.txt: - - Fixed 2843613: Missing fclose in sblim-cmpi-base (patch by - Michal Hrušecký) - -2009-07-24 Tyrel Datwyler <ty...@us...> - - * ChangeLog, NEWS, configure.ac: - - Updated for 1.6.0 release - -2009-07-24 Tyrel Datwyler <ty...@us...> - - * COPYING, Makefile.am, NEWS, OSBase_BaseBoard.c, - OSBase_BaseBoard.h, OSBase_Common.c, OSBase_Common.h, - OSBase_ComputerSystem.c, OSBase_ComputerSystem.h, - OSBase_OperatingSystem.c, OSBase_OperatingSystem.h, - OSBase_OperatingSystemStatisticalData.c, - OSBase_OperatingSystemStatisticalData.h, OSBase_Processor.c, - OSBase_Processor.h, OSBase_UnixProcess.c, OSBase_UnixProcess.h, - README, README.INDICATION, acinclude.m4, autoconfiscate.sh, - cmpiOSBase_BaseBoard.c, cmpiOSBase_BaseBoard.h, - cmpiOSBase_BaseBoardProvider.c, cmpiOSBase_CSBaseBoardProvider.c, - cmpiOSBase_CSProcessorProvider.c, cmpiOSBase_Common.c, - cmpiOSBase_Common.h, cmpiOSBase_ComputerSystem.c, - cmpiOSBase_ComputerSystem.h, cmpiOSBase_ComputerSystemProvider.c, - cmpiOSBase_OSProcessProvider.c, cmpiOSBase_OperatingSystem.c, - cmpiOSBase_OperatingSystem.h, cmpiOSBase_OperatingSystemProvider.c, - cmpiOSBase_OperatingSystemStatisticalData.c, - cmpiOSBase_OperatingSystemStatisticalData.h, - cmpiOSBase_OperatingSystemStatisticalDataProvider.c, - cmpiOSBase_OperatingSystemStatisticsProvider.c, - cmpiOSBase_Processor.c, cmpiOSBase_Processor.h, - cmpiOSBase_ProcessorProvider.c, cmpiOSBase_RunningOSProvider.c, - cmpiOSBase_UnixProcess.c, cmpiOSBase_UnixProcess.h, - cmpiOSBase_UnixProcessProvider.c, cmpiOSBase_Util.h, dmifind.h, - dmiinfo.c, dmiinfo.h, dmitest.c, mlogsup.c, mlogsup.h, - provider-register.sh, sblim-cmpi-base.rh.spec, - sblim-cmpi-base.spec.in, sysman.h, sysman_pid.c, - mof/Linux_Base.mof, mof/Linux_BaseIndication.mof: - - Fixed 2795176: migrate provider licenses to EPL - -2009-03-25 Tyrel Datwyler <ty...@us...> - - * README.INDICATION: - - wbemcat comes with sfcb, and wbemexec comes with Pegasus. - -2009-03-10 Tyrel Datwyler <ty...@us...> - - * NEWS, configure.ac: - - Add 1.5.9 release Labels - -2009-02-24 Tyrel Datwyler <ty...@us...> - - * Makefile.am, ChangeLog, NEWS: - - [ 2634178 ] Versioned libcmpiOSBase_OperatingSystemProvider - -2009-01-14 Tyrel Datwyler <ty...@us...> - - * cmpiOSBase_OperatingSystemProvider.c, ChangeLog, NEWS: - - [ 2508592 ] cmpi-base: add CMPIStatus to indication function return - -2008-12-10 Tyrel Datwyler <ty...@us...> - - * NEWS, configure.ac: - - Prep for release of version 1.5.8 - -2008-12-03 Tyrel Datwyler <ty...@us...> - - * cmpiOSBase_BaseBoardProvider.c: - - Fixed compile warning - -2008-12-03 Tyrel Datwyler <ty...@us...> - - * .cvsignore: - - Added .cvsignore file with list of build generated files that can - be ignored when processing a cvs ci/update/diff/... command - -2008-12-03 Tyrel Datwyler <ty...@us...> - - * ChangeLog, NEWS: - - [ 2384043 ] cmpi-base: incorrect process count - -2008-12-03 Tyrel Datwyler <ty...@us...> - - * OSBase_OperatingSystem.c: - - [ 2384043 ] cmpi-base: incorrect process count - -2008-11-17 Tyrel Datwyler <ty...@us...> - - * cmpiOSBase_OperatingSystemProvider.c, ChangeLog, NEWS: - - [ 2308219 ] cmpi-base: invokeMethod doesn't test parameter type - -2008-11-11 Tyrel Datwyler <ty...@us...> - - * ChangeLog: - - [1203827] update cmpi-base README.INDICATION for sfcb support - -2008-11-11 Tyrel Datwyler <ty...@us...> - - * ChangeLog, NEWS: - - 1203827 update cmpi-base README.INDICATION for sfcb support - -2008-11-11 Tyrel Datwyler <ty...@us...> - - * README.INDICATION, - test/indication/SFCBCreateFilter.localhost.xml, - test/indication/SFCBCreateHandler.localhost.xml, - test/indication/SFCBCreateSubscription.localhost.xml, - test/indication/SFCBDeleteFilter.localhost.xml, - test/indication/SFCBDeleteHandler.localhost.xml, - test/indication/SFCBDeleteSubscription.localhost.xml: - - [1203827] update cmpi-base README.INDICATION for sfcb support - -2008-10-22 Tyrel Datwyler <ty...@us...> - - * configure.ac: - - Updating version to 1.5.7 for release - -2008-10-20 Tyrel Datwyler <ty...@us...> - - * ChangeLog, NEWS: - - [2169940] Linux_Processor: reports wrong value for load percentage - -2008-10-20 Tyrel Datwyler <ty...@us...> - - * OSBase_Processor.c, OSBase_Processor.h: - - [2169940] Linux_Processor: reports wrong value for load percentage - -2008-09-22 Tyrel Datwyler <ty...@us...> - - * ChangeLog, NEWS, configure.ac: - - [ 2065946 ] OSBase ProcessorProvider crashes on some platforms - -2008-09-22 Tyrel Datwyler <ty...@us...> - - * OSBase_Processor.c, configure.ac: - - [ 2065946 ] OSBase ProcessorProvider crashes on some platforms - -2008-09-09 Tyrel Datwyler <ty...@us...> - - * ChangeLog, NEWS, OSBase_OperatingSystem.c, - OSBase_OperatingSystem.h, cmpiOSBase_OperatingSystem.c: - - [ 2093965 ] Linux_OperatingSystem fails to set some properties - -2008-09-09 Tyrel Datwyler <ty...@us...> - - * ChangeLog, NEWS, OSBase_OperatingSystem.c, - test/system/linux/Linux_OperatingSystem.version.sh: - - [ 2093799 ] cmpi-base: distro version script guesses wrong - -2008-09-04 Tyrel Datwyler <ty...@us...> - - * OSBase_Common.c, OSBase_Common.h, OSBase_ComputerSystem.c, - cmpiOSBase_Common.c, cmpiOSBase_ComputerSystem.c, - cmpiOSBase_OperatingSystem.c, - cmpiOSBase_OperatingSystemStatisticalData.c, - cmpiOSBase_Processor.c, cmpiOSBase_UnixProcess.c: - - [ 2089546 ] cmpi-base: CIM_OS_DISTRO should only be intialized once - * Original fix broke OSBase_Common API used by other packages - -2008-09-02 Tyrel Datwyler <ty...@us...> - - * ChangeLog, NEWS: - - [ 2089546 ] cmpi-base: CIM_OS_DISTRO should only be intialized once - -2008-09-02 Tyrel Datwyler <ty...@us...> - - * OSBase_Common.c, OSBase_Common.h, OSBase_ComputerSystem.c, - OSBase_OperatingSystem.c, OSBase_OperatingSystem.h, - cmpiOSBase_Common.c, cmpiOSBase_ComputerSystem.c, - cmpiOSBase_OperatingSystem.c, - cmpiOSBase_OperatingSystemStatisticalData.c, - cmpiOSBase_Processor.c, cmpiOSBase_UnixProcess.c: - - [ 2089546 ] cmpi-base: CIM_OS_DISTRO should only be intialized once - -2008-09-02 Tyrel Datwyler <ty...@us...> - - * ChangeLog, NEWS: - - 1883918 OperatingSystem provider segfaults on file not found - 2089383 cmpi-base: Shared library use of _init/_fini obsolete - -2008-09-02 Tyrel Datwyler <ty...@us...> - - * Makefile.am, OSBase_Common.c, OSBase_OperatingSystem.c: - - [ 2089383 ] cmpi-base: Shared library use of _init/_fini obsolete - -2008-09-02 Tyrel Datwyler <ty...@us...> - - * OSBase_OperatingSystem.c: - - [ 1883918 ] OperatingSystem provider segfaults on file not found - -2007-11-19 Chris Buccella <buc...@vn...> - - * mof/: Linux_Base.mof, Linux_BaseIndication.mof: - - updated URL for CPL (1833455) - -2007-11-19 Chris Buccella <buc...@vn...> - - * OSBase_BaseBoard.c, OSBase_BaseBoard.h, OSBase_Common.c, - OSBase_Common.h, OSBase_ComputerSystem.c, OSBase_ComputerSystem.h, - OSBase_OperatingSystem.c, OSBase_OperatingSystem.h, - OSBase_OperatingSystemStatisticalData.c, - OSBase_OperatingSystemStatisticalData.h, OSBase_Processor.c, - OSBase_Processor.h, OSBase_UnixProcess.c, OSBase_UnixProcess.h, - cmpiOSBase_BaseBoard.c, cmpiOSBase_BaseBoard.h, - cmpiOSBase_BaseBoardProvider.c, cmpiOSBase_CSBaseBoardProvider.c, - cmpiOSBase_CSProcessorProvider.c, cmpiOSBase_Common.c, - cmpiOSBase_Common.h, cmpiOSBase_ComputerSystem.c, - cmpiOSBase_ComputerSystem.h, cmpiOSBase_ComputerSystemProvider.c, - cmpiOSBase_OSProcessProvider.c, cmpiOSBase_OperatingSystem.c, - cmpiOSBase_OperatingSystem.h, cmpiOSBase_OperatingSystemProvider.c, - cmpiOSBase_OperatingSystemStatisticalData.c, - cmpiOSBase_OperatingSystemStatisticalData.h, - cmpiOSBase_OperatingSystemStatisticalDataProvider.c, - cmpiOSBase_OperatingSystemStatisticsProvider.c, - cmpiOSBase_Processor.c, cmpiOSBase_Processor.h, - cmpiOSBase_ProcessorProvider.c, cmpiOSBase_RunningOSProvider.c, - cmpiOSBase_UnixProcess.c, cmpiOSBase_UnixProcess.h, - cmpiOSBase_UnixProcessProvider.c, cmpiOSBase_Util.h, dmifind.h, - dmiinfo.c, dmiinfo.h, dmitest.c, mlogsup.c, mlogsup.h, sysman.h, - sysman_pid.c, README, README.INDICATION: - - updated URL for CPL (1833455) - -2007-11-16 Chris Buccella <buc...@vn...> - - * ChangeLog, NEWS, OSBase_OperatingSystem.c: - - fixed 1832839: OperatingSystem provider returns wrong max processes - -2007-02-01 Heidi Eckhart <hei...@de...> - - * NEWS, configure.ac: - - increased release number to 1.5.6 - -2007-01-04 Heidi Eckhart <hei...@de...> - - * ChangeLog, Makefile.am, NEWS, test/test-cmpi-base.sh, - test/cim/Linux_BaseBoard.cim, test/cim/Linux_CSBaseBoard.cim, - test/system/linux/Linux_BaseBoard.system, - test/system/linux/Linux_CSBaseBoard.system: - - [1626832] test cases for class Linux_BaseBoard and association - Linux_CSBaseBoard added - -2006-12-27 Sven Schuetz <sv...@de...> - - * test/indication/: PegasusDeleteFilter.localhost.xml, - PegasusDeleteHandler.localhost.xml: - - [ 1622694 ] Unsubscribe indication failed - -2006-12-11 Heidi Eckhart <hei...@de...> - - * configure.ac: - - updated version number - -2006-02-09 Viktor Mihajlovski <mih...@de...> - - * ChangeLog, Makefile.am, NEWS, acinclude.m4, configure.ac, - provider-register.sh: - - [ 1395363 ] Providers' postinstall step location dependent. Fixed - Makefile and updated autoconf/deployment files from cmpi-samples. - -2006-01-23 Lynn Moss <ly...@us...> - - * Makefile.am: - - bug#1406860 - sblim-cmpi-syslog doesnt compile - -2005-11-30 Viktor Mihajlovski <mih...@de...> - - * ChangeLog, NEWS: - - Changelog for 1368636. - -2005-11-30 Viktor Mihajlovski <mih...@de...> - - * OSBase_Common.c: - - [ 1368636 ] non-terminating loop in cmpi-base trace facility. - Fixed by removing trace call for get_os_timezone. - -2005-11-10 Viktor Mihajlovski <mih...@de...> - - * ChangeLog, Makefile.am, NEWS, README.tog-pegasus, - sblim-cmpi-base.rh.spec: - - Bugs fixed: 1353086. Enhanced RedHat RPM spec and added - documentation for tog-pegasus registration and deregistration. - -2005-11-10 Viktor Mihajlovski <mih...@de...> - - * cmpiOSBase_OperatingSystemProvider.c: - - Bugfix addendum for 1203849: was not testing with indication - support enabled. Done now. - -2005-11-09 Viktor Mihajlovski <mih...@de...> - - * ChangeLog, NEWS, OSBase_Processor.c, cmpiOSBase_Processor.c: - - Bugs fixed: 1331750. Clock speeds for S390 were useless - removed. - -2005-11-09 Viktor Mihajlovski <mih...@de...> - - * ChangeLog, NEWS, cmpiOSBase_BaseBoard.c, cmpiOSBase_BaseBoard.h, - cmpiOSBase_BaseBoardProvider.c, cmpiOSBase_CSBaseBoardProvider.c, - cmpiOSBase_CSProcessorProvider.c, cmpiOSBase_Common.c, - cmpiOSBase_Common.h, cmpiOSBase_ComputerSystem.c, - cmpiOSBase_ComputerSystem.h, cmpiOSBase_ComputerSystemProvider.c, - cmpiOSBase_OSProcessProvider.c, cmpiOSBase_OperatingSystem.c, - cmpiOSBase_OperatingSystem.h, cmpiOSBase_OperatingSystemProvider.c, - cmpiOSBase_OperatingSystemStatisticalData.c, - cmpiOSBase_OperatingSystemStatisticalData.h, - cmpiOSBase_OperatingSystemStatisticalDataProvider.c, - cmpiOSBase_OperatingSystemStatisticsProvider.c, - cmpiOSBase_Processor.c, cmpiOSBase_Processor.h, - cmpiOSBase_ProcessorProvider.c, cmpiOSBase_RunningOSProvider.c, - cmpiOSBase_UnixProcess.c, cmpiOSBase_UnixProcess.h, - cmpiOSBase_UnixProcessProvider.c, configure.ac: - - Bugs fixed: 1199129, 1203849. Enhanced compatibility with CMPI - 1.0.0, removed compile warnings. - -2005-11-09 Viktor Mihajlovski <mih...@de...> - - * ChangeLog, NEWS, OSBase_OperatingSystem.c: - - Bugs fixed: 1328703. The LSB version is only displayed if no other - version information can be found. - -2005-11-09 Viktor Mihajlovski <mih...@de...> - - * OSBase_Common.c: - - Fix for 1131521076 checkin. Timezone was returned in seconds not - minutes. - -2005-11-09 Viktor Mihajlovski <mih...@de...> - - * ChangeLog, NEWS, OSBase_Common.c, OSBase_OperatingSystem.c: - - Bugs fixed: 1331755. Timezone wrong on zSeries. - -2005-11-08 Viktor Mihajlovski <mih...@de...> - - * ChangeLog, NEWS: - - Reflect bugfix updates. - -2005-11-08 Viktor Mihajlovski <mih...@de...> - - * OSBase_Processor.c: - - Bugs fixed: 1228864. - -2005-10-28 Viktor Mihajlovski <mih...@de...> - - * sblim-cmpi-base.rh.spec, sblim-cmpi-base.spec.in: - - RPM Specfile minor cleanup. - -2005-10-19 Viktor Mihajlovski <mih...@de...> - - * ChangeLog, Makefile.am, configure.ac, sblim-cmpi-base.rh.spec, - sblim-cmpi-base.spec.in: - - New RH/Fedora Spec file added. - -2005-09-09 Viktor Mihajlovski <mih...@de...> - - * ChangeLog, NEWS: - - ChangeLog/NEWS update. - -2005-09-09 Viktor Mihajlovski <mih...@de...> - - * configure.ac, provider-register.sh: - - Bugs: 1285011, 1285324. Copied over from cmpi-samples. - -2005-09-06 Viktor Mihajlovski <mih...@de...> - - * ChangeLog, NEWS: - - Updated ChangeLog and NEWS. - -2005-09-06 Viktor Mihajlovski <mih...@de...> - - * provider-register.sh: - - Bugs fixed: 1246886. Updated provider-register.sh. - -2005-08-18 Tyrel Datwyler <ty...@us...> - - * provider-register.sh: - - Removed "-" improperly being prefixed to pathnames that are passed - to the basename command. - -2005-07-28 Viktor Mihajlovski <mih...@de...> - - * ChangeLog, NEWS, configure.ac, dmiinfo.c, - sblim-cmpi-base.spec.in: - - Bugs fixed: 1236584, 1246639. RPM Build Enhancements. Removed - debug output. - -2005-07-27 Viktor Mihajlovski <mih...@de...> - - * Makefile.am, sblim-cmpi-base.spec.in: - - RPM build makeup to address some of rpmlint's complaints. - -2005-07-26 Viktor Mihajlovski <mih...@de...> - - * configure.ac, sblim-cmpi-base.spec.in: - - Update spec file for rpmlint compliance. - -2005-07-14 Viktor Mihajlovski <mih...@de...> - - * Makefile.am, test/test-cmpi-base.sh, - test/system/linux/Linux_OperatingSystemStatisticalData.system, - test/system/linux/Linux_OperatingSystemStatistics.system: - - Bugs fixed: 1236584. Added new test files for statistical data, - fixed test script non-local invokation. - -2005-07-12 Viktor Mihajlovski <mih...@de...> - - * ChangeLog, NEWS, configure.ac, provider-register.sh, - sblim-cmpi-base.spec.in, test/test-cmpi-base.sh: - - Bugs fixed: 1236584. Mostly enhanced compatibility with tog-pegasus - RPM. - -2005-06-20 Viktor Mihajlovski <mih...@de...> - - * ChangeLog, NEWS, OSBase_Common.c: - - Bugs fixed: 1222571 Segmentation Fault on long process command - lines. - -2005-06-07 Viktor Mihajlovski <mih...@de...> - - * configure.ac: - - Increased version number. - -2005-06-07 Viktor Mihajlovski <mih...@de...> - - * ChangeLog, NEWS, README.INDICATION, cmpiOSBase_OperatingSystem.c, - provider-register.sh, mof/Linux_BaseIndication.registration, - test/system/linux/Linux_OperatingSystem.system: - - Bugs fixed: 1214090 Provider Deregistration. 1214092 CPU - Percentage Calculation. - -2005-05-31 Viktor Mihajlovski <mih...@de...> - - * AUTHORS, ChangeLog, NEWS, OSBase_OperatingSystem.c, - OSBase_UnixProcess.c, README, configure.ac, - test/system/linux/Linux_OperatingSystem.version.sh: - - Bugs fixed: 1211913 UnixProcess data extraction and formatting. - 1198184 implemented Ferenc Szalai's suggestion for release - determination. - -2005-05-17 Gareth Bestor <be...@us...> - - * cmpiOSBase_OperatingSystemProvider.c: - - fixed spelling of IND_BEHAVIOUR_LEVEL_EDGE - -2005-05-12 Viktor Mihajlovski <mih...@de...> - - * ChangeLog, NEWS, OSBase_OperatingSystem.c, acinclude.m4, - provider-register.sh: - - Bugs fixed: 1183805 1198184. Fixed release determination code. - Added support for OpenWBEM provider registration. - -2005-05-11 Viktor Mihajlovski <mih...@de...> - - * ChangeLog, NEWS, cmpiOSBase_OperatingSystemProvider.c: - - Fixed bugs: 1199449. Adapted to new indication_helper signature. - -2005-05-11 Viktor Mihajlovski <mih...@de...> - - * ChangeLog, NEWS, configure.ac: - - Bugs fixed: 1199129. Now compiles with cmpi-devel 1.0.0. - -2005-04-28 Viktor Mihajlovski <mih...@de...> - - * provider-register.sh, sblim-cmpi-base.spec.in: - - Bug 1191544: Added CIMOM autodetection to provider-register.sh and - changed spec to be CIMOM agnostic. - -2005-04-27 Viktor Mihajlovski <mih...@de...> - - * provider-register.sh: - - Bug 1190981: support for $PEGASUS_HOME/bin added. - -2005-04-27 Viktor Mihajlovski <mih...@de...> - - * sblim-cmpi-base.spec.in: - - Changed buildroot to allow concurrent RPM builds of different - packages. - -2005-04-27 Viktor Mihajlovski <mih...@de...> - - * acinclude.m4: - - Upgrade to current acinclude.m4. - -2005-04-27 Viktor Mihajlovski <mih...@de...> - - * provider-register.sh: - - Esthetical fix: remove one blank from the usage line. - -2005-04-26 Viktor Mihajlovski <mih...@de...> - - * mof/: Linux_Base.sfcb.reg, Linux_BaseIndication.sfcb.reg, - Linux_BaseIndicationReg.mof, Linux_BaseRegistration.mof: - - Bug 1183788: removed legacy registration files. - -2005-04-26 Viktor Mihajlovski <mih...@de...> - - * Makefile.am, provider-register.sh, sblim-cmpi-base.spec.in, - mof/Linux_Base.registration, mof/Linux_BaseIndication.registration: - - Bug 1183788: added comments to registration file syntax and made - the multi-registration file syntax more Makefile-friendly. - -2005-04-25 Viktor Mihajlovski <mih...@de...> - - * Makefile.am, provider-register.sh, sblim-cmpi-base.spec.in, - mof/Linux_Base.registration, mof/Linux_Base.sfcb.reg, - mof/Linux_BaseIndication.registration: - - Bug 1183788: Added support for deinstallation/deregistration of - providers. Both for Makefile and RPM installs. - -2005-04-20 Heidi Eckhart <hei...@de...> - - * AUTHORS, ChangeLog, Makefile.am, - OSBase_OperatingSystemStatisticalData.c, - OSBase_OperatingSystemStatisticalData.h, README, - cmpiOSBase_ComputerSystemProvider.c, - cmpiOSBase_OperatingSystemStatisticalData.c, - cmpiOSBase_OperatingSystemStatisticalData.h, - cmpiOSBase_OperatingSystemStatisticalDataProvider.c, - cmpiOSBase_OperatingSystemStatisticsProvider.c, configure.ac, - mof/Linux_Base.mof, mof/Linux_Base.sfcb.reg, - mof/Linux_BaseRegistration.mof, test/test-cmpi-base.sh, - test/cim/Linux_OperatingSystemStatisticalData.cim, - test/cim/Linux_OperatingSystemStatistics.cim: - - feature request# 1186592: support for OS statistical information - added ... contribution by Michael Schuele :) ... thx - -2005-04-15 Viktor Mihajlovski <mih...@de...> - - * README: - - README correction. - -2005-04-15 Viktor Mihajlovski <mih...@de...> - - * Makefile.am: - - Bug 1179465: Fixed distribution list for test files. - -2005-04-14 Viktor Mihajlovski <mih...@de...> - - * acinclude.m4: - - Bug 1182583: set have_CMPI to no if no headers found. - -2005-04-14 Heidi Eckhart <hei...@de...> - - * ChangeLog, cmpiOSBase_OperatingSystem.c, - cmpiOSBase_OperatingSystemProvider.c: - - bug# 1183083: fixed the problem, that only the first indication of - the monitored OS OperationalStatus property was delivered - -2005-04-13 Heidi Eckhart <hei...@de...> - - * cmpiOSBase_OperatingSystem.c: - - minor updates to retrieve the value of OperationalStatus - -2005-04-13 Viktor Mihajlovski <mih...@de...> - - * Makefile.am, README.TEST, acinclude.m4, configure.ac, - sblim-cmpi-base.spec.in, test/README, test/makefile: - - Bug 1179465: Added testsuite support to the automake build. This - included additional check macros in acinclude.m4 (phew). Further - the RPM specs had to be adapted. - -2005-04-12 Heidi Eckhart <hei...@de...> - - * ChangeLog, test/indication/PegasusCreateFilter.localhost.xml: - - bug# 1181317: fixed sample indication filter in test/indication - directory. Filter was still for old Linux_OperatingSystemIndication - class, but should be for CIM_InstModification - -2005-04-11 Viktor Mihajlovski <mih...@de...> - - * acinclude.m4: - - Bug 1179453: CPPFLAGS was overwritten, if indication helper in - standard place. - -2005-04-11 Viktor Mihajlovski <mih...@de...> - - * Makefile.am, acinclude.m4: - - Bug 1174684: Replaced sfcBroker by sfcbd. Further, added - cmpiOSBase_Common to the list of exported headers. - -2005-04-08 Viktor Mihajlovski <mih...@de...> - - * configure.ac: - - Version 1.4.3. - -2005-04-08 Viktor Mihajlovski <mih...@de...> - - * acinclude.m4, configure.ac: - - Bug 1177872: addendum, now search in includedir/sblim for the - indication helper header. - -2005-04-08 Heidi Eckhart <hei...@de...> - - * ChangeLog, OSBase_BaseBoard.c: - - bug# 1179049: switched value of Vendor and Model on PPC; fixed - SerialNumber from 9 digits to 7 valid digits - -2005-04-07 Heidi Eckhart <hei...@de...> - - * cmpiOSBase_OperatingSystemProvider.c: - - Bug 1178575: fixed seg fault of IndicationCleanup() - -2005-04-07 Heidi Eckhart <hei...@de...> - - * README: - - fixed configure sample for locally installed openPegasus - -2005-04-06 Viktor Mihajlovski <mih...@de...> - - * README: - - Adapted build instructions to new build process. - -2005-04-06 Viktor Mihajlovski <mih...@de...> - - * AUTHORS, CHANGE.LOG, COPYING, ChangeLog, Makefile.am, NEWS, - acinclude.m4, autoconfiscate.sh, configure.ac, license.html, - makefile, platform.sh, provider-register.sh, - sblim-cmpi-base.spec.in, setting.cmpi, mof/Linux_Base.sfcb.reg, - mof/Linux_BaseIndication.sfcb.reg, mof/makefile.pegasus, - mof/makefile.standalone: - - Bug 1177872: Autoconfiscate the cmpi-base package. - -2005-04-06 Heidi Eckhart <hei...@de...> - - * CHANGE.LOG, README.INDICATION, cmpiOSBase_OperatingSystem.c, - cmpiOSBase_OperatingSystemProvider.c, - mof/Linux_BaseIndicationReg.mof: - - ported OperatingSystem'S process indication of OperationalStatus to - become a life-cycle indication - -2005-04-06 Heidi Eckhart <hei...@de...> - - * CHANGE.LOG, OSBase_Common.c: - - restructured init process for SBLIM tracing into a file - -2005-03-17 Heidi Eckhart <hei...@de...> - - * CHANGE.LOG, README.INDICATION, mof/Linux_Base.mof, - mof/Linux_BaseIndication.mof, mof/Linux_BaseIndicationReg.mof, - mof/Linux_BaseRegistration.mof, mof/makefile.pegasus, - test/indication/PegasusCreateFilter.localhost.xml, - test/indication/PegasusCreateHandler.localhost.xml, - test/indication/PegasusCreateSubscription.localhost.xml, - test/indication/PegasusDeleteFilter.localhost.xml, - test/indication/PegasusDeleteHandler.localhost.xml, - test/indication/PegasusDeleteSubscription.localhost.xml: - - added sample subscripion to test/indication directory (for - openPegasus); updated README.INDICATION with better description and - sample - -2005-03-07 Heidi Eckhart <hei...@de...> - - * CHANGE.LOG: - - fixed bug# 1155823 and bug# 1155834 - -2005-03-03 Heidi Eckhart <hei...@de...> - - * OSBase_OperatingSystem.c: - - fixed bug# 1155834: InstallDate on Fedora was not set - -2005-03-03 Heidi Eckhart <hei...@de...> - - * OSBase_OperatingSystem.c: - - fixed bug# 1155823: wrong values for TotalVirtualMemorySize, - FreeVirtualMemory, TotalVisibleMemorySize, FreePhysicalMemory, - SizeStoredInPagingFiles and FreeSpaceInPagingFiles for kernel 2.6 - reported - -2005-03-02 Heidi Eckhart <hei...@de...> - - * CHANGE.LOG, OSBase_ComputerSystem.c: - - fixed retrieval of LPARID on Power - -2005-03-01 Heidi Eckhart <hei...@de...> - - * CHANGE.LOG: - - removed invalid entry - -2005-02-23 Heidi Eckhart <hei...@de...> - - * OSBase_Common.c: - - fixed possible memory leaks found by a software analysis tool - -2005-02-03 Heidi Eckhart <hei...@de...> - - * CHANGE.LOG, README, README.INDICATION, - cmpiOSBase_OperatingSystem.c, cmpiOSBase_OperatingSystem.h, - cmpiOSBase_OperatingSystemProvider.c, makefile, mof/Linux_Base.mof, - mof/Linux_BaseRegistration.mof: - - implemented Indication support in provider - cmpiOSBase_OperatingSystemProvider for class - Linux_OperatingSystemIndication -> monitored property is - OperationalStatus - -2005-01-24 Heidi Eckhart <hei...@de...> - - * OSBase_UnixProcess.c: - - fixed segfault when checking for newline - -2005-01-24 Heidi Eckhart <hei...@de...> - - * makefile: - - fixed makefile to install dmilib and header file for inclusion in - cmpi-smbios - -2005-01-24 Heidi Eckhart <hei...@de...> - - * CHANGE.LOG, OSBase_BaseBoard.c, OSBase_BaseBoard.h, - OSBase_Common.c, OSBase_Common.h, OSBase_ComputerSystem.c, - OSBase_ComputerSystem.h, README, cmpiOSBase_BaseBoard.c, - cmpiOSBase_BaseBoard.h, cmpiOSBase_BaseBoardProvider.c, - cmpiOSBase_CSBaseBoardProvider.c, cmpiOSBase_ComputerSystem.c, - cmpiOSBase_OperatingSystemProvider.c, dmifind.h, dmiinfo.c, - dmiinfo.h, dmitest.c, makefile, mof/Linux_Base.mof, - mof/Linux_BaseRegistration.mof: - - moved dmi* files from cmpi-smbios package here - contains support - for accessing SMBIOS data on x86 machines - needed for - Linux_BaseBoard class; added class Linux_BaseBoard and - Linux_CSBaseBoard - -2005-01-04 Heidi Eckhart <hei...@de...> - - * cmpiOSBase_OperatingSystem.c, - cmpiOSBase_OperatingSystemProvider.c: - - implemented reboot and shutdown - -2004-09-20 Heidi Eckhart <hei...@de...> - - * CHANGE.LOG, cmpiOSBase_ComputerSystem.c, - cmpiOSBase_ComputerSystem.h, cmpiOSBase_ComputerSystemProvider.c, - cmpiOSBase_OperatingSystem.c, cmpiOSBase_OperatingSystem.h, - cmpiOSBase_OperatingSystemProvider.c, cmpiOSBase_Processor.c, - cmpiOSBase_Processor.h, cmpiOSBase_ProcessorProvider.c, - cmpiOSBase_UnixProcess.c, cmpiOSBase_UnixProcess.h, - cmpiOSBase_UnixProcessProvider.c: - - support for property list filter on EnumInstances and GetInstance - -2004-09-16 Heidi Eckhart <hei...@de...> - - * cmpiOSBase_Common.c: - - fixed algorith check_parameter_const -> did not check if - association is responsible for incoming object path, which forced - unnecessary getInstance calls - -2004-09-16 Heidi Eckhart <hei...@de...> - - * OSBase_OperatingSystem.c: - - fixed DefaultPageSize -> replaced usage of outdated function - -2004-08-19 Heidi Eckhart <hei...@de...> - - * README: - - updated build instructions for CMPI enabled CIMOM - -2004-05-17 Heidi Eckhart <hei...@de...> - - * test/system/linux/createKeyFiles.sh: - - return result of dnsdomainname is checked for value - -2004-05-07 Heidi Eckhart <hei...@de...> - - * test/system/linux/Linux_Processor.pl: - - fixed data gathering for S390; processor instances have been - retrieved in wrong format - -2004-04-20 Heidi Eckhart <hei...@de...> - - * CHANGE.LOG: - - added latest changes - -2004-04-14 Heidi Eckhart <hei...@de...> - - * test/: makefile, test-cmpi-base.sh: - - prepared test-cmpi-base.sh for user and password authentication - capability of testsuite; updated makefile for automated function - verification testing - -2004-04-02 Heidi Eckhart <hei...@de...> - - * CHANGE.LOG, OSBase_Processor.c, platform.sh: - - Processor provider ported to support X86_64 and GENERIC hardware - platform - -2004-03-29 Heidi Eckhart <hei...@de...> - - * test/system/linux/: Linux_OperatingSystem.system, - Linux_OperatingSystem.version.sh: - - fixed algorithm to test Version / ElementName value - -2004-03-29 Heidi Eckhart <hei...@de...> - - * CHANGE.LOG, OSBase_OperatingSystem.c, setting.cmpi, - test/system/linux/Linux_OperatingSystem.system: - - fixed algorithm to retrieve the OperatingSystem's Version; updated - path to CMPI header files in Pegasus - -2004-03-25 Viktor Mihajlovski <mih...@de...> - - * platform.sh: - - Fixed platform.sh. - -2004-03-24 Viktor Mihajlovski <mih...@de...> - - * makefile: - - Added fPic to the CFLAGS in order to support PPC. - -2004-03-23 Viktor Mihajlovski <mih...@de...> - - * test/makefile: - - Fixed screwed up makefile. - -2004-03-23 Viktor Mihajlovski <mih...@de...> - - * mlogsup.c, test/makefile: - - Added mutex initializer. - -2004-03-23 Heidi Eckhart <hei...@de...> - - * README, makefile, setting.cmpi, mof/makefile.cmpi, - mof/makefile.standalone, test/README: - - prepared build process for rpm packaging - -2004-02-24 Heidi Eckhart <hei...@de...> - - * setting.cmpi: - - switched from PEGASUS_HOME to PEGASUS_ROOT environment variable - -2004-02-18 Viktor Mihajlovski <mih...@de...> - - * mof/makefile.standalone: - - New MOF makefile for standalone processing. - -2004-02-18 Viktor Mihajlovski <mih...@de...> - - * CHANGE.LOG: - - [no log message] - -2004-02-18 Viktor Mihajlovski <mih...@de...> - - * makefile, setting.cmpi: - - Added new build type for standalone RPM packaging. - -2004-02-02 Heidi Eckhart <hei...@de...> - - * cmpiOSBase_Common.h: - - prepared C++ environment - -2004-02-02 Heidi Eckhart <hei...@de...> - - * OSBase_OperatingSystem.c, mof/Linux_Base.mof: - - updated description of property CodeSet; fixed memory bug - -2004-01-29 Heidi Eckhart <hei...@de...> - - * OSBase_OperatingSystem.c, setting.cmpi: - - fixed gathering of value for LanguageEdition - -2004-01-28 Heidi Eckhart <hei...@de...> - - * OSBase_OperatingSystem.c: - - get CodeSet information out of ml_langinfo() now - -2004-01-28 Heidi Eckhart <hei...@de...> - - * mof/Linux_Base.mof: - - updated OperatingSystem.CodeSet definition - -2004-01-28 Heidi Eckhart <hei...@de...> - - * OSBase_OperatingSystem.c: - - get CodeSet informationout of nl_langinfo() now - -2004-01-26 Heidi Eckhart <hei...@de...> - - * CHANGE.LOG, OSBase_OperatingSystem.c, OSBase_OperatingSystem.h, - cmpiOSBase_OperatingSystem.c, makefile, setting.cmpi, - mof/Linux_Base.mof: - - added new properties to OperatingSystem : CodeSet, LanguageEdition, - DefaultPageSize - -2003-12-04 Heidi Eckhart <hei...@de...> - - * setting.cmpi: - - default set to Pegasus - -2003-12-04 Heidi Eckhart <hei...@de...> - - * OSBase_Common.c, OSBase_OperatingSystem.c, - cmpiOSBase_CSProcessorProvider.c, cmpiOSBase_OSProcessProvider.c, - cmpiOSBase_RunningOSProvider.c, setting.cmpi, test/makefile: - - enhanced error handling; returns now human readable error messages - -2003-12-03 Heidi Eckhart <hei...@de...> - - * cmpiOSBase_Common.c: - - fixed behavior of generic assocition provider : did not validated - the source object before - -2003-12-03 Heidi Eckhart <hei...@de...> - - * cmpiOSBase_ComputerSystem.h, cmpiOSBase_OperatingSystem.h, - cmpiOSBase_Processor.h, cmpiOSBase_UnixProcess.h, - cmpiOSBase_Util.h, makefile: - - the util header file is offered to provider writes, who want to - access and use certain class / provider specific tool functions, - e.g. building an object path of a Linux_UnixProcess instance - -2003-11-11 Heidi Eckhart <hei...@de...> - - * OSBase_Common.c, OSBase_ComputerSystem.c, - OSBase_OperatingSystem.c, OSBase_Processor.c, OSBase_UnixProcess.c, - cmpiOSBase_Common.c, cmpiOSBase_ComputerSystem.c, - cmpiOSBase_OperatingSystem.c, cmpiOSBase_OperatingSystemProvider.c, - cmpiOSBase_Processor.c, cmpiOSBase_UnixProcess.c, - cmpiOSBase_UnixProcessProvider.c: - - enhanced error checking and handling - -2003-11-11 Heidi Eckhart <hei...@de...> - - * cmpiOSBase_ComputerSystem.c, cmpiOSBase_OperatingSystem.c: - - fixed error checking and handling - -2003-11-11 Heidi Eckhart <hei...@de...> - - * cmpiOSBase_OperatingSystemProvider.c: - - fiexed return code of method execCmd - -2003-11-11 Heidi Eckhart <hei...@de...> - - * cmpiOSBase_ComputerSystem.c: - - added return code check to creation of array - -2003-11-05 Heidi Eckhart <hei...@de...> - - * functiontest.sh: - - removed old test script - -2003-11-03 Heidi Eckhart <hei...@de...> - - * semantictest_OSBaseStage1.sh, - semantictest_OSBaseStage2_Processor.sh: - - removed old test scripts - -2003-11-03 Heidi Eckhart <hei...@de...> - - * test/: cim/Linux_CSProcessor.cim, cim/Linux_ComputerSystem.cim, - cim/Linux_OSProcess.cim, cim/Linux_OperatingSystem.cim, - cim/Linux_Processor.cim, cim/Linux_RunningOS.cim, - cim/Linux_UnixProcess.cim, system/linux/Linux_UnixProcess.pl, - system/linux/Linux_UnixProcess.system: - - cleaned up config files for test suite - -2003-10-20 Heidi Eckhart <hei...@de...> - - * test/README: - - update to start execution of test run - -2003-10-20 Heidi Eckhart <hei...@de...> - - * test/system/linux/: Linux_CSProcessor.system, - Linux_Processor.system: - - minor changes in used system calls - -2003-10-15 sedgewick_de - - * OSBase_UnixProcess.c: - - fixed the fix - -2003-10-15 sedgewick_de - - * setting.cmpi: - - OpenWBEM support - -2003-10-15 sedgewick_de - - * cmpiOSBase_UnixProcess.c: - - Preventing segfaults when duplicating NULL strings in process - parameter handling - -2003-10-15 sedgewick_de - - * OSBase_UnixProcess.c: - - Preventing buffer overflows in process parameter parsing - -2003-10-02 Heidi Eckhart <hei...@de...> - - * mof/Linux_BaseRegistration.mof: - - fixed registration ID of Method providers (ID 5) - -2003-09-24 Heidi Eckhart <hei...@de...> - - * README: - - updated copyright date - -2003-09-24 Heidi Eckhart <hei...@de...> - - * INSTALL, README, setting.cmpi: - - updated instructions to install cmpi-base - -2003-09-24 Heidi Eckhart <hei...@de...> - - * test/: test-cmpi-base.sh, cim/Linux_OSProcess.cim: - - added export for SBLIM_TESTSUITE_RUN; added volatile class type - -2003-09-15 Heidi Eckhart <hei...@de...> - - * OSBase_Common.c, OSBase_Common.h, OSBase_ComputerSystem.c, - OSBase_ComputerSystem.h, OSBase_OperatingSystem.c, - OSBase_OperatingSystem.h, OSBase_Processor.c, OSBase_Processor.h, - OSBase_UnixProcess.c, OSBase_UnixProcess.h, - cmpiOSBase_CSProcessorProvider.c, cmpiOSBase_Common.c, - cmpiOSBase_Common.h, cmpiOSBase_ComputerSystem.c, - cmpiOSBase_ComputerSystem.h, cmpiOSBase_ComputerSystemProvider.c, - cmpiOSBase_OSProcessProvider.c, cmpiOSBase_OperatingSystem.c, - cmpiOSBase_OperatingSystem.h, cmpiOSBase_OperatingSystemProvider.c, - cmpiOSBase_Processor.c, cmpiOSBase_Processor.h, - cmpiOSBase_ProcessorProvider.c, cmpiOSBase_RunningOSProvider.c, - cmpiOSBase_UnixProcess.c, cmpiOSBase_UnixProcess.h, - cmpiOSBase_UnixProcessProvider.c, functiontest.sh, - semantictest_OSBaseStage1.sh, - semantictest_OSBaseStage2_Processor.sh, sysman.h, - mof/Linux_Base.mof, mof/Linux_BaseRegistration.mof: - - updated Copyright statement - -2003-09-09 Heidi Eckhart <hei...@de...> - - * OSBase_Common.c, OSBase_OperatingSystem.c, OSBase_Processor.c, - OSBase_UnixProcess.c, cmpiOSBase_ProcessorProvider.c, - cmpiOSBase_UnixProcessProvider.c, makefile, mof/Linux_Base.mof, - mof/Linux_BaseRegistration.mof: - - fixed memory leaks; added namespace pragma to schema - -2003-08-19 Heidi Eckhart <hei...@de...> - - * OSBase_Processor.c: - - fixed failing when user has no permission to read in /proc - -2003-08-11 Heidi Eckhart <hei...@de...> - - * OSBase_Common.c, OSBase_OperatingSystem.c: - - fixed wrong type conversions - -2003-08-11 Heidi Eckhart <hei...@de...> - - * DEBUG, OSBase_Common.c, OSBase_Common.h, OSBase_ComputerSystem.c, - OSBase_OperatingSystem.c, OSBase_OperatingSystem.h, - OSBase_Processor.c, OSBase_UnixProcess.c, - cmpiOSBase_CSProcessorProvider.c, cmpiOSBase_Common.c, - cmpiOSBase_ComputerSystem.c, cmpiOSBase_ComputerSystemProvider.c, - cmpiOSBase_OSProcessProvider.c, cmpiOSBase_OperatingSystem.c, - cmpiOSBase_OperatingSystemProvider.c, cmpiOSBase_Processor.c, - cmpiOSBase_ProcessorProvider.c, cmpiOSBase_RunningOSProvider.c, - cmpiOSBase_UnixProcess.c, cmpiOSBase_UnixProcessProvider.c, - makefile: - - implemented Trace Support; can be enabled by setting environment - variable SBLIM_TRACE; tracing to log file by setting - SBLIM_TRACE_FILE; fixed memory bug in local datetime; performance - optimization of getting timezone value - -2003-08-04 Heidi Eckhart <hei...@de...> - - * OSBase_Processor.c: - - fixed platform dependent and multi-processor behavior of - Linux_Processor provider - -2003-07-31 Heidi Eckhart <hei...@de...> - - * makefile: - - fixed comment - -2003-07-31 Heidi Eckhart <hei...@de...> - - * OSBase_ComputerSystem.c, cmpiOSBase_Common.c, - cmpiOSBase_ComputerSystem.c, cmpiOSBase_OperatingSystem.c, - cmpiOSBase_Processor.c, cmpiOSBase_UnixProcess.c, makefile: - - switched from direct access to CIM_HOST_NAME / CIM_OS_NAME to - access method get_system_name() / get_os_name() - -2003-07-30 Heidi Eckhart <hei...@de...> - - * OSBase_Common.c: - - fixed problem occuring under Pegasus within _cat_timezone funtion - -2003-07-29 Heidi Eckhart <hei...@de...> - - * OSBase_Common.c, OSBase_UnixProcess.c: - - fixed minor memory leaks - -2003-07-23 Heidi Eckhart <hei...@de...> - - * test/system/linux/: Linux_ComputerSystem.system, - Linux_OperatingSystem.system, Linux_Processor.system, - Linux_UnixProcess.system: - - fixed property names of State to be CIM Model conform - -2003-07-23 Heidi Eckhart <hei...@de...> - - * cmpiOSBase_OperatingSystem.c: - - fixed type mismatch for PctTotalCPUTime - -2003-07-09 Heidi Eckhart <hei...@de...> - - * setting.cmpi: - - Pegasus flavour - -2003-07-09 Heidi Eckhart <hei...@de...> - - * OSBase_Common.c, cmpiOSBase_Common.c, - cmpiOSBase_ComputerSystem.c, cmpiOSBase_OperatingSystem.c, - cmpiOSBase_Processor.c, cmpiOSBase_UnixProcess.c, setting.cmpi: - - fixed bug in calculation for the time zone - -2003-07-07 Heidi Eckhart <hei...@de...> - - * makefile, setting.cmpi: - - more userfriendly check for Installation environment - -2003-07-02 Heidi Eckhart <hei...@de...> - - * OSBase_ComputerSystem.c, OSBase_Processor.c, OSBase_Processor.h, - OSBase_UnixProcess.c, OSBase_UnixProcess.h, - cmpiOSBase_CSProcessorProvider.c, cmpiOSBase_OSProcessProvider.c, - cmpiOSBase_Processor.c, cmpiOSBase_Processor.h, - cmpiOSBase_ProcessorProvider.c, cmpiOSBase_RunningOSProvider.c, - cmpiOSBase_UnixProcess.c, cmpiOSBase_UnixProcess.h: - - added authors to the headers - -2003-07-02 Heidi Eckhart <hei...@de...> - - * setting.cmpi: - - check for PEGASUS_HOME now done by makefile - -2003-07-02 Heidi Eckhart <hei...@de...> - - * makefile: - - check for PEGASUS_HOME now - -2003-07-02 Heidi Eckhart <hei...@de...> - - * cmpiOSBase_ComputerSystem.c, cmpiOSBase_ComputerSystem.h, - cmpiOSBase_ComputerSystemProvider.c, cmpiOSBase_OperatingSystem.c, - cmpiOSBase_OperatingSystem.h, cmpiOSBase_OperatingSystemProvider.c, - cmpiOSBase_Processor.c, cmpiOSBase_Processor.h, - cmpiOSBase_ProcessorProvider.c, cmpiOSBase_UnixProcess.c, - cmpiOSBase_UnixProcess.h, cmpiOSBase_UnixProcessProvider.c: - - renamed _makeInst and _makePath to unique function names - -2003-07-02 Heidi Eckhart <hei...@de...> - - * OSBase_Common.h, OSBase_ComputerSystem.c, - OSBase_OperatingSystem.c, OSBase_Processor.c, OSBase_UnixProcess.c, - cmpiOSBase_CSProcessorProvider.c, cmpiOSBase_Common.c, - cmpiOSBase_Common.h, cmpiOSBase_ComputerSystem.c, - cmpiOSBase_ComputerSystemProvider.c, - cmpiOSBase_OSProcessProvider.c, cmpiOSBase_OperatingSystem.c, - cmpiOSBase_OperatingSystemProvider.c, cmpiOSBase_Processor.c, - cmpiOSBase_ProcessorProvider.c, cmpiOSBase_RunningOSProvider.c, - cmpiOSBase_UnixProcess.c, cmpiOSBase_UnixProcessProvider.c, - makefile: - - restructured make process; moved _debug declaration to - OSBase_Common code - -2003-07-01 Viktor Mihajlovski <mih...@de...> - - * cmpiOSBase_Common.h, cmpiOSBase_ComputerSystem.c, - cmpiOSBase_ComputerSystemProvider.c, makefile: - - Merged ComputerSystem with ComputerSystemProvider. Added true, - false and _debug to cmpiOSBase_Common. - -2003-06-30 Heidi Eckhart <hei...@de...> - - * cmpiOSBase_Common.c, setting.cmpi: - - check of system key values extended to check for OSName and CSName - -2003-06-17 Heidi Eckhart <hei...@de...> - - * makefile, setting.cmpi, mof/Linux_BaseRegistration.mof: - - fixed bugs in provider registration for Pegasus - -2003-06-17 Heidi Eckhart <hei...@de...> - - * CimBase.c, OSBase_Common.c, OSBase_Common.h, - OSBase_ComputerSystem.c, OSBase_ComputerSystem.h, - OSBase_OperatingSystem.c, OSBase_OperatingSystem.h, - OSBase_Processor.c, OSBase_Processor.h, OSBase_UnixProcess.c, - OSBase_UnixProcess.h, cimibase.h, cmpiLinux_CSProcessor.c, - cmpiLinux_ComputerSystem.c, cmpiLinux_OSProcess.c, - cmpiLinux_OperatingSystem.c, cmpiLinux_Processor.c, - cmpiLinux_RunningOS.c, cmpiLinux_UnixProcess.c, - cmpiOSBase_CSProcessorProvider.c, cmpiOSBase_Common.c, - cmpiOSBase_Common.h, cmpiOSBase_ComputerSystem.c, - cmpiOSBase_ComputerSystem.h, cmpiOSBase_ComputerSystemProvider.c, - cmpiOSBase_OSProcessProvider.c, cmpiOSBase_OperatingSystem.c, - cmpiOSBase_OperatingSystem.h, cmpiOSBase_OperatingSystemProvider.c, - cmpiOSBase_Processor.c, cmpiOSBase_Processor.h, - cmpiOSBase_ProcessorProvider.c, cmpiOSBase_RunningOSProvider.c, - cmpiOSBase_UnixProcess.c, cmpiOSBase_UnixProcess.h, - cmpiOSBase_UnixProcessProvider.c, cmpiprovsup.c, cmpiprovsup.h, - makefile, setting.cmpi, mof/Linux_Base.mof, - mof/Linux_BaseRegistration.mof: - - restructured files and contents; each provider consists now of 3 - modules; one contains the CMPI provider interfaces, one factory - functionality and all functions related to the CIM model and one - module containing the resource access functionality; the two common - modules can be distinguished in the same manner - -2003-05-16 Viktor Mihajlovski <mih...@de...> - - * makefile, setting.cmpi: - - Changed makefile targets to support Pegasus. - -2003-05-15 Heidi Eckhart <hei...@de...> - - * test/: makefile, system/linux/Linux_CSProcessor.system, - system/linux/Linux_OSProcess.system, - system/linux/Linux_RunningOS.system: - - added input files for consistence test of association OSProcess and - CSProcessor - -2003-05-13 Heidi Eckhart <hei...@de...> - - * test/system/linux/Linux_RunningOS.system: - - initial input file for association specific consistence test - -2003-05-13 Heidi Eckhart <hei...@de...> - - * test/makefile: - - fixed script names to uninstall - -2003-05-13 Heidi Eckhart <hei...@de...> - - * test/: makefile, system/linux/Linux_ComputerSystem.system, - system/linux/Linux_OperatingSystem.system, - system/linux/Linux_Processor.pl, system/linux/Linux_Processor.sh, - system/linux/Linux_Processor.system, - system/linux/Linux_UnixProcess.pl, - system/linux/Linux_UnixProcess.sh, - system/linux/Linux_UnixProcess.system: - - changes in syntax of input files; switched from shell scripts to - perl scripts to collect instance specific data - -2003-05-12 Heidi Eckhart <hei...@de...> - - * test/: makefile, system/linux/Linux_Processor.sh, - system/linux/Linux_Processor.system: - - input files for consistence test of Linux_Processor - -2003-05-12 Heidi Eckhart <hei...@de...> - - * README: - - CIM schema version changed from 2.7.1 (preliminary) to 2.7 (final) - -2003-05-12 Heidi Eckhart <hei...@de...> - - * test/: README, makefile, test-cmpi-base.sh, - cim/Linux_CSProcessor.cim, cim/Linux_ComputerSystem.cim, - cim/Linux_OSProcess.cim, cim/Linux_OperatingSystem.cim, - cim/Linux_Processor.cim, cim/Linux_RunningOS.cim, - cim/Linux_UnixProcess.cim, - system/linux/Linux_ComputerSystem.system, - system/linux/Linux_OperatingSystem.system, - system/linux/Linux_UnixProcess.sh, - system/linux/Linux_UnixProcess.system, - system/linux/createKeyFiles.sh: - - added dir test; contains the scripts and input files to perform - tests via the SBLIM Test Suite (CVS package testsuite) - -2003-05-12 Heidi Eckhart <hei...@de...> - - * cmpic.sh: - - moved script for generating CMPI provider skeletons to package - sblim-psg - -2003-05-05 Heidi Eckhart <hei...@de...> - - * cmpiLinux_CSProcessor.c, cmpiLinux_OSProcess.c, - cmpiLinux_RunningOS.c, cmpiprovsup.c, cmpiprovsup.h: - - _assoc_get_inst() checks existence of references; input parameters - changed - -2003-04-29 Heidi Eckhart <hei...@de...> - - * CimBase.c, platform.sh: - - enabled Linux on PPC - -2003-04-25 Heidi Eckhart <hei...@de...> - - * platform.sh: - - script to get current platform - -2003-04-25 Heidi Eckhart <hei...@de...> - - * CimBase.c, cimibase.h, cmpiLinux_ComputerSystem.c, - cmpiLinux_OperatingSystem.c, cmpiLinux_Processor.c, - cmpiLinux_UnixProcess.c, makefile, setting.cmpi, mof/makefile.cmpi: - - started port to zLinux (S390) - -2003-04-25 Heidi Eckhart <hei...@de...> - - * cmpic.sh: - - updated gneration of provider sceleton and fixed smaller compile - problems - -2003-04-07 Heidi Eckhart <hei...@de...> - - * cmpiLinux_ComputerSystem.c, cmpiLinux_OperatingSystem.c, - cmpiLinux_Processor.c, cmpiLinux_UnixProcess.c, cmpiprovsup.c, - cmpiprovsup.h: - - getInstance checks now system key value(s) - -2003-04-06 Heidi Eckhart <hei...@de...> - - * cmpiLinux_Processor.c, cmpiLinux_UnixProcess.c, cmpic.sh, - cmpiprovsup.c: - - fixed return code behaviour - only if an instance was not found, - CIM_ERR_NOT_FOUND should be returned - -2003-04-04 Heidi Eckhart <hei...@de...> - - * license.html: - - update to version 1.0 - -2003-03-31 Heidi Eckhart <hei...@de...> - - * setting.cmpi: - - abstracted path entries - -2003-03-26 Viktor Mihajlovski <mih...@de...> - - * setting.cmpi: - - Updated setting.cmpi to support Pegasus - -2003-03-25 Adrian Schuur <sc...@de...> - - * cimibase.h: - - Added __cplusplus enablement - -2003-03-19 Heidi Eckhart <hei...@de...> - - * cmpiLinux_CSProcessor.c, cmpiLinux_ComputerSystem.c, - cmpiLinux_OSProcess.c, cmpiLinux_OperatingSystem.c, - cmpiLinux_Processor.c, cmpiLinux_RunningOS.c, - cmpiLinux_UnixProcess.c, cmpic.sh, cmpiprovsup.c: - - fixed parameter order of CMNewObjectPath - -2003-03-19 Heidi Eckhart <hei...@de...> - - * mof/Linux_Base.mof: - - fixed missing Association Qualifier - -2003-03-18 Heidi Eckhart <hei...@de...> - - * CimBase.c, INSTALL, README, cimibase.h, cmpiLinux_CSProcessor.c, - cmpiLinux_ComputerSystem.c, cmpiLinux_OSProcess.c, - cmpiLinux_OperatingSystem.c, cmpiLinux_Processor.c, - cmpiLinux_RunningOS.c, cmpiLinux_UnixProcess.c, cmpic.sh, - cmpiprovsup.c, cmpiprovsup.h, functiontest.sh, makefile, mlogsup.c, - mlogsup.h, semantictest_OSBaseStage1.sh, - semantictest_OSBaseStage2_Processor.sh, setting.cmpi, sysman.h, - sysman_pid.c, mof/Linux_Base.mof, mof/Linux_BaseRegistration.mof, - mof/makefile.cmpi, mof/makefile.pegasus: - - Initial revision - -2003-03-18 Heidi Eckhart <hei...@de...> - - * CimBase.c, INSTALL, README, cimibase.h, cmpiLinux_CSProcessor.c, - cmpiLinux_ComputerSystem.c, cmpiLinux_OSProcess.c, - cmpiLinux_OperatingSystem.c, cmpiLinux_Processor.c, - cmpiLinux_RunningOS.c, cmpiLinux_UnixProcess.c, cmpic.sh, - cmpiprovsup.c, cmpiprovsup.h, functiontest.sh, makefile, mlogsup.c, - mlogsup.h, semantictest_OSBaseStage1.sh, - semantictest_OSBaseStage2_Processor.sh, setting.cmpi, sysman.h, - sysman_pid.c, mof/Linux_Base.mof, mof/Linux_BaseRegistration.mof, - mof/makefile.cmpi, mof/makefile.pegasus: - - SBLIM Base Package with CMPI style provider implementations; - instrumented classes are ComputerSystem, OperatingSystem, - UnixProcess, Processor and associations RunningOS, OSProcess, - CSProcessor +For commit changes, see "git log" or: +http://sourceforge.net/p/sblim/cmpi-base/commit_browser diff --git a/NEWS b/NEWS index 10c7f26..6cf0721 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,9 @@ +Changes in Version 1.6.4 +======================== + +Bugs Fixed: + + Changes in Version 1.6.3 ======================== diff --git a/configure.ac b/configure.ac index e3c0ba2..1c56fa0 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT(SBLIM BaseOS Providers Base, 1.6.3, sbl...@li...,sblim-cmpi-base) +AC_INIT(SBLIM BaseOS Providers Base, 1.6.4-preview, sbl...@li...,sblim-cmpi-base) AC_CONFIG_SRCDIR([OSBase_Common.c]) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE hooks/post-receive -- cmpi-base - Base OS CMPI Providers |
From: Dave H. <hel...@us...> - 2014-10-22 21:24:36
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "cmpi-base - Base OS CMPI Providers". The tag, CMPI_BASE_1_6_3 has been created at b6b9ee51390fccc5cbe3abd1ba0a8141a35c7453 (commit) - Log ----------------------------------------------------------------- commit b6b9ee51390fccc5cbe3abd1ba0a8141a35c7453 Author: Dave Heller <hel...@us...> Date: Wed Oct 22 17:18:22 2014 -0400 prep for 1.6.3 release ----------------------------------------------------------------------- hooks/post-receive -- cmpi-base - Base OS CMPI Providers |
From: Dave H. <hel...@us...> - 2014-10-22 21:22:46
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "cmpi-base - Base OS CMPI Providers". The branch, master has been updated via b6b9ee51390fccc5cbe3abd1ba0a8141a35c7453 (commit) from 20e84c24e0a730fcf38d378417f6bae4af98abba (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit b6b9ee51390fccc5cbe3abd1ba0a8141a35c7453 Author: Dave Heller <hel...@us...> Date: Wed Oct 22 17:18:22 2014 -0400 prep for 1.6.3 release ----------------------------------------------------------------------- Summary of changes: configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 68e3dc7..e3c0ba2 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT(SBLIM BaseOS Providers Base, 1.6.2, sbl...@li...,sblim-cmpi-base) +AC_INIT(SBLIM BaseOS Providers Base, 1.6.3, sbl...@li...,sblim-cmpi-base) AC_CONFIG_SRCDIR([OSBase_Common.c]) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE hooks/post-receive -- cmpi-base - Base OS CMPI Providers |
From: Dave H. <hel...@us...> - 2014-10-21 14:52:58
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "cmpi-base - Base OS CMPI Providers". The branch, master has been updated via 20e84c24e0a730fcf38d378417f6bae4af98abba (commit) from 3f41cf1d3ea50eb0563c6422f7919c19330c96f0 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 20e84c24e0a730fcf38d378417f6bae4af98abba Author: Dave Heller <hel...@us...> Date: Tue Oct 21 10:52:23 2014 -0400 Fixed SBLIM-2737: datetime values do not adjust for DST ----------------------------------------------------------------------- Summary of changes: ChangeLog | 7 ++++++ NEWS | 1 + OSBase_Common.c | 47 ++++++++++++++++++++++++++++++++++++++++++++++ OSBase_Common.h | 1 + OSBase_OperatingSystem.c | 23 ++++++--------------- OSBase_UnixProcess.c | 6 +---- 6 files changed, 64 insertions(+), 21 deletions(-) diff --git a/ChangeLog b/ChangeLog index dd1fe2c..8baa177 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2014-10-24 Dave Heller <hel...@us...> + + * NEWS, OSBase_Common.c, OSBase_Common.h, OSBase_OperatingSystem.c, + OSBase_UnixProcess.c + + Fixed SBLIM-2737: datetime values do not adjust for DST + 2013-11-16 Dave Heller <hel...@us...> * NEWS, contributions.txt, OSBase_Common.c: diff --git a/NEWS b/NEWS index 6c77e35..10c7f26 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ Bugs Fixed: - SBLIM-2634: incorrect max cpu frequency - SBLIM-2644: wrong UserModeTime and KernelModeTime - SBLIM-2698: system name might have empty domainname +- SBLIM-2737: datetime values do not adjust for DST Changes in Version 1.6.2 ======================== diff --git a/OSBase_Common.c b/OSBase_Common.c index 46c76e8..65d285b 100644 --- a/OSBase_Common.c +++ b/OSBase_Common.c @@ -247,6 +247,53 @@ signed short get_os_timezone() { return CIM_OS_TIMEZONE; } +/** ---------------------------------------------------------------------------- + * Convert time_t time (seconds since epoch) to a CMPIDateTime-like string in + * the requested format: + * @param local 1 = result in localtime; 0 = result in GMT + * @param adj_dst 1 = result adjusted for DST (only meaningful for local) + * @return a string containing the requested datetime + * -------------------------------------------------------------------------- */ + +char *sse_to_cmpi_datetime_str(long sse, int local, int adj_dst) { + char *dt = malloc(26); + struct tm bdtime; + struct tm *(*func)(); + int offset = 0; + + _OSBASE_TRACE(4, + ("--- sse_to_cmpi_datetime_str() called for sse=%lu local=%d adj_dst=%d\n", + sse, local, adj_dst)); + + if (local && adj_dst) { + func = &localtime_r; + } + else { + func = &gmtime_r; + adj_dst = 0; + if (local) + sse -= timezone; + } + + if (func(&sse, &bdtime)) { + if (adj_dst) + offset = bdtime.tm_gmtoff / 60; /* adjusted for DST */ + else if (local) + offset = - timezone / 60; /* not adjusted for DST */ + + strftime(dt, 26, "%Y%m%d%H%M%S.000000", &bdtime); + sprintf(dt, "%s%+04d", dt, offset); + } + + _OSBASE_TRACE(4, + ("--- sse_to_cmpi_datetime_str() : exiting, returned value: %s", dt)); + return dt; +} + +/* ---------------------------------------------------------------------------*/ + +/* ---------------------------------------------------------------------------*/ + unsigned long _get_os_boottime() { char ** hdout = NULL; int rc = 0; diff --git a/OSBase_Common.h b/OSBase_Common.h index a290104..ae54e07 100644 --- a/OSBase_Common.h +++ b/OSBase_Common.h @@ -57,6 +57,7 @@ static inline char * get_os_name() { return CIM_OS_NAME; } signed short get_os_timezone(); unsigned long _get_os_boottime(); void _cat_timezone( char * str, signed short zone ); +char * sse_to_cmpi_datetime_str(long sse, int local, int adj_dst); /* ---------------------------------------------------------------------------*/ diff --git a/OSBase_OperatingSystem.c b/OSBase_OperatingSystem.c index 2259e3f..3467014 100644 --- a/OSBase_OperatingSystem.c +++ b/OSBase_OperatingSystem.c @@ -104,12 +104,12 @@ int get_operatingsystem_data( struct cim_operatingsystem ** sptr ){ // fprintf( stderr,"%lli : %lli: %lli: %lli\n",(*sptr)->totalPhysMem,(*sptr)->freePhysMem,(*sptr)->totalSwapMem,(*sptr)->freeSwapMem); - /* CurrentTimeZone */ - (*sptr)->curTimeZone = get_os_timezone(); - /* LocalDateTime */ (*sptr)->localDate = get_os_localdatetime(); + /* CurrentTimeZone */ + (*sptr)->curTimeZone = atoi((*sptr)->localDate + 21); + /* InstallDate */ (*sptr)->installDate = get_os_installdate(); @@ -289,14 +289,10 @@ char * get_os_lastbootup() { up = _get_os_boottime(); if( up == 0 ) { - _OSBASE_TRACE(4,("--- get_os_lastbootup() failed : was not able to set last boot time")); + _OSBASE_TRACE(1,("--- get_os_lastbootup() failed : was not able to set last boot time")); return NULL; } - if( gmtime_r( &up, &uptm ) != NULL ) { - uptime = (char*)malloc(26); - strftime(uptime,26,"%Y%m%d%H%M%S.000000",&uptm); - _cat_timezone(uptime, get_os_timezone()); - } + uptime = sse_to_cmpi_datetime_str(up, 1, 1); _OSBASE_TRACE(4,("--- get_os_lastbootup() exited : %s",uptime)); return uptime; @@ -310,13 +306,8 @@ char * get_os_localdatetime() { _OSBASE_TRACE(4,("--- get_os_localdatetime() called")); - sec=time(NULL) + get_os_timezone()*60; - if( gmtime_r( &sec , &cttm) != NULL ) { - tm = (char*)malloc(26); - strftime(tm,26,"%Y%m%d%H%M%S.000000",&cttm); - _cat_timezone(tm, get_os_timezone()); - } - + tm = sse_to_cmpi_datetime_str(time(NULL), 1, 1); + _OSBASE_TRACE(4,("--- get_os_localdatetime() exited : %s",tm)); return tm; } diff --git a/OSBase_UnixProcess.c b/OSBase_UnixProcess.c index b7c050e..0dc6d38 100644 --- a/OSBase_UnixProcess.c +++ b/OSBase_UnixProcess.c @@ -241,11 +241,7 @@ static int _process_data( char * phd , struct cim_process ** sptr ){ if( uptime == 0 ) { (*sptr)->createdate = NULL; } else { ctime = (ctime/100)+uptime; - if( gmtime_r( &ctime , &tmdate) != NULL ) { - (*sptr)->createdate = (char*)malloc(26); - rc = strftime((*sptr)->createdate,26,"%Y%m%d%H%M%S.000000",&tmdate); - _cat_timezone((*sptr)->createdate, get_os_timezone()); - } + (*sptr)->createdate = sse_to_cmpi_datetime_str(ctime, 1, 1); } // fprintf(stderr,"(*sptr)->createdate: %s\n",(*sptr)->createdate); /* fprintf(stderr,"PID: %s ... um:%lli; km:%lli;\num:%lli; km:%lli; cd_sec:%li\n", hooks/post-receive -- cmpi-base - Base OS CMPI Providers |
From: Dave H. <hel...@us...> - 2014-10-14 03:46:53
|
Update of /cvsroot/sblim/wbemcli In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv14693 Modified Files: NEWS configure.ac Log Message: start of 1.6.4 Index: NEWS =================================================================== RCS file: /cvsroot/sblim/wbemcli/NEWS,v retrieving revision 1.50 retrieving revision 1.51 diff -u -d -r1.50 -r1.51 --- NEWS 13 Oct 2014 16:05:30 -0000 1.50 +++ NEWS 14 Oct 2014 03:46:51 -0000 1.51 @@ -1,3 +1,9 @@ +Changes in Version 1.6.4 +======================== + +Bugs: + + Changes in Version 1.6.3 ======================== Index: configure.ac =================================================================== RCS file: /cvsroot/sblim/wbemcli/configure.ac,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- configure.ac 14 Oct 2014 03:42:49 -0000 1.24 +++ configure.ac 14 Oct 2014 03:46:51 -0000 1.25 @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_INIT(SBLIM WBEMCLI, 1.6.3, sbl...@li...,sblim-wbemcli) +AC_INIT(SBLIM WBEMCLI, 1.6.4-preview, sbl...@li...,sblim-wbemcli) AC_CONFIG_SRCDIR([CimXml.cpp]) AC_CANONICAL_HOST |
From: Dave H. <hel...@us...> - 2014-10-14 03:42:51
|
Update of /cvsroot/sblim/wbemcli In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv14496 Modified Files: configure.ac contributions.txt Log Message: prep for 1.6.3 release Index: configure.ac =================================================================== RCS file: /cvsroot/sblim/wbemcli/configure.ac,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- configure.ac 13 Jul 2011 21:22:36 -0000 1.23 +++ configure.ac 14 Oct 2014 03:42:49 -0000 1.24 @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_INIT(SBLIM WBEMCLI, 1.6.2, sbl...@li...,sblim-wbemcli) +AC_INIT(SBLIM WBEMCLI, 1.6.3, sbl...@li...,sblim-wbemcli) AC_CONFIG_SRCDIR([CimXml.cpp]) AC_CANONICAL_HOST Index: contributions.txt =================================================================== RCS file: /cvsroot/sblim/wbemcli/contributions.txt,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- contributions.txt 17 Apr 2012 16:17:02 -0000 1.9 +++ contributions.txt 14 Oct 2014 03:42:49 -0000 1.10 @@ -18,6 +18,10 @@ ******************************************************************************** +03/04/2014 by Vitezslav Crhonek +-------------------------------- +[ 0002721 ] wbemcli does not accept dot in userid:password + 04/17/2012 by Klaus Kampf -------------------------------- [ 3514126 ] wbemcli does not compile with GCC 4.7 |
From: Dave H. <hel...@us...> - 2014-10-13 16:05:33
|
Update of /cvsroot/sblim/wbemcli In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv7332 Modified Files: ChangeLog CimXml.cpp NEWS Log Message: Fixed 0002626: bugfix for IPv6 LLA support Index: NEWS =================================================================== RCS file: /cvsroot/sblim/wbemcli/NEWS,v retrieving revision 1.49 retrieving revision 1.50 diff -u -d -r1.49 -r1.50 --- NEWS 4 Mar 2014 06:50:08 -0000 1.49 +++ NEWS 13 Oct 2014 16:05:30 -0000 1.50 @@ -10,6 +10,7 @@ - 0002665 Add -e100 option to wbemcli - 0002629 Do not attempt connect if missing cacert - 0002721 wbemcli does not accept dot in userid:password +- 0002626 bugfix for IPv6 LLA support Changes in Version 1.6.2 ======================== Index: ChangeLog =================================================================== RCS file: /cvsroot/sblim/wbemcli/ChangeLog,v retrieving revision 1.42 retrieving revision 1.43 diff -u -d -r1.42 -r1.43 --- ChangeLog 4 Mar 2014 06:50:08 -0000 1.42 +++ ChangeLog 13 Oct 2014 16:05:30 -0000 1.43 @@ -1,3 +1,9 @@ +2013-10-13 Dave Heller <hel...@us...> + + * CimXml.cpp, NEWS: + + Fixed 0002626: bugfix for IPv6 LLA support + 2014-03-04 Dave Heller <hel...@us...> * CimXml.cpp, NEWS: Index: CimXml.cpp =================================================================== RCS file: /cvsroot/sblim/wbemcli/CimXml.cpp,v retrieving revision 1.76 retrieving revision 1.77 diff -u -d -r1.76 -r1.77 --- CimXml.cpp 4 Mar 2014 06:50:08 -0000 1.76 +++ CimXml.cpp 13 Oct 2014 16:05:30 -0000 1.77 @@ -3050,9 +3050,10 @@ // TODO support percent encoding per rfc6874 if (*z == 0 || strlen(z) != strlen(strtok(z, "!$%&*=?@^~"))) throw URLException("Malformed IPv6 zone id"); - *(strchr(h,'%')) = 0; - host = string(h+1); if ((zone_id = atoi(z)) <= 0) zone_id = URL::getNetDeviceNum(string(z)); + *(strchr(h,'%')) = ']'; // replace trailing bracket + *(strchr(h,']')+1) = 0; // add null term + host = string(h); // this is now the IPv6 w/o zone identifier free(h); #endif } |
From: Dave H. <hel...@us...> - 2014-10-09 23:14:33
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gather - Metric Data Gatherer". The branch, master has been updated via 55cb9dc8aa7ac8169aaec28433bacd986562d292 (commit) from 41e9f4c955dfaf8dc15370b128195f2423dde535 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 55cb9dc8aa7ac8169aaec28433bacd986562d292 Author: Dave Heller <hel...@us...> Date: Thu Oct 9 19:14:00 2014 -0400 start of 2.2.10 ----------------------------------------------------------------------- Summary of changes: NEWS | 8 ++++++++ configure.ac | 2 +- 2 files changed, 9 insertions(+), 1 deletions(-) diff --git a/NEWS b/NEWS index e41ee02..65c8aff 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,11 @@ +Changes in Version 2.2.10 +========================= + +Bugs fixed: + +Features added: + + Changes in Version 2.2.9 ======================== diff --git a/configure.ac b/configure.ac index 2ae0e39..cb8a183 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.63) -AC_INIT([sblim-gather],[2.2.9],[sbl...@li...]) +AC_INIT([sblim-gather],[2.2.10-preview],[sbl...@li...]) AC_CONFIG_SRCDIR([cimplug.h]) AC_CONFIG_HEADER([gather-config.h]) AM_INIT_AUTOMAKE hooks/post-receive -- gather - Metric Data Gatherer |
From: Dave H. <hel...@us...> - 2014-10-09 23:10:02
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gather - Metric Data Gatherer". The tag, GATHER_2_2_9 has been created at 41e9f4c955dfaf8dc15370b128195f2423dde535 (commit) - Log ----------------------------------------------------------------- commit 41e9f4c955dfaf8dc15370b128195f2423dde535 Author: Dave Heller <hel...@us...> Date: Thu Oct 9 19:03:33 2014 -0400 prep for 2.2.9 release ----------------------------------------------------------------------- hooks/post-receive -- gather - Metric Data Gatherer |
From: Dave H. <hel...@us...> - 2014-10-09 23:07:24
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gather - Metric Data Gatherer". The branch, master has been updated via 41e9f4c955dfaf8dc15370b128195f2423dde535 (commit) from f642e2ffa8777b7089147f9894e0398cf00ca747 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 41e9f4c955dfaf8dc15370b128195f2423dde535 Author: Dave Heller <hel...@us...> Date: Thu Oct 9 19:03:33 2014 -0400 prep for 2.2.9 release ----------------------------------------------------------------------- Summary of changes: NEWS | 3 +++ configure.ac | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/NEWS b/NEWS index 2a47ea7..e41ee02 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +Changes in Version 2.2.9 +======================== + Bugs fixed: - #2633 local FS metris calculated inconsitently - #2664 no guest counter in /proc/stat on older kernels diff --git a/configure.ac b/configure.ac index 35336c2..2ae0e39 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.63) -AC_INIT([sblim-gather],[2.2.8],[sbl...@li...]) +AC_INIT([sblim-gather],[2.2.9],[sbl...@li...]) AC_CONFIG_SRCDIR([cimplug.h]) AC_CONFIG_HEADER([gather-config.h]) AM_INIT_AUTOMAKE hooks/post-receive -- gather - Metric Data Gatherer |
From: Dave H. <hel...@us...> - 2014-10-09 16:05:11
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gather - Metric Data Gatherer". The branch, master has been updated via f642e2ffa8777b7089147f9894e0398cf00ca747 (commit) from adb18fc7b8eaa97c731d947d9773721e58dc8d9c (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit f642e2ffa8777b7089147f9894e0398cf00ca747 Author: Dave Heller <hel...@us...> Date: Thu Oct 9 12:04:16 2014 -0400 Fixed #2739: fix compiler warning ----------------------------------------------------------------------- Summary of changes: repos.c | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/repos.c b/repos.c index e394fc5..8869b9e 100644 --- a/repos.c +++ b/repos.c @@ -27,6 +27,7 @@ #include "mrepos.h" #include "mtrace.h" #include <reposcfg.h> +#include <commutil.h> #include <dirutil.h> #include <stdlib.h> #include <stdio.h> @@ -385,10 +386,19 @@ int reposvalue_get(ValueRequest *vs, COMMHEAP ch) memcpy(vs->vsValues[actnum].viResource, mv[j][numv[j]-1].mvResource,reslen); /* Workround for [bugs:#2739]: check for duplicate timestamp, don't crash */ if (mv[j][0].mvTimeStamp == mv[j][1].mvTimeStamp) { - m_log(M_ERROR,M_SHOW,"Hit repeated value on calculation of %s (mid=%d)\n", mc->mcName, mv[j][0].mvId); - m_log(M_ERROR,M_SHOW,"0: sys=%s res=%s value=%lu at %lu\n",mv[j][0].mvSystemId, mv[j][0].mvResource, ntohll(*(unsigned long long*)mv[j][0].mvData), mv[j][0].mvTimeStamp); - m_log(M_ERROR,M_SHOW,"1: sys=%s res=%s value=%lu at %lu\n",mv[j][1].mvSystemId, mv[j][1].mvResource, ntohll(*(unsigned long long*)mv[j][1].mvData), mv[j][1].mvTimeStamp); - memset(vs->vsValues[actnum].viValue, 0, sizeof(unsigned long long)); + m_log(M_ERROR, M_SHOW, + "Hit repeated value on calculation of %s (mid=%d)\n", + mc->mcName, mv[j][0].mvId); + m_log(M_ERROR, M_SHOW, "0: sys=%s res=%s value=%lu at %lu\n", + mv[j][0].mvSystemId, mv[j][0].mvResource, + ntohll(*(unsigned long long*) mv[j][0].mvData), + mv[j][0].mvTimeStamp); + m_log(M_ERROR, M_SHOW, "1: sys=%s res=%s value=%lu at %lu\n", + mv[j][1].mvSystemId, mv[j][1].mvResource, + ntohll(*(unsigned long long*) mv[j][1].mvData), + mv[j][1].mvTimeStamp); + memset(vs->vsValues[actnum].viValue, 0, + sizeof(unsigned long long)); vs->vsValues[actnum].viValueLen = sizeof(unsigned long long); } else // do the calculation as normal if (mc->mcCalc(mv[j], hooks/post-receive -- gather - Metric Data Gatherer |
From: Dave H. <hel...@us...> - 2014-10-06 05:40:14
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gather - Metric Data Gatherer". The branch, master has been updated via adb18fc7b8eaa97c731d947d9773721e58dc8d9c (commit) from 76ae836d38ca605daade069fbb5f5ec0ab304651 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit adb18fc7b8eaa97c731d947d9773721e58dc8d9c Author: Dave Heller <hel...@us...> Date: Mon Oct 6 01:39:14 2014 -0400 Fixed #2739: reposd SIGFPE during calculation of interval metric ----------------------------------------------------------------------- Summary of changes: ChangeLog | 6 ++++++ NEWS | 1 + gather.c | 7 +++++++ gatherd.c | 11 +++++++++++ plugin/repositoryUnixProcess.c | 10 ++++++---- repos.c | 9 +++++++++ 6 files changed, 40 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 51d9a9d..9e3ff19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-10-06 Dave Heller <hel...@us...> + + * NEWS, gather.c, gatherd.c, plugin/repositoryUnixProcess.c, repos.c + + Fixed #2739: reposd SIGFPE during calculation of interval metric + 2014-02-10 Dave Heller <hel...@us...> * NEWS, mreposl.c diff --git a/NEWS b/NEWS index c46dfb3..2a47ea7 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ Bugs fixed: - #2664 no guest counter in /proc/stat on older kernels - #2722 compile fails when -Werror=format-security flag is used - #2723 repository reported error for GI on interval metric +- #2739 reposd SIGFPE during calculation of interval metric Changes in Version 2.2.8 ======================== diff --git a/gather.c b/gather.c index eaa79c7..ba4324f 100644 --- a/gather.c +++ b/gather.c @@ -375,5 +375,12 @@ static void gather_sample(int id) md=MPR_GetMetric(id); if (md && md->mproc) { md->mproc(id,MetricRepository->mrep_add); + /* For testing [bugs:#2739] */ + extern char *hiccup; + if (hiccup && !strcmp(md->mdName, hiccup)) { + fprintf(stderr,"--> %s(%i) : gather_sample() adding duplicate value for \"%s\"\n", + __FILE__,__LINE__,md->mdName); + md->mproc(id,MetricRepository->mrep_add); // hack to add dup value to the repo + } } } diff --git a/gatherd.c b/gatherd.c index 6a09f59..e891e5d 100644 --- a/gatherd.c +++ b/gatherd.c @@ -34,6 +34,8 @@ #define CHECKBUFFER(comm,buffer,sz,len) ((comm)->gc_datalen+sizeof(GATHERCOMM)+(sz)<=len) +char *hiccup; + int main(int argc, char * argv[]) { int quit=0; @@ -62,6 +64,15 @@ int main(int argc, char * argv[]) } } + /* For testing [bugs:#2739] */ + if (argc == 2 && !strncasecmp(argv[1],"hiccup=",7)) { + if (argv[1][7]) { + hiccup = strdup(argv[1] + 7); + fprintf(stderr,"--> %s(%i) : Hiccup on metric \"%s\"\n", + __FILE__,__LINE__,hiccup); + } + } + if (gathercfg_init()) { m_log(M_ERROR,M_SHOW,"Could not open gatherd config file.\n"); } diff --git a/plugin/repositoryUnixProcess.c b/plugin/repositoryUnixProcess.c index 785d624..b87416f 100644 --- a/plugin/repositoryUnixProcess.c +++ b/plugin/repositoryUnixProcess.c @@ -608,8 +608,9 @@ size_t metricCalcPageInRate( MetricValue *mv, __FILE__,__LINE__); #endif if ( mv && (vlen>=sizeof(unsigned long long)) && (mnum>=2) ) { - total = (*(unsigned long long*)mv[0].mvData - *(unsigned long long*)mv[mnum-1].mvData) / - (mv[0].mvTimeStamp - mv[mnum-1].mvTimeStamp); + total = (unsigned long long) (ntohll(*(unsigned long long*) mv[0].mvData) + - ntohll(*(unsigned long long*) mv[mnum - 1].mvData)) + / (mv[0].mvTimeStamp - mv[mnum - 1].mvTimeStamp); memcpy(v, &total, sizeof(unsigned long long)); return sizeof(unsigned long long); } @@ -655,8 +656,9 @@ size_t metricCalcPageOutRate( MetricValue *mv, __FILE__,__LINE__); #endif if ( mv && (vlen>=sizeof(unsigned long long)) && (mnum>=2) ) { - total = (*(unsigned long long*)mv[0].mvData - *(unsigned long long*)mv[mnum-1].mvData) / - (mv[0].mvTimeStamp - mv[mnum-1].mvTimeStamp); + total = (unsigned long long) (ntohll(*(unsigned long long*) mv[0].mvData) + - ntohll(*(unsigned long long*) mv[mnum - 1].mvData)) + / (mv[0].mvTimeStamp - mv[mnum - 1].mvTimeStamp); memcpy(v, &total, sizeof(unsigned long long)); return sizeof(unsigned long long); } diff --git a/repos.c b/repos.c index 22fd4c7..e394fc5 100644 --- a/repos.c +++ b/repos.c @@ -23,6 +23,7 @@ #include "repos.h" #include "rreg.h" #include "rplugmgr.h" +#include "mlog.h" #include "mrepos.h" #include "mtrace.h" #include <reposcfg.h> @@ -382,6 +383,14 @@ int reposvalue_get(ValueRequest *vs, COMMHEAP ch) ch_alloc(ch,vs->vsValues[actnum].viValueLen); vs->vsValues[actnum].viResource=ch_alloc(ch,reslen); memcpy(vs->vsValues[actnum].viResource, mv[j][numv[j]-1].mvResource,reslen); + /* Workround for [bugs:#2739]: check for duplicate timestamp, don't crash */ + if (mv[j][0].mvTimeStamp == mv[j][1].mvTimeStamp) { + m_log(M_ERROR,M_SHOW,"Hit repeated value on calculation of %s (mid=%d)\n", mc->mcName, mv[j][0].mvId); + m_log(M_ERROR,M_SHOW,"0: sys=%s res=%s value=%lu at %lu\n",mv[j][0].mvSystemId, mv[j][0].mvResource, ntohll(*(unsigned long long*)mv[j][0].mvData), mv[j][0].mvTimeStamp); + m_log(M_ERROR,M_SHOW,"1: sys=%s res=%s value=%lu at %lu\n",mv[j][1].mvSystemId, mv[j][1].mvResource, ntohll(*(unsigned long long*)mv[j][1].mvData), mv[j][1].mvTimeStamp); + memset(vs->vsValues[actnum].viValue, 0, sizeof(unsigned long long)); + vs->vsValues[actnum].viValueLen = sizeof(unsigned long long); + } else // do the calculation as normal if (mc->mcCalc(mv[j], numv[j], vs->vsValues[actnum].viValue, hooks/post-receive -- gather - Metric Data Gatherer |
From: Dave H. <hel...@us...> - 2014-09-05 00:00:19
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "sfcb - Small Footprint CIM Broker". The branch, master has been updated via 3340426dc1fc91a844d0090fa83eed76e4cf9ae3 (commit) from 4879c376157339affe6d68fc12b03d200d8124df (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 3340426dc1fc91a844d0090fa83eed76e4cf9ae3 Author: Dave Heller <hel...@us...> Date: Thu Sep 4 16:59:05 2014 -0700 [sfcb-tix:#108] Some associatorname CIM operations hang ----------------------------------------------------------------------- Summary of changes: cimXmlOps.y | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cimXmlOps.y b/cimXmlOps.y index 41b4e93..5f4a7b2 100644 --- a/cimXmlOps.y +++ b/cimXmlOps.y @@ -145,7 +145,7 @@ buildAssociatorNamesRequest(void *parm) binCtx->oHdr = (OperationHdr *) req; binCtx->bHdr = &sreq->hdr; - binCtx->bHdr->flags = req->flags; + binCtx->bHdr->flags = 0; binCtx->rHdr = hdr; binCtx->bHdrSize = sizeof(*sreq); binCtx->type = CMPI_ref; hooks/post-receive -- sfcb - Small Footprint CIM Broker |
From: Dave H. <hel...@us...> - 2014-08-11 21:10:03
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "sfcb - Small Footprint CIM Broker". The branch, master_1.3 has been updated via 23352ebf56d78632d05e0879c293039c7da52c30 (commit) from 3da37618f260329e292a8d5e7be0546f4f17c1a9 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 23352ebf56d78632d05e0879c293039c7da52c30 Author: Dave Heller <hel...@us...> Date: Mon Aug 11 17:09:29 2014 -0400 [sfcb-tix:#107] Quietly unpack schema at make postinstall ----------------------------------------------------------------------- Summary of changes: getSchema.sh.pre.in | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/getSchema.sh.pre.in b/getSchema.sh.pre.in index f74a5f7..6311c37 100644 --- a/getSchema.sh.pre.in +++ b/getSchema.sh.pre.in @@ -109,7 +109,8 @@ then fi if [ $? = 0 ]; then fetch_mof && - unzip $ZIPFLAGS -d $sfcbdir/CIM $TMPZIP && + echo "Unpacking CIM Schema to $sfcbdir/CIM/ ..." && + unzip -q $ZIPFLAGS -d $sfcbdir/CIM $TMPZIP && fixschema && exit 0 fi hooks/post-receive -- sfcb - Small Footprint CIM Broker |
From: Dave H. <hel...@us...> - 2014-08-11 19:47:50
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "sfcb - Small Footprint CIM Broker". The branch, master has been updated via 4879c376157339affe6d68fc12b03d200d8124df (commit) from 5ea194525792471903c0b5f3994fd21618eb348e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 4879c376157339affe6d68fc12b03d200d8124df Author: Dave Heller <hel...@us...> Date: Mon Aug 11 15:47:22 2014 -0400 [sfcb-tix:#107] Quietly unpack schema at make postinstall ----------------------------------------------------------------------- Summary of changes: getSchema.sh.pre.in | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/getSchema.sh.pre.in b/getSchema.sh.pre.in index 3a4da82..15b2c4d 100644 --- a/getSchema.sh.pre.in +++ b/getSchema.sh.pre.in @@ -109,7 +109,8 @@ then fi if [ $? = 0 ]; then fetch_mof && - unzip $ZIPFLAGS -d $sfcbdir/CIM $TMPZIP && + echo "Unpacking CIM Schema to $sfcbdir/CIM/ ..." && + unzip -q $ZIPFLAGS -d $sfcbdir/CIM $TMPZIP && fixschema && exit 0 fi hooks/post-receive -- sfcb - Small Footprint CIM Broker |
From: Dave H. <hel...@us...> - 2014-07-03 23:45:33
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "sfcc- Small Footprint CIM Client". The branch, master has been updated via 05d0c7179b78bc30fea82ec8e3476d2b66c9c7cd (commit) from b386d7bdc31f370bca3d1a920519b90b45098385 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 05d0c7179b78bc30fea82ec8e3476d2b66c9c7cd Author: Dave Heller <hel...@us...> Date: Thu Jul 3 19:44:47 2014 -0400 [bugs:#2730] redo: More memory leaks in backend/cimxml/grammer.c ----------------------------------------------------------------------- Summary of changes: backend/cimxml/grammar.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/backend/cimxml/grammar.c b/backend/cimxml/grammar.c index 9e543c9..6a0a969 100644 --- a/backend/cimxml/grammar.c +++ b/backend/cimxml/grammar.c @@ -479,6 +479,7 @@ static void iReturnValueContent(ParserControl *parm, parseUnion *stateUnion) createPath(&op,&(lvalp.xtokNamedInstance.path)); CMSetNameSpace(op, getNameSpaceChars(parm->requestObjectPath)); inst = native_new_CMPIInstance(op,NULL); + op->ft->release(op); //setInstQualifiers(inst, &lvalp.xtokNamedInstance.instance.qualifiers); setInstProperties(inst, &lvalp.xtokNamedInstance.instance.properties); simpleArrayAdd(parm->respHdr.rvArray,(CMPIValue*)&inst,CMPI_instance); hooks/post-receive -- sfcc- Small Footprint CIM Client |
From: Dave H. <hel...@us...> - 2014-07-03 23:37:57
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "sfcc- Small Footprint CIM Client". The branch, master has been updated via b386d7bdc31f370bca3d1a920519b90b45098385 (commit) from a170946510da932f0d4ff1930ba453ba8e7d8b05 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit b386d7bdc31f370bca3d1a920519b90b45098385 Author: Dave Heller <hel...@us...> Date: Thu Jul 3 19:36:43 2014 -0400 [bugs:#2730] back out original patch ----------------------------------------------------------------------- Summary of changes: backend/cimxml/grammar.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/backend/cimxml/grammar.c b/backend/cimxml/grammar.c index ac1b4e4..9e543c9 100644 --- a/backend/cimxml/grammar.c +++ b/backend/cimxml/grammar.c @@ -444,7 +444,6 @@ static void iReturnValueContent(ParserControl *parm, parseUnion *stateUnion) className(parm, (parseUnion*)&lvalp.xtokClassName); op = newCMPIObjectPath(NULL, lvalp.xtokClassName.value, NULL); simpleArrayAdd(parm->respHdr.rvArray,(CMPIValue*)&op,CMPI_ref); - if(op) op->ft->release(op); ct = localLex(&lvalp, parm); } while(ct == XTOK_CLASSNAME); @@ -468,7 +467,6 @@ static void iReturnValueContent(ParserControl *parm, parseUnion *stateUnion) instanceName(parm, (parseUnion*)&lvalp.xtokInstanceName); createPath(&op, &lvalp.xtokInstanceName); simpleArrayAdd(parm->respHdr.rvArray,(CMPIValue*)&op,CMPI_ref); - if(op) op->ft->release(op); ct = localLex(&lvalp, parm); } while(ct == XTOK_INSTANCENAME); @@ -484,7 +482,6 @@ static void iReturnValueContent(ParserControl *parm, parseUnion *stateUnion) //setInstQualifiers(inst, &lvalp.xtokNamedInstance.instance.qualifiers); setInstProperties(inst, &lvalp.xtokNamedInstance.instance.properties); simpleArrayAdd(parm->respHdr.rvArray,(CMPIValue*)&inst,CMPI_instance); - if(op) op->ft->release(op); ct = localLex(&lvalp, parm); } while(ct == XTOK_VALUENAMEDINSTANCE); @@ -498,7 +495,6 @@ static void iReturnValueContent(ParserControl *parm, parseUnion *stateUnion) CMSetNameSpace(op, lvalp.xtokObjectPath.path.path.nameSpacePath.value); CMSetHostname(op, lvalp.xtokObjectPath.path.path.host.host); simpleArrayAdd(parm->respHdr.rvArray,(CMPIValue*)&op,CMPI_ref); - if(op) op->ft->release(op); ct = localLex(&lvalp, parm); } while(ct == XTOK_OBJECTPATH); hooks/post-receive -- sfcc- Small Footprint CIM Client |
From: Dave H. <hel...@us...> - 2014-05-17 01:12:32
|
Update of /cvsroot/sblim/jsr48-client/smpl/org/sblim/cimclient/samples In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15433/smpl/org/sblim/cimclient/samples Modified Files: Tag: Experimental Jsr48IndicationTester.java Log Message: 2736 Add indication flood test options Index: Jsr48IndicationTester.java =================================================================== RCS file: /cvsroot/sblim/jsr48-client/smpl/org/sblim/cimclient/samples/Jsr48IndicationTester.java,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -u -d -r1.1.2.5 -r1.1.2.6 --- Jsr48IndicationTester.java 16 May 2014 23:22:10 -0000 1.1.2.5 +++ Jsr48IndicationTester.java 17 May 2014 01:12:25 -0000 1.1.2.6 @@ -16,6 +16,7 @@ * 3529066 2012-07-06 hellerda Add Jsr48IndicationTester (initial version) * 2734 2014-05-16 hellerda Support file:// URL in destination handler * 2735 2014-05-16 hellerda Add configurable --wait time option + * 2736 2014-05-16 hellerda Add indication flood test options */ package org.sblim.cimclient.samples; @@ -401,6 +402,11 @@ System.out.println(" --wait WAIT Time to wait before shutting down and deleting the"); System.out.println(" subscription. A value of 0 means wait indefinitely"); System.out.println(" (register mode only. default: 0s)"); + System.out.println(" --count COUNT Number of indication triggers to send. A value of 0"); + System.out.println(" means send continously."); + System.out.println(" (trigger mode only. default: 1)"); + System.out.println(" --delay DELAY Delay between indication triggers"); + System.out.println(" (trigger mode only. default: 1s)"); } /** @@ -563,18 +569,31 @@ return; } + // Trigger the CIMOM to send a test indication to be caught by the listener if (trigger) { + int count = doubleDashOpts.containsKey("--count") ? Integer.parseInt(doubleDashOpts + .get("--count")) : 1; + int delay = doubleDashOpts.containsKey("--delay") ? Integer.parseInt(doubleDashOpts + .get("--delay")) : 1; + + if (count == 0) count = Integer.MAX_VALUE; + if (count == 1) delay = 0; + // SendTestIndication does not use any in/out parameters CIMArgument<?>[] input = new CIMArgument[0]; CIMArgument<?>[] output = new CIMArgument[0]; - // This will trigger a TestIndication that is caught by the - // remote listener - Object obj = client.invokeMethod(new CIMObjectPath(null, null, null, indicationNS, - indClassName, null), "SendTestIndication", input, output); - if (obj.toString().equals("0")) System.out - .println("Indication generated successfully."); - else System.out.println("Indication not generated successfully!"); + for (int i = 1;; i++) { + System.out.println("Sending indication" + + (count > 1 ? (" " + Integer.valueOf(i)) : "") + "..."); + Object obj = client.invokeMethod(new CIMObjectPath(null, null, null, + indicationNS, indClassName, null), "SendTestIndication", input, output); + if (obj.toString().equals("0")) System.out + .println("Indication generated successfully."); + else System.out.println("Indication not generated successfully!"); + if (i >= count) break; + Thread.sleep(1000 * delay); + } System.exit(0); } |
From: Dave H. <hel...@us...> - 2014-05-16 23:22:13
|
Update of /cvsroot/sblim/jsr48-client/smpl/org/sblim/cimclient/samples In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv8070/smpl/org/sblim/cimclient/samples Modified Files: Tag: Experimental Jsr48IndicationTester.java Log Message: 2735 Add configurable --wait time option Index: Jsr48IndicationTester.java =================================================================== RCS file: /cvsroot/sblim/jsr48-client/smpl/org/sblim/cimclient/samples/Jsr48IndicationTester.java,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -u -d -r1.1.2.4 -r1.1.2.5 --- Jsr48IndicationTester.java 16 May 2014 22:08:08 -0000 1.1.2.4 +++ Jsr48IndicationTester.java 16 May 2014 23:22:10 -0000 1.1.2.5 @@ -15,6 +15,7 @@ * ------------------------------------------------------------------------------- * 3529066 2012-07-06 hellerda Add Jsr48IndicationTester (initial version) * 2734 2014-05-16 hellerda Support file:// URL in destination handler + * 2735 2014-05-16 hellerda Add configurable --wait time option */ package org.sblim.cimclient.samples; @@ -382,10 +383,10 @@ */ private static void printHelp() { System.out.println("\nOptions:"); - System.out.println(" -h, Show this help message and exit."); - System.out.println(" -p, Print received indications to stdout."); - System.out.println(" -v, Print additional debug info."); - System.out.println(" -t, Trigger mode: send a request to the CIMOM"); + System.out.println(" -h Show this help message and exit."); + System.out.println(" -p Print received indications to stdout."); + System.out.println(" -v Print additional debug info."); + System.out.println(" -t Trigger mode: send a request to the CIMOM"); System.out.println(" to trigger an indication and exit."); System.out.println(" --cimomUrl CIMOMURL URL of CIMOM to connect to (host:port)"); System.out.println(" (default: http://localhost:5988)"); @@ -397,6 +398,9 @@ .println(" --indNS INDICATIONNS Namespace in which the register the indication"); System.out .println(" (default is the same value as the interop namespace)"); + System.out.println(" --wait WAIT Time to wait before shutting down and deleting the"); + System.out.println(" subscription. A value of 0 means wait indefinitely"); + System.out.println(" (register mode only. default: 0s)"); } /** @@ -597,6 +601,12 @@ } } + int wait = doubleDashOpts.containsKey("--wait") ? Integer.parseInt(doubleDashOpts + .get("--wait")) : 0; + + if (wait == 0) wait = Integer.MAX_VALUE; + else wait *= 1000; + try { // make the subscription. Since this is the first WBEM operation // called, the client will connect to the CIMOM now. If we've @@ -609,7 +619,7 @@ System.err.println("Subscription failed."); return; } - Thread.sleep(300 * 1000); + Thread.sleep(wait); } finally { // should never get here as we have ShutdownHook to catch exit |
From: Dave H. <hel...@us...> - 2014-05-16 22:08:11
|
Update of /cvsroot/sblim/jsr48-client/smpl/org/sblim/cimclient/samples In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv3184/smpl/org/sblim/cimclient/samples Modified Files: Tag: Experimental Jsr48IndicationTester.java Log Message: 2734 Support file-based URL in destination handler Index: Jsr48IndicationTester.java =================================================================== RCS file: /cvsroot/sblim/jsr48-client/smpl/org/sblim/cimclient/samples/Jsr48IndicationTester.java,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -d -r1.1.2.3 -r1.1.2.4 --- Jsr48IndicationTester.java 17 Aug 2012 01:45:15 -0000 1.1.2.3 +++ Jsr48IndicationTester.java 16 May 2014 22:08:08 -0000 1.1.2.4 @@ -1,5 +1,5 @@ /** - * (C) Copyright IBM Corp. 2012 + * (C) Copyright IBM Corp. 2014 * * THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE * ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE @@ -14,6 +14,7 @@ * Flag Date Prog Description * ------------------------------------------------------------------------------- * 3529066 2012-07-06 hellerda Add Jsr48IndicationTester (initial version) + * 2734 2014-05-16 hellerda Support file:// URL in destination handler */ package org.sblim.cimclient.samples; @@ -317,9 +318,10 @@ public static boolean subscribe(WBEMClient pClient, String pInteropNS, String pIndicationNS, String pHost, URL pDestURL, String pQuery) { try { - cDestinationPath = pClient.createInstance(makeListenerDestination(pInteropNS, pDestURL - .getProtocol() - + "://" + pDestURL.getHost() + ":" + pDestURL.getPort() + "/create", pHost)); + cDestinationPath = pClient.createInstance(makeListenerDestination(pInteropNS, + getUrlString(pDestURL) + + (pDestURL.getProtocol().equalsIgnoreCase("file") ? "" : "/create"), + pHost)); cFilterPath = pClient.createInstance(makeFilter(pInteropNS, pIndicationNS, pQuery, pHost)); cSubscriptionPath = pClient.createInstance(makeSubscription(pInteropNS, @@ -398,14 +400,24 @@ } /** + * Workaround to http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6561321 + */ + private static String getUrlString(URL url) { + if (url.getProtocol().equalsIgnoreCase("file")) return url.toString().substring(0, 5) + + "//" + url.toString().substring(5); + return url.toString(); + } + + /** * Print all the elements of a URL */ private static void printURL(URL url) { - System.out.printf("Full URL string : %s\n", url.toString()); + System.out.printf("Full URL string : %s\n", getUrlString(url)); System.out.printf("Protocol (scheme) : %s\n", url.getProtocol()); System.out.printf("Authority : %s\n", url.getAuthority()); System.out.printf("Host : %s\n", url.getHost()); - System.out.printf("Port : %d\n", Integer.valueOf(url.getPort())); + System.out.printf("Port : %d\n", + url.getPort() > 0 ? Integer.valueOf(url.getPort()) : null); System.out.printf("UserInfo : %s\n", url.getUserInfo()); if (url.getUserInfo() != null) { String[] userInfo = url.getUserInfo().split(":"); @@ -443,7 +455,9 @@ */ static void cleanup(WBEMClient client, String namespace, URL destURL) { unsubscribe(client, namespace); - cListener.removeListener(destURL.getPort()); + if (destURL.getProtocol().equalsIgnoreCase("http") + || destURL.getProtocol().equalsIgnoreCase("https")) cListener + .removeListener(destURL.getPort()); client.close(); System.out.println("Cleaned up. Sample completed."); } @@ -571,13 +585,16 @@ // start the listener so that we are "on air" when the indications // come in - if (startListener(destURL, printInd)) { - System.out.println("Listener started."); - } else { - System.err.println("Listener startup failed. Most probably the port " - + destURL.getPort() + " is not available."); - client.close(); - return; + if (destURL.getProtocol().equalsIgnoreCase("http") + || destURL.getProtocol().equalsIgnoreCase("https")) { + if (startListener(destURL, printInd)) { + System.out.println("Listener started."); + } else { + System.err.println("Listener startup failed. Most probably the port " + + destURL.getPort() + " is not available."); + client.close(); + return; + } } try { |
From: Dave H. <hel...@us...> - 2014-05-16 00:37:24
|
Update of /cvsroot/sblim/jsr48-client/src/org/sblim/cimclient/internal/wbem In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16806/src/org/sblim/cimclient/internal/wbem Modified Files: Tag: Experimental WBEMClientCIMXML.java Log Message: 2732 HttpClient resource leak in WBEMClientCIMXML Index: WBEMClientCIMXML.java =================================================================== RCS file: /cvsroot/sblim/jsr48-client/src/org/sblim/cimclient/internal/wbem/WBEMClientCIMXML.java,v retrieving revision 1.21.2.79 retrieving revision 1.21.2.80 diff -u -d -r1.21.2.79 -r1.21.2.80 --- WBEMClientCIMXML.java 12 Dec 2013 15:35:53 -0000 1.21.2.79 +++ WBEMClientCIMXML.java 16 May 2014 00:37:22 -0000 1.21.2.80 @@ -1723,10 +1723,13 @@ logger.trace(Level.FINE, "Connecting..."); connection.connect(); } catch (UnknownHostException e) { + connection.disconnect(); throw new WBEMException(WBEMException.CIM_ERR_FAILED, "Unknown host", null, e); } catch (SocketException e) { + connection.disconnect(); throw new WBEMException(WBEMException.CIM_ERR_FAILED, "Unable to connect", null, e); } catch (SSLHandshakeException e) { + connection.disconnect(); throw new WBEMException(WBEMException.CIM_ERR_FAILED, "SSL handshake exception", null, e); } |
From: Dave H. <hel...@us...> - 2014-05-02 00:02:58
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "sfcb - Small Footprint CIM Broker". The branch, master has been updated via 5ea194525792471903c0b5f3994fd21618eb348e (commit) from a9dda19abe7356eaeeaaad8be15fabbcb4ff8f29 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 5ea194525792471903c0b5f3994fd21618eb348e Author: Dave Heller <hel...@us...> Date: Thu May 1 19:59:43 2014 -0400 [sfcb-tix:#97] Add a select timeout for req handlers ----------------------------------------------------------------------- Summary of changes: control.c | 6 +++++- httpAdapter.c | 14 +++++++++++++- msgqueue.c | 44 +++++++++++++++++++++++++++++++++++++++++--- providerMgr.c | 24 ++++++++++++++++++++++-- sfcb.cfg.pre.in | 12 ++++++++++++ 5 files changed, 93 insertions(+), 7 deletions(-) diff --git a/control.c b/control.c index 5c562cf..ed0e5df 100644 --- a/control.c +++ b/control.c @@ -73,9 +73,12 @@ char *ip6List= NULL; char **origArgv; int origArgc; -int useCDATA; unsigned int labelProcs; +int useCDATA; +int httpProcIdX; +long httpReqHandlerTimeout; + /** * Kindly null terminate, always, even if might overwrite * the last char of the truncated string. @@ -158,6 +161,7 @@ static Control init[] = { {"keepaliveMaxRequest", CTL_LONG, NULL, {.slong=10}}, {"selectTimeout", CTL_LONG, NULL, {.slong=5}}, {"maxBindAttempts", CTL_LONG, NULL, {.slong=8}}, + {"httpReqHandlerTimeout", CTL_LONG, NULL, {.slong=40}}, {"providerSampleInterval", CTL_LONG, NULL, {.slong=30}}, {"providerTimeoutInterval", CTL_LONG, NULL, {.slong=60}}, diff --git a/httpAdapter.c b/httpAdapter.c index df6e596..2719e6c 100644 --- a/httpAdapter.c +++ b/httpAdapter.c @@ -94,11 +94,12 @@ int sfcbSSLMode = 0; /* used as a global sslMode */ int httpLocalOnly = 0; /* 1 = only listen on loopback * interface */ static long hMax; -static int httpProcIdX; +extern int httpProcIdX; static int stopAccepting = 0; static int running = 0; static long keepaliveTimeout = 15; static long keepaliveMaxRequest = 10; +extern long httpReqHandlerTimeout; static long numRequest; static long selectTimeout = 5; /* default 5 sec. timeout for select() before read() */ struct timeval httpSelectTimeout = { 0, 0 }; @@ -2254,6 +2255,9 @@ httpDaemon(int argc, char *argv[], int sslMode, int adapterNum, char *ipAddr, if (getControlNum("keepaliveMaxRequest", &keepaliveMaxRequest)) keepaliveMaxRequest = 10; + if (getControlNum("httpReqHandlerTimeout", &httpReqHandlerTimeout)) + httpReqHandlerTimeout = 40; + char* chunkStr; if (getControlChars("useChunking", &chunkStr) == 0) { if (strcmp(chunkStr, "false") == 0) { @@ -2310,6 +2314,14 @@ httpDaemon(int argc, char *argv[], int sslMode, int adapterNum, char *ipAddr, keepaliveMaxRequest); } + if (httpReqHandlerTimeout == 0) { + mlogf(M_INFO, M_SHOW, "--- Request handler timeout disabled\n"); + httpReqHandlerTimeout = LONG_MAX; + } else { + mlogf(M_INFO, M_SHOW, "--- Request handler timeout: %ld seconds\n", + httpReqHandlerTimeout); + } + /* Label the process by modifying the cmdline */ extern void append2Argv(char *appendstr); extern unsigned int labelProcs; diff --git a/msgqueue.c b/msgqueue.c index 051398b..69d30b3 100644 --- a/msgqueue.c +++ b/msgqueue.c @@ -216,6 +216,20 @@ spGetMsg(int *s, int *from, void *data, unsigned length, MqgStat * mqg) struct iovec iov; struct msghdr msg; + extern int httpProcIdX; + int isReady; + fd_set fds; + struct timeval initialTV = { 0, 0 }, + currentTV; + + if (httpProcIdX) { /* we are a req handler */ + FD_ZERO(&fds); + FD_SET(*s, &fds); + extern long httpReqHandlerTimeout; + initialTV.tv_sec = httpReqHandlerTimeout; + currentTV = initialTV; + } + _SFCB_ENTER(TRACE_MSGQUEUE, "spGetMsg"); _SFCB_TRACE(1, ("--- Receiving from %d length %d", *s, length)); @@ -235,6 +249,21 @@ spGetMsg(int *s, int *from, void *data, unsigned length, MqgStat * mqg) iov.iov_base = data + r; iov.iov_len = length - r; + /* SFCB-0097: Add a select timeout for req handlers */ + if (httpProcIdX) { + isReady = select(*s+1, &fds, NULL, NULL, ¤tTV); + + if (isReady == 0) /* timeout */ + return -2; + + if (isReady < 0) { + if (errno == EINTR) + continue; + else + return spHandleError(s, em); + } + } + if ((n = recvmsg(*s, &msg, 0)) < 0) { if (errno == EINTR) { _SFCB_TRACE(1, (" Receive interrupted %d", currentProc)); @@ -294,7 +323,7 @@ spRcvMsg(int *s, int *from, void **data, unsigned long *length, SpMessageHdr spMsg; static char *em = "rcvMsg receiving from"; MqgStat imqg; - int fromfd; + int fromfd, rc; unsigned long maxlen; int partRecvd = 0, totalRecvd = 0; @@ -305,8 +334,10 @@ spRcvMsg(int *s, int *from, void **data, unsigned long *length, if (mqg == NULL) mqg = &imqg; do { - if ((spGetMsg(s, &fromfd, &spMsg, sizeof(spMsg), mqg)) == -1) + if ((rc = spGetMsg(s, &fromfd, &spMsg, sizeof(spMsg), mqg)) == -1) return spHandleError(s, em); + if (rc < 0) + _SFCB_RETURN(rc); if (mqg && mqg->teintr) { mqg->eintr = 1; @@ -476,7 +507,14 @@ spSendMsg(int *to, int *from, int n, struct iovec *iov, int size) iov[0].iov_base = &spMsg; iov[0].iov_len = sizeof(spMsg); - if ((rc = sendmsg(*to, &msg, 0)) < 0) { + /* SFCB-0097: Suppress SIGPIPE for provider processes, since it probably just + * means the req handler went away, and we handle that error here */ + int flags = 0; + extern int httpProcIdX; + if (httpProcIdX == 0) /* not a req handler */ + flags = MSG_NOSIGNAL; + + if ((rc = sendmsg(*to, &msg, flags)) < 0) { return spHandleError(to, em); } diff --git a/providerMgr.c b/providerMgr.c index 6aa1486..7929724 100644 --- a/providerMgr.c +++ b/providerMgr.c @@ -1277,6 +1277,11 @@ getProviderContext(BinRequestContext * ctx) else if (ctx->rc == MSG_X_EXTENDED_CTL_MSG) { ctx->rc = ctx->ctlXdata->code; } + else if (ctx->rc == -2) { + extern int httpProcIdX; + if (httpProcIdX) + exit(1); + } if (!localMode) { closeSocket(&sockets, COM_ALL, "getProviderContext"); @@ -1301,6 +1306,7 @@ intInvokeProvider(BinRequestContext * ctx, ComSockets sockets) BinResponseHdr *resp = NULL; int fromS; void *heapCtl = markHeap(); + extern int httpProcIdX; #ifdef SFCB_DEBUG struct rusage us, ue; @@ -1412,7 +1418,7 @@ intInvokeProvider(BinRequestContext * ctx, ComSockets sockets) free(resp); resp = NULL; - if (spRecvResult(&sockets.receive, &fromS, (void**) &resp, &size) < 0) { + if ((rc = spRecvResult(&sockets.receive, &fromS, (void**) &resp, &size)) < 0) { size = 0; /* force failure handling */ } @@ -1422,6 +1428,13 @@ intInvokeProvider(BinRequestContext * ctx, ComSockets sockets) if (resp == NULL || size == 0) { resp = calloc(sizeof(BinResponseHdr), 1); resp->rc = CMPI_RC_ERR_FAILED + 1; + if (rc == -2) { + mlogf(M_ERROR, M_SHOW, + "--- req hander %d timed out waiting for provider response\n", + httpProcIdX); + resp->object[0] = setCharsMsgSegment( + "Req handler timed out waiting for provider response"); + } } for (i = 0; i < resp->count; i++) { resp->object[i].data = @@ -1444,7 +1457,7 @@ intInvokeProvider(BinRequestContext * ctx, ComSockets sockets) else if ((ctx->noResp & 1) == 0) { - if (spRecvResult(&sockets.receive, &fromS, (void **) &resp, &size) < 0) { + if ((rc = spRecvResult(&sockets.receive, &fromS, (void**) &resp, &size)) < 0) { size = 0; /* force failure case */ } @@ -1454,6 +1467,13 @@ intInvokeProvider(BinRequestContext * ctx, ComSockets sockets) if (resp == NULL || size == 0) { resp = calloc(sizeof(BinResponseHdr), 1); resp->rc = CMPI_RC_ERR_FAILED + 1; + if (rc == -2) { + mlogf(M_ERROR, M_SHOW, + "--- req hander %d timed out waiting for provider response\n", + httpProcIdX); + resp->object[0] = setCharsMsgSegment( + "Req handler timed out waiting for provider response"); + } } ctx->rCount = ctx->pCount; diff --git a/sfcb.cfg.pre.in b/sfcb.cfg.pre.in index 6affe33..77a2155 100644 --- a/sfcb.cfg.pre.in +++ b/sfcb.cfg.pre.in @@ -122,6 +122,18 @@ basicAuthEntry: _sfcBasicAuthenticate ## Default is 10 #keepaliveMaxRequest: 10 +## Maximum time in seconds a HTTP process (i.e request handler) will wait for +## a provider response before giving up. A timeout implies the provider is hung +## or has crashed. The timeout prevents the handler from waiting indefinitely. +## A value too short may allow insufficient time for long-running processes to +## complete; a value too long may allow handlers to be tied up longer than +## necessary. A value of 0 implies no timeout (wait indefinitely). Note this +## property has no effect on the time a handler will wait on a HTTP client; +## that is governed by selectTimeout or keepaliveTimeout, depending on whether +## or not the handler is in a request. +## Default is 40 +#httpReqHandlerTimeout: 40 + ## The location of the HTTP named socket. This should be someplace writable ## by the user that sfcb runs under. ## Default is /tmp/sfcbHttpSocket hooks/post-receive -- sfcb - Small Footprint CIM Broker |
From: Dave H. <hel...@us...> - 2014-04-25 23:13:46
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "sfcb - Small Footprint CIM Broker". The branch, master has been updated via a9dda19abe7356eaeeaaad8be15fabbcb4ff8f29 (commit) from db4cac6290045085f277597fefdbcf33ae4e8d51 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit a9dda19abe7356eaeeaaad8be15fabbcb4ff8f29 Author: Dave Heller <hel...@us...> Date: Fri Apr 25 19:12:04 2014 -0400 [sfcb-tix:#106] CMPIRole not passed to provider context ----------------------------------------------------------------------- Summary of changes: cimXmlParser.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cimXmlParser.c b/cimXmlParser.c index 0f8f51d..d214099 100644 --- a/cimXmlParser.c +++ b/cimXmlParser.c @@ -1724,7 +1724,7 @@ scanCimXmlRequest(CimRequestContext *ctx, char *xmlData, int *rc) control.reqHdr.binCtx = calloc(1, sizeof(BinRequestContext)); control.reqHdr.principal = ctx->principal; control.reqHdr.sessionId = ctx->sessionId; - control.reqHdr.role = NULL; + control.reqHdr.role = ctx->role; control.paramValues.last = control.paramValues.first = NULL; control.properties.last = control.properties.first = NULL; control.qualifiers.last = control.qualifiers.first = NULL; hooks/post-receive -- sfcb - Small Footprint CIM Broker |
From: Dave H. <hel...@us...> - 2014-03-28 01:42:32
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "sfcc- Small Footprint CIM Client". The branch, master has been updated via a170946510da932f0d4ff1930ba453ba8e7d8b05 (commit) from 28d9fdc4fd33a9089e5f4886d53f43fd04e29f9e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit a170946510da932f0d4ff1930ba453ba8e7d8b05 Author: Dave Heller <hel...@us...> Date: Thu Mar 27 21:41:36 2014 -0400 start of 2.2.8 ----------------------------------------------------------------------- Summary of changes: NEWS | 8 ++++++++ configure.ac | 2 +- 2 files changed, 9 insertions(+), 1 deletions(-) diff --git a/NEWS b/NEWS index 8a57941..c790b44 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,13 @@ Small Footprint CIM Client Library NEWS +Changes in 2.2.8 +================ + +New Features: + +Bugs: + + Changes in 2.2.7 ================ diff --git a/configure.ac b/configure.ac index 90adc92..6ef5c42 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT(sblim-sfcc, 2.2.7, sbl...@li...) +AC_INIT(sblim-sfcc, 2.2.8-preview, sbl...@li...) AC_CONFIG_SRCDIR([cimc/cimcclient.c]) AC_CONFIG_HEADER([config.h]) hooks/post-receive -- sfcc- Small Footprint CIM Client |
From: Dave H. <hel...@us...> - 2014-03-28 01:37:23
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "sfcc- Small Footprint CIM Client". The tag, SFCC_2_2_7 has been created at 28d9fdc4fd33a9089e5f4886d53f43fd04e29f9e (commit) - Log ----------------------------------------------------------------- commit 28d9fdc4fd33a9089e5f4886d53f43fd04e29f9e Author: Dave Heller <hel...@us...> Date: Thu Mar 27 21:30:57 2014 -0400 prep for 2.2.7 release ----------------------------------------------------------------------- hooks/post-receive -- sfcc- Small Footprint CIM Client |