Bug 708547

Summary: backend not running as expected (yumex will close)
Product: [Fedora] Fedora Reporter: diods <diods>
Component: yumexAssignee: Tim Lauridsen <tla>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: nalforrest01, tla
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-28 13:11:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
yum extender none

Description diods 2011-05-27 23:05:23 UTC
Description of problem:

backend not running as expected (yumex will close)

Version-Release number of selected component (if applicable):


How reproducible:

1. Edit -> Preferences -> Advanced
2. checked "run backend with sudo"
3. restart yumex then this error occur.
  
Actual results:

** (yumex.pyc:3503): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
01:59:14 : DEBUG - Current Yumex Settings:
01:59:14 : DEBUG -     autorefresh: True
01:59:14 : DEBUG -     branding_title: 'Yum Extender'
01:59:14 : DEBUG -     bugzilla_url: 'https://bugzilla.redhat.com/show_bug.cgi?id='
01:59:14 : DEBUG -     color_install: 'darkgreen'
01:59:14 : DEBUG -     color_normal: 'black'
01:59:14 : DEBUG -     color_obsolete: 'blue'
01:59:14 : DEBUG -     color_update: 'red'
01:59:14 : DEBUG -     debug: True
01:59:14 : DEBUG -     disable_netcheck: False
01:59:14 : DEBUG -     disable_repo_page: False
01:59:14 : DEBUG -     history_limit: 15
01:59:14 : DEBUG -     no_gpg_check: False
01:59:14 : DEBUG -     plugins: True
01:59:14 : DEBUG -     proxy: ''
01:59:14 : DEBUG -     recentdays: 14
01:59:14 : DEBUG -     repo_exclude: ['debug', 'source']
01:59:14 : DEBUG -     show_newest_only: True
01:59:14 : DEBUG -     skip_broken: False
01:59:14 : DEBUG -     typeahead_search: False
01:59:14 : DEBUG -     use_sortable_view: False
01:59:14 : DEBUG -     use_sudo: True
01:59:14 : DEBUG -     win_height: 600
01:59:14 : DEBUG -     win_sep: 298
01:59:14 : DEBUG -     win_width: 1000
01:59:14 : DEBUG -     yum_conf: '/etc/yum.conf'
01:59:14 : DEBUG -     yumdebuglevel: 9
/usr/lib/python2.7/site-packages/guihelpers/__init__.py:256: GtkWarning: gtk_scrolled_window_add(): cannot add non scrollable widget use gtk_scrolled_window_add_with_viewport() instead
  self.add_from_file(filename)
01:59:14 : DEBUG - network interface wlan0 (rtl8187) is connected
01:59:14 : DEBUG - network interface wlan0 (rtl8187) is connected
01:59:15 : INFO - Connected to an network
01:59:15 : DEBUG - Getting package lists - BEGIN   <yumexgui.populate_package_cache>
01:59:15 : DEBUG - network interface wlan0 (rtl8187) is connected
01:59:15 : INFO - Starting yum child process
01:59:15 : DEBUG - Initialize yum backend - BEGIN   <yum_backend.setup>
01:59:15 : DEBUG - Setup START   <yum_backend.setup>
01:59:15 : INFO - Running backend launcher with sudo
01:59:15 : INFO - YUM: sudo: sorry, a password is required to run sudo


Expected results:


Additional info:

Comment 1 diods 2011-05-27 23:15:02 UTC
oops forgot to add the yumex version:

yumex 3.0.3

Comment 2 Tim Lauridsen 2011-05-28 13:11:07 UTC
01:59:15 : INFO - YUM: sudo: sorry, a password is required to run sudo
says it all, you cant use the use_sudo if you have a sudo config there needs a password.

change your sudo config or set use_sudo=0 in .yumex.conf in you homedir

See here for details.

http://www.yum-extender.org/cms/node/21

Comment 3 diods 2011-05-28 13:28:07 UTC
changing use_sudo = 0 in ~/.yumex.conf does not do the trick i did change the sudo config then start yumex and it worked

thanks.......

Comment 4 Nathaniel Forrest 2016-05-22 17:19:44 UTC
Created attachment 1160362 [details]
yum extender