Bug 819906 - Implicit (hidden) dependency for yumex password prompt
Summary: Implicit (hidden) dependency for yumex password prompt
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: yumex
Version: el6
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tim Lauridsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-08 15:14 UTC by Timothy Madden
Modified: 2012-06-09 12:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-09 12:53:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Timothy Madden 2012-05-08 15:14:19 UTC
Description of problem:
yumex can not prompt for root password and can not start properly

Version-Release number of selected component (if applicable):
3.0.4-2.el6

How reproducible:
reproducible

Steps to Reproduce:
1. Install CentOS 6.2 x86_64 "base server", create user "user"
2. enable CentOS Plus, add rpmforge and EPEL repositories
3. install yumex and xauth using yum
4. connect to the CentOS machine with "ssh -Y -l user ..." from a remote host running a desktop environment
5. start yumex from the ssh session
  
Actual results:
yumex can not start properly and can not prompt for root password

Expected results:
yumex should immediately prompt for the root password

Additional info:
if you issue
    yum groupinstall "KDE Desktop"
than the hidden dependency gets installed and I can than start yumex. But I would prefer to not install "KDE desktop" grioup on my "base server" installation of CentOS

Comment 1 Tim Lauridsen 2012-05-09 10:07:50 UTC
try to install "usermode-gtk"
I am working on skipping the use of usermode (consoleheler) to ask for root access and use PolicyKit instead, it should make it work better with a redirected DISPLAY, like when running it over an ssh connection.

a work around could be to run yumex as root using 

su -
yumex --root

and it will not ask for a password

Comment 2 Timothy Madden 2012-05-09 12:22:59 UTC
Yes, usermode-gtk fixed the problem.
Thank you for the information.


I do not know PolicyKit, I am not really an administrator (yet :), but what I meant was that usermode-gtk should be an explicit dependency for yumex (at least for now)

Comment 3 Tim Lauridsen 2012-05-14 05:38:41 UTC
I have just released a new version, 3.0.5, it should  eliminate the need for usermode-gtk, then running over ssh.
It should be available in epel6 testing repos very soon.

Comment 4 Tim Lauridsen 2012-06-09 12:53:14 UTC
usermode is no longer needed in current version 3.0.5-2 in EPEL6


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