[Libvirt-cim] SELinux problem about libvirt-cim

Yanbing Du ydu at redhat.com
Thu Aug 23 02:55:09 UTC 2012



----- Original Message -----
> From: snmishra at linux.vnet.ibm.com
> To: libvirt-cim at redhat.com
> Sent: Thursday, August 23, 2012 4:44:17 AM
> Subject: Re: [Libvirt-cim] SELinux problem about libvirt-cim
> 
> 
> Quoting Yanbing Du <ydu at redhat.com>:
> 
> > Hi,
> >    I'm doing libvirt-cim test, and the result of enforcing SELinux
> > is different with permissive. And there's some AVC deny messages
> > during running cimtest, so i'm wonder if there's any bugs about
> > this
> > problem, thanks !
> 
> Are you seeing any core dumps? Usually, "Lost connection with
> cimprovagt" is seen when there is a seg fault/core dump.
> 

Yes, there's core dump:
------
Aug 20 13:32:19 intel-w3520-8-2 kernel: cimprovagt[13698] general protection ip:7f4e9d264eea sp:7f4e9ef20dd0 error:0 in libpegcommon.so.1[7f4e9d1ca000+1d8000]
Aug 20 13:32:19 intel-w3520-8-2 abrtd: Directory 'ccpp-2012-08-20-13:32:19-13480' creation detected
Aug 20 13:32:19 intel-w3520-8-2 abrt[16366]: Saved core dump of pid 13480 (/usr/sbin/cimprovagt) to /var/spool/abrt/ccpp-2012-08-20-13:32:19-13480 (41832448 bytes)
------
FYI, attached the core dump file.

> -Sharad
> >
> > Diff test results:
> > getenforce=Permissive:
> > --------------------------------------------------------------------
> > Profile - 02_profile_to_elec.py: FAIL
> > ERROR 	- KVM_ComputerSystem with domguest was not returned
> > --------------------------------------------------------------------
> >
> > getenforce=Enforcing:
> > --------------------------------------------------------------------
> > ElementConforms - 04_ectp_rev_errs.py: FAIL
> > ERROR 	- Got CIM error CIM_ERR_FAILED: Lost connection with
> > cimprovagt "libvirt-cim". with return code 1
> > ERROR 	- Unable to define domain domU
> > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Lost connection with
> > cimprovagt "libvirt-cim".
> > --------------------------------------------------------------------
> > Profile - 02_profile_to_elec.py: FAIL
> > 246
> > ERROR 	- KVM_ComputerSystem with domguest was not returned
> > --------------------------------------------------------------------
> > VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL
> > ERROR 	- Exception: CreateSnapshot failed to return a CIM job inst
> > ERROR 	- Failed to remove snapshot file for snapshot_vm
> > --------------------------------------------------------------------
> > RASDIndications - 01_guest_states_rasd_ind.py: FAIL
> > ERROR 	- Exception: Poll for indication Failed
> > --------------------------------------------------------------------
> > RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL
> > ERROR 	- Exception: Poll for indication Failed
> > --------------------------------------------------------------------
> >
> > And the AVC deny messages in the attachment.
> >
> >
> > Best Regards!
> > Yanbing Du
> 
> 
> 
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ccpp-coredump.tar.gz
Type: application/x-compressed-tar
Size: 2708863 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20120822/8b059d98/attachment.bin>


More information about the Libvirt-cim mailing list