Hello community,

here is the log from the commit of package openlmi-providers for 
openSUSE:Factory checked in at 2014-05-17 21:46:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openlmi-providers (Old)
 and      /work/SRC/openSUSE:Factory/.openlmi-providers.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openlmi-providers"

Changes:
--------
--- /work/SRC/openSUSE:Factory/openlmi-providers/openlmi-providers.changes      
2013-10-17 20:43:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.openlmi-providers.new/openlmi-providers.changes 
2014-05-17 21:46:57.000000000 +0200
@@ -1,0 +2,137 @@
+Thu May  8 14:41:23 UTC 2014 - [email protected]
+
+- disable build of fan provider on s390x
+
+-------------------------------------------------------------------
+Thu May  8 11:20:38 UTC 2014 - [email protected]
+
+- prevent empty body for rpm macro, use %{nil} instead
+
+-------------------------------------------------------------------
+Wed May  7 12:56:40 UTC 2014 - [email protected]
+
+- fix pre/post scripts to install/remove tog-pegasus specific
+  files only if tog-pegasus is actually installed.
+
+-------------------------------------------------------------------
+Wed Apr  2 12:18:44 UTC 2014 - [email protected]
+
+- don't build openlmi-realmd for openSUSE > 13.1 or SLES.
+
+-------------------------------------------------------------------
+Thu Mar 20 08:02:26 UTC 2014 - [email protected]
+
+- don't build openlmi-pcp for openSUSE > 13.1 or SLES.
+
+-------------------------------------------------------------------
+Wed Mar 19 14:11:15 UTC 2014 - [email protected]
+
+- don't require openlmi-storage for openSUSE > 13.1 or SLES.
+
+-------------------------------------------------------------------
+Thu Mar 13 14:23:01 UTC 2014 - [email protected]
+
+- drop FindCMPI.cmake and FindKonkretCMPI.cmake from devel package,
+  both are already in konkretcmpi-devel
+
+-------------------------------------------------------------------
+Fri Feb 21 13:39:20 UTC 2014 - [email protected]
+
+- disable openlmi-fan on systems without libsensors
+
+-------------------------------------------------------------------
+Sun Feb  9 18:53:48 UTC 2014 - [email protected]
+
+- SLE-12: FATE 316180
+
+-------------------------------------------------------------------
+Wed Jan  8 13:37:08 UTC 2014 - [email protected]
+
+- Update to 0.4.2
+  * Soname of libopenlmiindmanager.so changes from .0 to .1
+    - we removed couple of symbols we do not want to be used
+      externally. Recompilation of any 3rd party Indication
+      Manager users is necessary.
+  * Fixed some of race conditions in Indication Manager.
+  * openlmi-mof-register is now able to re-register all registered
+    providers to newly installed CIMOM (both SFCB and Pegasus are
+    supported).
+  * Many other bugfixes and small improvements. Refer to git log of
+    0.4-fixes branch for a complete list.
+
+- new patches
+  0004-journald-no-libexec-in-SUSE.patch
+  0005-Catch-exception-if-socket.gethostbyaddr-fails.patch
+
+- removed patches:
+  0005-Fall-back-to-etc-passwd-if-user-is-not-listed-in-etc.patch
+  (upstream)
+  0009-Run-smartctl-with-full-path.patch (obsolete)
+
+-------------------------------------------------------------------
+Thu Nov 28 09:33:01 UTC 2013 - [email protected]
+
+- Update to git master
+
+-------------------------------------------------------------------
+Tue Nov  5 10:56:29 UTC 2013 - [email protected]
+
+- Update to 0.4.1
+  * Documentation enhancements:
+    * Added documentation for hardware, fan, power and journald
+      providers.
+    * All providers have -doc subpackage with HTML documentation of
+      the provider CIM API.
+  * Lot of small bug fixes.
+  * New and updated tests.
+  * Improved registration script.
+  * LogicalFile now provides info about the device's type.
+  * Improved reliability of account indications.       
+
+-------------------------------------------------------------------
+Tue Nov  5 10:55:28 UTC 2013 - [email protected]
+
+- Update to 0.4.0
+  * New Journald provider
+  * PG_ComputerSystem is now used by default instead of
+    Linux_ComputerSystem
+  * Documentation foundation tweaks and improvements
+  * Added OpenLMI documentation theme
+  * Added the 'gendoc' tool
+  * Added documentation for service and realmd providers
+  * logicalfile and software misc. fixes
+  * Registration script improvements
+           
+-------------------------------------------------------------------
+Fri Oct 18 12:32:56 UTC 2013 - [email protected]
+
+- Don't crash in logicalfile if CSCreationClassName is not set
+  (0005-logicalfile-Prevent-crash-if-CSCreationClassName-or-.patch)
+- Default ComputerSystem class for sblim-sfcb
+  (0006-Default-SystemCreationClassName-to-Linux_ComputerSys.patch)
+- SUSE gcc does not know about -fstack-protector-strong
+  (0007-fstack-protector-strong-unknown-to-SUSE-gcc.patch)
+
+-------------------------------------------------------------------
+Thu Oct 17 13:12:58 UTC 2013 - [email protected]
+
+- call "dmidecode" with full path
+  add 0003-Run-dmidecode-with-full-path.patch
+
+-------------------------------------------------------------------
+Fri Oct  4 12:35:05 UTC 2013 - [email protected]
+
+- Update to 0.3.0
+  * Added methods to remove account and group in Account provider
+  * Improved documentation
+  * Many bugfixes
+  * Support for provider specific configuration file
+    as well as global openlmi configuration file
+  * Logging was fixed to properly use CIMOM logging facilities
+
+-------------------------------------------------------------------
+Fri Sep 27 16:12:30 UTC 2013 - [email protected]
+
+- improve SLE11 build
+
+-------------------------------------------------------------------
@@ -66 +203,4 @@
-  no-libexec-in-suse.patch
+  0001-No-libexec-in-SUSE.patch
+
+- udev_device_new_from_device_id() is unsupported in SLE11
+  0002-udev_device_new_from_device_id-is-unsupported-in-SLE.patch

Old:
----
  0001-Define-LMI_PowerConcreteJob_ResumeWithAction-and-LMI.patch
  0002-Define-LMI_Processor_Family_Other-if-needed.patch
  full-path-in-run_command.patch
  instance-is-string.patch
  no-libexec-in-suse.patch
  openlmi-providers-0.2.0.tar.bz2
  relative-pathes-in-doc-creation.patch

New:
----
  0001-No-libexec-in-SUSE.patch
  0002-udev_device_new_from_device_id-is-unsupported-in-SLE.patch
  0003-Run-dmidecode-with-full-path.patch
  0004-journald-no-libexec-in-SUSE.patch
  0005-Catch-exception-if-socket.gethostbyaddr-fails.patch
  0006-Default-SystemCreationClassName-to-Linux_ComputerSys.patch
  0007-fstack-protector-strong-unknown-to-SUSE-gcc.patch
  openlmi-providers-0.4.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ openlmi-providers.spec ++++++
++++ 1335 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/openlmi-providers/openlmi-providers.spec
++++ and 
/work/SRC/openSUSE:Factory/.openlmi-providers.new/openlmi-providers.spec

++++++ 0001-No-libexec-in-SUSE.patch ++++++
>From 6d3b00b2021bd9d2657b043f02654a8d68cd5914 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <[email protected]>
Date: Fri, 4 Oct 2013 14:17:38 +0200
Subject: [PATCH 1/7] No libexec in SUSE

---
 src/account/CMakeLists.txt                     | 2 +-
 src/account/cmpiLMI_Account-cimprovagt         | 2 +-
 src/fan/CMakeLists.txt                         | 2 +-
 src/fan/cmpiLMI_Fan-cimprovagt                 | 2 +-
 src/hardware/CMakeLists.txt                    | 2 +-
 src/hardware/cmpiLMI_Hardware-cimprovagt       | 2 +-
 src/logicalfile/CMakeLists.txt                 | 2 +-
 src/logicalfile/cmpiLMI_LogicalFile-cimprovagt | 2 +-
 src/power/CMakeLists.txt                       | 2 +-
 src/power/cmpiLMI_PowerManagement-cimprovagt   | 2 +-
 src/realmd/CMakeLists.txt                      | 2 +-
 src/realmd/cmpiLMI_Realmd-cimprovagt           | 2 +-
 src/service-dbus/CMakeLists.txt                | 2 +-
 src/service-dbus/cmpiLMI_Service-cimprovagt    | 2 +-
 src/service/CMakeLists.txt                     | 2 +-
 src/service/util/serviceutil.c                 | 4 ++--
 src/software/pycmpiLMI_Software-cimprovagt     | 2 +-
 17 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/src/account/CMakeLists.txt b/src/account/CMakeLists.txt
index 021b5f2ba979..759dfb513ca0 100644
--- a/src/account/CMakeLists.txt
+++ b/src/account/CMakeLists.txt
@@ -52,5 +52,5 @@ target_link_libraries(${LIBRARY_NAME} openlmicommon 
${KONKRETCMPI_LIBRARIES} ${G
 cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} 
share/openlmi-providers)
 
 install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi/)
-install(PROGRAMS ${ACCOUNT_SCRIPT} DESTINATION libexec/pegasus)
+install(PROGRAMS ${ACCOUNT_SCRIPT} DESTINATION lib/pegasus)
 install(FILES ${TARGET_MOF} DESTINATION share/openlmi-providers/)
diff --git a/src/account/cmpiLMI_Account-cimprovagt 
b/src/account/cmpiLMI_Account-cimprovagt
index 4079cbb640d2..81fd5e5c9181 100644
--- a/src/account/cmpiLMI_Account-cimprovagt
+++ b/src/account/cmpiLMI_Account-cimprovagt
@@ -20,4 +20,4 @@
 #
 
 
-/usr/libexec/pegasus/cimprovagt "$@"
+/usr/sbin/cimprovagt "$@"
diff --git a/src/fan/CMakeLists.txt b/src/fan/CMakeLists.txt
index 446e38b820ad..cae90529bd01 100644
--- a/src/fan/CMakeLists.txt
+++ b/src/fan/CMakeLists.txt
@@ -34,4 +34,4 @@ profile_mof_generate("90_LMI_Fan_Profile.mof.skel" 
"${TARGET_MOF}" "${CIM_CLASSE
 
 install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi/)
 install(FILES ${TARGET_MOF} DESTINATION share/openlmi-providers/)
-install(PROGRAMS ${FAN_SCRIPT} DESTINATION libexec/pegasus)
+install(PROGRAMS ${FAN_SCRIPT} DESTINATION lib/pegasus)
diff --git a/src/fan/cmpiLMI_Fan-cimprovagt b/src/fan/cmpiLMI_Fan-cimprovagt
index 4079cbb640d2..81fd5e5c9181 100644
--- a/src/fan/cmpiLMI_Fan-cimprovagt
+++ b/src/fan/cmpiLMI_Fan-cimprovagt
@@ -20,4 +20,4 @@
 #
 
 
-/usr/libexec/pegasus/cimprovagt "$@"
+/usr/sbin/cimprovagt "$@"
diff --git a/src/hardware/CMakeLists.txt b/src/hardware/CMakeLists.txt
index 8ccf649765ca..ffd6ebe8665a 100644
--- a/src/hardware/CMakeLists.txt
+++ b/src/hardware/CMakeLists.txt
@@ -38,6 +38,6 @@ set(TARGET_MOF_DMTF 
"${CMAKE_BINARY_DIR}/mof/90_LMI_${PROVIDER_NAME}_Profile_DMT
 configure_file("90_LMI_${PROVIDER_NAME}_Profile_DMTF.mof" "${TARGET_MOF_DMTF}" 
COPYONLY)
 
 install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi)
-install(PROGRAMS ${CIMPROVAGT_SCRIPT} DESTINATION libexec/pegasus)
+install(PROGRAMS ${CIMPROVAGT_SCRIPT} DESTINATION lib/pegasus)
 install(FILES ${TARGET_MOF} DESTINATION share/openlmi-providers/)
 install(FILES ${TARGET_MOF_DMTF} DESTINATION share/openlmi-providers/)
diff --git a/src/hardware/cmpiLMI_Hardware-cimprovagt 
b/src/hardware/cmpiLMI_Hardware-cimprovagt
index 88ef77df2285..0a5c27852402 100755
--- a/src/hardware/cmpiLMI_Hardware-cimprovagt
+++ b/src/hardware/cmpiLMI_Hardware-cimprovagt
@@ -18,4 +18,4 @@
 #
 # Authors: Peter Schiffer <[email protected]>
 
-/usr/libexec/pegasus/cimprovagt "$@"
+/usr/sbin/cimprovagt "$@"
diff --git a/src/logicalfile/CMakeLists.txt b/src/logicalfile/CMakeLists.txt
index 3a09a4ad7a54..ae39b553386d 100644
--- a/src/logicalfile/CMakeLists.txt
+++ b/src/logicalfile/CMakeLists.txt
@@ -39,5 +39,5 @@ set(TARGET_MOF 
"${CMAKE_BINARY_DIR}/mof/90_LMI_LogicalFile_Profile.mof")
 profile_mof_generate("90_LMI_LogicalFile_Profile.mof.skel" "${TARGET_MOF}" 
"${CIM_CLASSES}")
 
 install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi)
-install(PROGRAMS ${CIMPROVAGT_SCRIPT} DESTINATION libexec/pegasus)
+install(PROGRAMS ${CIMPROVAGT_SCRIPT} DESTINATION lib/pegasus)
 install(FILES ${TARGET_MOF} DESTINATION share/openlmi-providers/)
diff --git a/src/logicalfile/cmpiLMI_LogicalFile-cimprovagt 
b/src/logicalfile/cmpiLMI_LogicalFile-cimprovagt
index f6c88424e34b..7c018f16793a 100755
--- a/src/logicalfile/cmpiLMI_LogicalFile-cimprovagt
+++ b/src/logicalfile/cmpiLMI_LogicalFile-cimprovagt
@@ -18,4 +18,4 @@
 #
 # Authors: Jan Synacek <[email protected]>
 
-/usr/libexec/pegasus/cimprovagt "$@"
+/usr/sbin/cimprovagt "$@"
diff --git a/src/power/CMakeLists.txt b/src/power/CMakeLists.txt
index 44b2109ec5ce..62cda855eb11 100644
--- a/src/power/CMakeLists.txt
+++ b/src/power/CMakeLists.txt
@@ -49,5 +49,5 @@ target_link_libraries(${LIBRARY_NAME} openlmicommon 
${KONKRETCMPI_LIBRARIES} ${G
 cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} 
share/openlmi-providers)
 
 install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi/)
-install(PROGRAMS ${POWERMANAGEMENT_SCRIPT} DESTINATION libexec/pegasus)
+install(PROGRAMS ${POWERMANAGEMENT_SCRIPT} DESTINATION lib/pegasus)
 install(FILES ${TARGET_MOF} DESTINATION share/openlmi-providers/)
diff --git a/src/power/cmpiLMI_PowerManagement-cimprovagt 
b/src/power/cmpiLMI_PowerManagement-cimprovagt
index 4079cbb640d2..81fd5e5c9181 100644
--- a/src/power/cmpiLMI_PowerManagement-cimprovagt
+++ b/src/power/cmpiLMI_PowerManagement-cimprovagt
@@ -20,4 +20,4 @@
 #
 
 
-/usr/libexec/pegasus/cimprovagt "$@"
+/usr/sbin/cimprovagt "$@"
diff --git a/src/realmd/CMakeLists.txt b/src/realmd/CMakeLists.txt
index dbf2e5463d91..8b294bb702da 100644
--- a/src/realmd/CMakeLists.txt
+++ b/src/realmd/CMakeLists.txt
@@ -49,5 +49,5 @@ set(TARGET_MOF 
"${CMAKE_BINARY_DIR}/mof/90_LMI_Realmd_Profile.mof")
 profile_mof_generate("90_LMI_Realmd_Profile.mof.skel" "${TARGET_MOF}" 
"${CIM_CLASSES}")
 
 install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi/)
-install(PROGRAMS ${CIMPROVAGT_SCRIPT} DESTINATION libexec/pegasus)
+install(PROGRAMS ${CIMPROVAGT_SCRIPT} DESTINATION lib/pegasus)
 install(FILES ${TARGET_MOF} DESTINATION share/openlmi-providers/)
diff --git a/src/realmd/cmpiLMI_Realmd-cimprovagt 
b/src/realmd/cmpiLMI_Realmd-cimprovagt
index f6c88424e34b..7c018f16793a 100755
--- a/src/realmd/cmpiLMI_Realmd-cimprovagt
+++ b/src/realmd/cmpiLMI_Realmd-cimprovagt
@@ -18,4 +18,4 @@
 #
 # Authors: Jan Synacek <[email protected]>
 
-/usr/libexec/pegasus/cimprovagt "$@"
+/usr/sbin/cimprovagt "$@"
diff --git a/src/service-dbus/CMakeLists.txt b/src/service-dbus/CMakeLists.txt
index 3cc2082ac2b2..ee4cd3bf6e99 100644
--- a/src/service-dbus/CMakeLists.txt
+++ b/src/service-dbus/CMakeLists.txt
@@ -33,5 +33,5 @@ set(TARGET_MOF 
"${CMAKE_BINARY_DIR}/mof/90_LMI_Service_Profile.mof")
 profile_mof_generate("90_LMI_Service_Profile.mof.skel" "${TARGET_MOF}" 
"LMI_Service")
 
 install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi)
-install(PROGRAMS ${CIMPROVAGT_SCRIPT} DESTINATION libexec/pegasus)
+install(PROGRAMS ${CIMPROVAGT_SCRIPT} DESTINATION lib/pegasus)
 install(FILES ${TARGET_MOF} DESTINATION share/openlmi-providers/)
diff --git a/src/service-dbus/cmpiLMI_Service-cimprovagt 
b/src/service-dbus/cmpiLMI_Service-cimprovagt
index f6c88424e34b..7c018f16793a 100755
--- a/src/service-dbus/cmpiLMI_Service-cimprovagt
+++ b/src/service-dbus/cmpiLMI_Service-cimprovagt
@@ -18,4 +18,4 @@
 #
 # Authors: Jan Synacek <[email protected]>
 
-/usr/libexec/pegasus/cimprovagt "$@"
+/usr/sbin/cimprovagt "$@"
diff --git a/src/service/CMakeLists.txt b/src/service/CMakeLists.txt
index 34d766ea2756..efff6cde3d99 100644
--- a/src/service/CMakeLists.txt
+++ b/src/service/CMakeLists.txt
@@ -24,6 +24,6 @@ target_link_libraries(${LIBRARY_NAME} openlmicommon 
${KONKRETCMPI_LIBRARIES})
 # Create registration file
 cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} 
share/openlmi-providers)
 
-install(PROGRAMS util/servicedisc.sh util/serviceutil.sh DESTINATION libexec)
+install(PROGRAMS util/servicedisc.sh util/serviceutil.sh DESTINATION lib)
 
 install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi)
diff --git a/src/service/util/serviceutil.c b/src/service/util/serviceutil.c
index 5ad904593155..e53af550c48f 100644
--- a/src/service/util/serviceutil.c
+++ b/src/service/util/serviceutil.c
@@ -33,8 +33,8 @@
 #define STATUS_BUFSIZE 2000
 #define MAX_SLIST_CNT 1000
 
-char *suscript = "/usr/libexec/serviceutil.sh";
-char *sdscript = "/usr/libexec/servicedisc.sh";
+char *suscript = "/usr/lib/serviceutil.sh";
+char *sdscript = "/usr/lib/servicedisc.sh";
 
 const char *provider_name = "service";
 const ConfigEntry *provider_config_defaults = NULL;
diff --git a/src/software/pycmpiLMI_Software-cimprovagt 
b/src/software/pycmpiLMI_Software-cimprovagt
index a0317a10fa9e..fbea45499de2 100755
--- a/src/software/pycmpiLMI_Software-cimprovagt
+++ b/src/software/pycmpiLMI_Software-cimprovagt
@@ -21,4 +21,4 @@
 # provider in Fedora linux. See README.RedHat.Security in tog-pegasus package
 # for details how it's supposed to work.
 
-/usr/libexec/pegasus/cimprovagt "$@"
+/usr/sbin/cimprovagt "$@"
-- 
1.8.4

++++++ 0002-udev_device_new_from_device_id-is-unsupported-in-SLE.patch ++++++
>From 833f66130b0cf8b967f0342ce005108bdde8b8d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <[email protected]>
Date: Fri, 4 Oct 2013 14:21:26 +0200
Subject: [PATCH 2/7] udev_device_new_from_device_id is unsupported in SLE11

---
 src/logicalfile/file.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/logicalfile/file.c b/src/logicalfile/file.c
index e90e77a1a9e5..6646f76d8037 100644
--- a/src/logicalfile/file.c
+++ b/src/logicalfile/file.c
@@ -91,6 +91,10 @@ CMPIStatus get_fsinfo_from_stat(const CMPIBroker *b, const 
struct stat *sb, cons
     const char *dev_name;
     CMPIStatus st = {.rc = CMPI_RC_OK};
 
+#if 1 /* udev_device_new_from_device_id unsupported in SLE11 */
+    return_with_status(b, &st, ERR_FAILED, "udev_device_new_from_device_id 
unsupported");
+    return st;
+#else
     udev_ctx = udev_new();
     if (!udev_ctx) {
         return_with_status(b, &st, ERR_FAILED, "Could not create udev 
context");
@@ -120,6 +124,7 @@ CMPIStatus get_fsinfo_from_stat(const CMPIBroker *b, const 
struct stat *sb, cons
     udev_unref(udev_ctx);
 
     return st;
+#endif
 }
 
 CMPIStatus get_fsinfo_from_path(const CMPIBroker *b, const char *path, char 
**fsclassname, char **fsname)
-- 
1.8.4

++++++ 0003-Run-dmidecode-with-full-path.patch ++++++
>From 496f46fd37e189e08721b2b7297510d9e071dc11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <[email protected]>
Date: Thu, 17 Oct 2013 14:55:40 +0200
Subject: [PATCH 3/7] Run dmidecode with full path

---
 src/hardware/dmidecode.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/hardware/dmidecode.c b/src/hardware/dmidecode.c
index c241ceaef91d..1e262adaf82e 100644
--- a/src/hardware/dmidecode.c
+++ b/src/hardware/dmidecode.c
@@ -149,7 +149,7 @@ short dmi_get_processors(DmiProcessor **cpus, unsigned 
*cpus_nb)
     dmi_free_processors(cpus, cpus_nb);
 
     /* get dmidecode output */
-    if (run_command("dmidecode -t 4", &buffer, &buffer_size) != 0) {
+    if (run_command("/usr/sbin/dmidecode -t 4", &buffer, &buffer_size) != 0) {
         goto done;
     }
 
@@ -521,7 +521,7 @@ short dmi_get_cpu_caches(DmiCpuCache **caches, unsigned 
*caches_nb)
     dmi_free_cpu_caches(caches, caches_nb);
 
     /* get dmidecode output */
-    if (run_command("dmidecode -t 7", &buffer, &buffer_size) != 0) {
+    if (run_command("/usr/sbin/dmidecode -t 7", &buffer, &buffer_size) != 0) {
         goto done;
     }
 
@@ -812,7 +812,7 @@ short dmi_get_memory(DmiMemory *memory)
     init_dmi_memory_struct(memory);
 
     /* get dmidecode output for memory modules */
-    if (run_command("dmidecode -t 17", &buffer, &buffer_size) != 0) {
+    if (run_command("/usr/sbin/dmidecode -t 17", &buffer, &buffer_size) != 0) {
         goto done;
     }
 
@@ -979,7 +979,7 @@ short dmi_get_memory(DmiMemory *memory)
     free_2d_buffer(&buffer, &buffer_size);
 
     /* get additional dmidecode output for memory modules */
-    if (run_command("dmidecode -t 6", &buffer, &buffer_size) != 0) {
+    if (run_command("/usr/sbin/dmidecode -t 6", &buffer, &buffer_size) != 0) {
         goto done;
     }
 
@@ -1036,7 +1036,7 @@ short dmi_get_memory(DmiMemory *memory)
     free_2d_buffer(&buffer, &buffer_size);
 
     /* get dmidecode output for memory array */
-    if (run_command("dmidecode -t 19", &buffer, &buffer_size) != 0) {
+    if (run_command("/usr/sbin/dmidecode -t 19", &buffer, &buffer_size) != 0) {
         goto done;
     }
 
@@ -1225,7 +1225,7 @@ short dmi_get_chassis(DmiChassis *chassis)
     init_dmi_chassis_struct(chassis);
 
     /* get dmidecode output for chassis */
-    if (run_command("dmidecode -t 3", &buffer, &buffer_size) != 0) {
+    if (run_command("/usr/sbin/dmidecode -t 3", &buffer, &buffer_size) != 0) {
         goto done;
     }
 
@@ -1304,7 +1304,7 @@ short dmi_get_chassis(DmiChassis *chassis)
     free_2d_buffer(&buffer, &buffer_size);
 
     /* get additional dmidecode output for chassis */
-    if (run_command("dmidecode -t 1", &buffer, &buffer_size) == 0
+    if (run_command("/usr/sbin/dmidecode -t 1", &buffer, &buffer_size) == 0
             && buffer_size > 4) {
         for (i = 0; i < buffer_size; i++) {
             /* Model */
@@ -1457,7 +1457,7 @@ short dmi_get_baseboard(DmiBaseboard *baseboard)
     init_dmi_baseboard_struct(baseboard);
 
     /* get dmidecode output for baseboard */
-    if (run_command("dmidecode -t 2", &buffer, &buffer_size) != 0) {
+    if (run_command("/usr/sbin/dmidecode -t 2", &buffer, &buffer_size) != 0) {
         goto done;
     }
 
@@ -1593,7 +1593,7 @@ short dmi_get_ports(DmiPort **ports, unsigned *ports_nb)
     dmi_free_ports(ports, ports_nb);
 
     /* get dmidecode output */
-    if (run_command("dmidecode -t 8", &buffer, &buffer_size) != 0) {
+    if (run_command("/usr/sbin/dmidecode -t 8", &buffer, &buffer_size) != 0) {
         goto done;
     }
 
@@ -1755,7 +1755,7 @@ short dmi_get_system_slots(DmiSystemSlot **slots, 
unsigned *slots_nb)
     dmi_free_system_slots(slots, slots_nb);
 
     /* get dmidecode output */
-    if (run_command("dmidecode -t 9", &buffer, &buffer_size) != 0) {
+    if (run_command("/usr/sbin/dmidecode -t 9", &buffer, &buffer_size) != 0) {
         goto done;
     }
 
@@ -1943,7 +1943,7 @@ short dmi_get_pointing_devices(DmiPointingDevice 
**devices, unsigned *devices_nb
     dmi_free_pointing_devices(devices, devices_nb);
 
     /* get dmidecode output */
-    if (run_command("dmidecode -t 21", &buffer, &buffer_size) != 0) {
+    if (run_command("/usr/sbin/dmidecode -t 21", &buffer, &buffer_size) != 0) {
         goto done;
     }
 
@@ -2118,7 +2118,7 @@ short dmi_get_batteries(DmiBattery **batteries, unsigned 
*batteries_nb)
     dmi_free_batteries(batteries, batteries_nb);
 
     /* get dmidecode output */
-    if (run_command("dmidecode -t 22", &buffer, &buffer_size) != 0) {
+    if (run_command("/usr/sbin/dmidecode -t 22", &buffer, &buffer_size) != 0) {
         goto done;
     }
 
-- 
1.8.4

++++++ 0004-journald-no-libexec-in-SUSE.patch ++++++
>From 3b7290ee4f385e7a3edac55d175ef762ba9132fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <[email protected]>
Date: Thu, 17 Oct 2013 15:19:57 +0200
Subject: [PATCH 4/7] journald - no libexec in SUSE

---
 src/journald/CMakeLists.txt              | 2 +-
 src/journald/cmpiLMI_Journald-cimprovagt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/journald/CMakeLists.txt b/src/journald/CMakeLists.txt
index 1e6f19372172..7e07c25dea06 100644
--- a/src/journald/CMakeLists.txt
+++ b/src/journald/CMakeLists.txt
@@ -55,5 +55,5 @@ profile_mof_generate("90_LMI_Journald_Profile.mof.skel" 
"${TARGET_MOF}" "${CIM_P
 cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} 
share/openlmi-providers)
 
 install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi/)
-install(PROGRAMS ${CIMPROVAGT_SCRIPT} DESTINATION libexec/pegasus)
+install(PROGRAMS ${CIMPROVAGT_SCRIPT} DESTINATION lib/pegasus)
 install(FILES ${TARGET_MOF} DESTINATION share/openlmi-providers/)
diff --git a/src/journald/cmpiLMI_Journald-cimprovagt 
b/src/journald/cmpiLMI_Journald-cimprovagt
index 368c5b866e53..47df91344642 100755
--- a/src/journald/cmpiLMI_Journald-cimprovagt
+++ b/src/journald/cmpiLMI_Journald-cimprovagt
@@ -18,4 +18,4 @@
 #
 # Authors: Tomas Bzatek <[email protected]>
 
-/usr/libexec/pegasus/cimprovagt "$@"
+/usr/lib/pegasus/cimprovagt "$@"
-- 
1.8.4

++++++ 0005-Catch-exception-if-socket.gethostbyaddr-fails.patch ++++++
>From 5a607aeb9ca08efd969d2cf3f61058e9e1919c64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <[email protected]>
Date: Mon, 18 Nov 2013 11:22:52 -0700
Subject: [PATCH 5/7] Catch exception if socket.gethostbyaddr fails

---
 src/python/lmi/providers/__init__.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/python/lmi/providers/__init__.py 
b/src/python/lmi/providers/__init__.py
index 9ee8376a1aee..1d622b78bc0f 100644
--- a/src/python/lmi/providers/__init__.py
+++ b/src/python/lmi/providers/__init__.py
@@ -53,5 +53,8 @@ def is_this_system(system_name):
 
     :rtype: boolean
     """
-    return (  socket.gethostbyaddr(system_name)[0]
-           == socket.gethostbyaddr(socket.gethostname())[0])
+    try:
+        return (  socket.gethostbyaddr(system_name)[0]
+               == socket.gethostbyaddr(socket.gethostname())[0])
+    except OSError as e:
+        return false
\ No newline at end of file
-- 
1.8.4

++++++ 0006-Default-SystemCreationClassName-to-Linux_ComputerSys.patch ++++++
>From 1d033ed19449958e13db3d07c1e31a3092602f08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <[email protected]>
Date: Thu, 28 Nov 2013 10:16:30 +0100
Subject: [PATCH 6/7] Default SystemCreationClassName to Linux_ComputerSystem

---
 src/openlmi.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/openlmi.conf b/src/openlmi.conf
index 64684a86ef05..8cef27b3af2f 100644
--- a/src/openlmi.conf
+++ b/src/openlmi.conf
@@ -6,7 +6,7 @@
 
 # To change the CIM class of ComputerSystem, which is associated to many
 # software classes, uncomment the line below.
-#SystemClassName = PG_ComputerSystem
+SystemClassName = Linux_ComputerSystem
 
 [Log]
 # These options modify logging configuration of the main process spawned
-- 
1.8.4

++++++ 0007-fstack-protector-strong-unknown-to-SUSE-gcc.patch ++++++
>From 0ce687a0adb1b64a5fdd96c8a0ef95bbe58d6b02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <[email protected]>
Date: Wed, 15 Jan 2014 11:44:37 +0100
Subject: [PATCH 7/7] fstack protector strong unknown to SUSE gcc

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 25b32542a405..994c772cde77 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,7 +10,7 @@ cmake_minimum_required(VERSION 2.6)
 
 # Set flags and definitions
 add_definitions(-D_XOPEN_SOURCE=500 -D_GNU_SOURCE)
-set(CMAKE_C_FLAGS "-std=c99 -fstack-protector-strong -Wall -pedantic -g 
-Wextra -Wno-unused-parameter -Wformat -Wparentheses -Wl,--no-undefined 
${CMAKE_C_FLAGS}")
+set(CMAKE_C_FLAGS "-std=c99 -Wall -pedantic -g -Wextra -Wno-unused-parameter 
-Wformat -Wparentheses -Wl,--no-undefined ${CMAKE_C_FLAGS}")
 
 # Set LIB_SUFFIX to 64 on 64bit architectures
 if(CMAKE_SIZEOF_VOID_P EQUAL 4)
-- 
1.8.4

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to