Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1210282

Summary: policykit asks for password on console
Product: Red Hat Enterprise Linux 7 Reporter: Vladimir Benes <vbenes>
Component: gnome-boxesAssignee: Zeeshan Ali <zeenix>
Status: CLOSED DUPLICATE QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: mclasen, vbenes
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-06 12:05:29 UTC Type: Bug
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
backtrace none

Description Vladimir Benes 2015-04-09 10:43:21 UTC
Description of problem:
when creating box via import from system broker functionality I see nothing imported. After running from console I see this:

[test@hp-z400-02 ~]$ gnome-boxes

(gnome-boxes:4394): Boxes-WARNING **: libvirt-system-importer.vala:67: Failed to find suitable disk to import for box 'workaround'
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/bin/chmod' as the super user
Authenticating as: test
Password: 

^^ I've authenticated here but would expect GUI authentication 

==== AUTHENTICATION COMPLETE ===

(gnome-boxes:4394): Boxes-WARNING **: libvirt-system-importer.vala:74: Failed to make all libvirt system disks readable: Failed to execute: pkexec chmod a+r

this should be corrected

Version-Release number of selected component (if applicable):
gnome-boxes-3.14.3.1-1.el7.x86_64


How reproducible:
always

Steps to Reproduce:
1.create system broker machine
2.open boxes and import it via new->continue->import from system broker

Actual results:
nothing happens

Expected results:
GUI authentication and successful import

Additional info:

Comment 1 Zeeshan Ali 2015-04-15 13:39:36 UTC
You should be getting a polkit dialog, if not, your environment is likely fracked. Could you sew what happens when you launch `pkexec echo hi` from a terminal? If you don't see a GUI dialog, its certainly not a Boxes issue.

Comment 2 Vladimir Benes 2015-04-15 21:05:16 UTC
ok so one observation. There was a vm that pointed to non existent image in /home/vm.. these machines should be probably ignored if anything fails.

after deleting that machine I have just one to import. Windows 8 so I tried but Boxes segfaulted instead. Backtrace attached.

Comment 3 Vladimir Benes 2015-04-15 21:05:48 UTC
Created attachment 1014947 [details]
backtrace

Comment 4 Vladimir Benes 2015-05-06 12:05:29 UTC

*** This bug has been marked as a duplicate of bug 1201255 ***