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 - policykit asks for password on console
Summary: policykit asks for password on console
Keywords:
Status: CLOSED DUPLICATE of bug 1201255
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gnome-boxes
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Zeeshan Ali
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-09 10:43 UTC by Vladimir Benes
Modified: 2016-09-20 01:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-06 12:05:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
backtrace (250.98 KB, text/plain)
2015-04-15 21:05 UTC, Vladimir Benes
no flags Details

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 ***


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