Bug 799074

Summary: Use package-kit to install dependencies
Product: [Fedora] Fedora Reporter: Stef Walter <stefw>
Component: authconfigAssignee: Tomas Mraz <tmraz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 816946 (view as bug list) Environment:
Last Closed: 2012-09-25 20:27:13 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
Patch which uses package-kit to install dependencies none

Description Stef Walter 2012-03-01 18:01:21 UTC
Currently when selecting different kinds of "User Account Configuration" in authconfig, a message is displayed if a dependency is not installed. 

This patch will add an 'Install' button. Uses package kit to perform the installation.

Comment 1 Stef Walter 2012-03-01 18:04:20 UTC
Created attachment 566903 [details]
Patch which uses package-kit to install dependencies

The patch uses the package-kit dbus interface to do the install. UI and dialogs are displayed by package-kit as child windows of the authconfig gtk window.

I'm not very familiar with Mercurial. Let me know if the patch isn't in an appropriate form.

Comment 2 Tomas Mraz 2012-05-30 15:50:19 UTC
I'm getting Failure using package kit: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/gpk-dbus-service exited with status 1 if I try to test the patch and pushing the Install button.

(also fixed a typo in the patch)

Comment 3 Tomas Mraz 2012-05-30 15:51:12 UTC
Could the problem be that the authconfig runs as root?