RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1258691 - Newly installed VM from CD-ROM should be blocked in user mode
Summary: Newly installed VM from CD-ROM should be blocked in user mode
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-manager
Version: 7.2
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Pavel Hrdina
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 1010944 1250402 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-01 02:02 UTC by fwu
Modified: 2016-11-04 01:58 UTC (History)
7 users (show)

Fixed In Version: virt-manager-1.3.2-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 01:58:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2269 0 normal SHIPPED_LIVE virt-manager bug fix and enhancement update 2016-11-03 13:34:19 UTC

Description fwu 2015-09-01 02:02:28 UTC
Description of problem:
Newly installed VM from CD-ROM is not blocked in user mode

Version-Release number of selected component (if applicable):
virt-manager-1.2.1-6.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1.Launch virt-manager user session as a normal user
$virt-manager -c qemu:///session

2.Click 'Create a new virtual machine' button.

3.Choose 'Local install media(ISO image or CDROM), click 'Forward'

4.Check if the choice 'Use CDROM or DVD' is available.

Actual results:
The choice on Step 4 is available.

Expected results:
The choice on Step 4 should be disabled.

Additional info:
1. After Step 4, the installation cannot complete due to error of qemu. So this function should be disabled in user mode.
2. In root mode, the choice is disabled.

Comment 5 Pavel Hrdina 2015-11-05 14:16:55 UTC
*** Bug 1250402 has been marked as a duplicate of this bug. ***

Comment 6 Pavel Hrdina 2015-11-06 09:48:13 UTC
Upstream commit:

commit 1a760e74d8047c1debaf52046665d0acbdf1d0cf
Author: Pavel Hrdina <phrdina>
Date:   Thu Nov 5 13:31:43 2015 +0100

    virtinst.connection: detect RHEL system also for session connection
    
    We should detect RHEL qemu also for session connection, not only system
    connection, the capabilities of both are the same.
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1258691
    
    Signed-off-by: Pavel Hrdina <phrdina>

Comment 7 Pavel Hrdina 2015-11-06 09:48:33 UTC
*** Bug 1010944 has been marked as a duplicate of this bug. ***

Comment 8 Mike McCune 2016-03-28 23:17:33 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 9 errata-xmlrpc 2016-04-07 12:45:03 UTC
Bug report changed to ON_QA status by Errata System.
A QE request has been submitted for advisory RHEA-2016:23205-01
https://errata.devel.redhat.com/advisory/23205

Comment 10 XiaoyunHu 2016-05-18 09:36:22 UTC
I can reproduce this bug with package:
virt-manager-1.2.1-8.el7.noarch

Steps are the same as description above.

Then try to verify with new build:
virt-manager-1.3.2-1.el7.noarch

Step:
1.Launch virt-manager user session as a normal user
$virt-manager -c qemu:///session
2.Click 'Create a new virtual machine' button.
3.Choose 'Local install media(ISO image or CDROM), click 'Forward'
4.Check if the choice 'Use CDROM or DVD' is available.

Result:
The choice on Step 4 is disabled.

According to the result above in the latest version of virt-manager, move this bug from ON_QA to VERIFIED.

Comment 12 errata-xmlrpc 2016-11-04 01:58:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2269.html


Note You need to log in before you can comment on or make changes to this bug.