Description of problem:
Installed vhostmd on a F11 x86_64 system, and vm-dump-metrics in a KVM guest runnig F11 x86_64 on the same machine.
The vhostmd is startde on the host side, however I forgot to attach the metrics disk to the guest. Trying to run vm-dump-metrics in this situation on the guest produced the erromessage that the metrics disk can not be found, but then the program dies with a Segmentation Fault.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. remove metrics disk from KVM guest
2. run vm-dump-metrics on the guest
[root@ls3055v0 ~]# vm-dump-metrics
LIBMETRICS: libmetrics_init(): Unable to read metrics disk
In /var/log/messages the following error message is recorded when this happens:
/var/log/messages:Oct 16 11:36:49 ls3055v0 kernel: vm-dump-metrics: segfault at 100 ip 00000036b3208dd1 sp 00007fffefbba670 error 4 in libpthread-2.10.1.so[36b3200000+17000]
It should just print an error message if the metrics disk is not attached
The RPMS used to install vhostmd and vm-dump-metrics were build directly on the server using rpmbuild from the latest source RPM.
SELinux is set in permissive mode.
Patch sent upstream. It will eventually appear here:
New build which incorporates this fix:
vhostmd-0.4-0.5.gite9db007b.fc11 has been submitted as an update for Fedora 11.
vhostmd-0.4-0.5.gite9db007b.fc12 has been submitted as an update for Fedora 12.
The problem is solved with the latest patch. Thanks for fixing this so fast.
vhostmd-0.4-0.5.gite9db007b.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update vhostmd'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10614
vhostmd-0.4-0.5.gite9db007b.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.