Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 230634

Summary: PVFB backend fails to terminate when frontend vanishes early
Product: Red Hat Enterprise Linux 5 Reporter: Markus Armbruster <armbru>
Component: xenAssignee: Markus Armbruster <armbru>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHEA-2007-0635 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-07 17:09:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Proposed fix none

Description Markus Armbruster 2007-03-01 21:39:23 UTC
Description of problem:
When the frontend vanishes from xenstore before the connection is established,
the backend fails to terminate.

Version-Release number of selected component (if applicable):


How reproducible:
Always.

Steps to Reproduce:
1. Make sure the guest has a VNC PVFB configured.
2. Start the guest (e.g. with xm create) with a kernel that lacks PVFB.
3. Shut down the guest, e.g. with xm shutdown.
  
Actual results:
Process xen-vncfb is still running for the guest.

Expected results:
Process xen-vncfb terminates when guest shuts down.

Additional info:
The steps to reproduce use a kernel without PVFB just to make them independent
of timing.  The bug should also bite with a stock kernel (which has PVFB), when
the guest is shut down or destroyed quickly enough.

Comment 1 Markus Armbruster 2007-03-02 14:09:21 UTC
Created attachment 149113 [details]
Proposed fix

The fix submitted upstream is not sufficient with our backwards compatibility
code.

Comment 2 RHEL Program Management 2007-03-29 18:44:35 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 4 Markus Armbruster 2007-06-14 14:19:31 UTC
Patch has been reviewed and committed to the rhel-5-1-hybrid-merge branch, where
it is now awaiting to be merged into the trunk.

Comment 5 Daniel Berrangé 2007-06-14 14:58:15 UTC
Built into dist-5E-qu-candidate as xen-3.0.3-27.el5

* Thu Jun 14 2007 Daniel P. Berrange <berrange> - 3.0.3-27.el5
- Ensure pvfb terminates when frontend vanishes early (rhbz#230634)


Comment 8 errata-xmlrpc 2007-11-07 17:09:59 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2007-0635.html