libvirtd does not clean up pid file

Bug #620085 reported by Lee Hanxue
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Won't Fix
Wishlist
Unassigned

Bug Description

Hi,

I found out that libvirtd will incorretly create a pid file even when it does not start up properly.

Error
====
libvirtd start
20:04:43.882: error : qemudWritePidFile:494 : Failed to open pid file '/var/run/libvirtd.pid' : File exists

Expected resolution
================
libvirtd should not create the pid file before it starts up successfully.

Package version: 0.7.5-5ubuntu2
uname -a: Linux ip-xx-xx-xx-xx 2.6.32-305-ec2 #9-Ubuntu SMP Thu Apr 15 04:14:01 UTC 2010 i686 GNU/Linux

Related to https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/510658 , but the difference is that when libvirtd fails to start up cleanly, it should not have created the pid in the first place.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: libvirt-bin 0.7.5-5ubuntu27.2
ProcVersionSignature: Ubuntu 2.6.32-305.9-ec2 2.6.32.11+drm33.2
Uname: Linux 2.6.32-305-ec2 i686
Architecture: i386
Date: Wed Aug 18 20:07:32 2010
Ec2AMI: ami-2dea957f
Ec2AMIManifest: bitnami-cloud-ap/knowledgetree/bitnami-knowledgetree-3.7.0.2-1-linux-ubuntu-10.04.manifest.xml
Ec2AvailabilityZone: ap-southeast-1a
Ec2InstanceType: m1.small
Ec2Kernel: aki-bdf38cef
Ec2Ramdisk: unavailable
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: libvirt

Revision history for this message
Lee Hanxue (leehanxue) wrote :
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thank you for taking the time to make Ubuntu better. Since the core
pidfile handling is handled by libvirt itself, what you are asking for
is a development request which should be discussed with the libvirt
upstream community, either over irc or the libvirt mailing list.

Changed in libvirt (Ubuntu):
status: New → Won't Fix
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.