Bug 1298775 - yumex-dnf tries to close dnfdaemon-system without root privileges and fails without error
Summary: yumex-dnf tries to close dnfdaemon-system without root privileges and fails w...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: yumex-dnf
Version: 22
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Tim Lauridsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-15 02:35 UTC by Dennis
Modified: 2016-07-19 20:16 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-19 20:16:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dennis 2016-01-15 02:35:32 UTC
Description of problem:

When application is frozen and force quit is used in the desktop environment at user level, the dnfdaemon-system process might still be running. When restarting yumex-dnf it will ask to close the running process, in which it fails and dies without error message. Process is owned by root thus root privileges are needed to close it which yumex-dnf doesn't try to obtain. 

Also in the dialog box in which it says Yum Extender is already running it lists the process id of the previous Yum Extender while in fact this process id is not running anymore!


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

4.1.4-1.fc22


How reproducible:

Do something to freeze the user interface and close it via desktop environment by answering yes to the question: "Application frozen, do you want to quit it?" or use kill -9 <yumex-dnf pid> to reproduce. Try to start yumex-dnf again afterwards.


Steps to Reproduce:

1. Start yumex-dnf as administrative user on desktop
2. Open console and use ps command to find the the process id of yumex-dnf
3. Execute kill -9 <process id>
4. Use ps command again to verify <process id> is in fact closed
5. Start yumex-dnf again and notice the <process id> mentioned as running
6. Answer yes to the question if yumex-dnf should quit it


Actual results:

Zero.


Expected results:

The yumex-dnf GUI. (by having yumex-dnf elevate privileges and/or close proper pid)


Additional info:

When yumex-dnf is ran from console, no more than the following output is presented: "method return sender=:1.202 -> dest=:1.212 reply_serial=2"

Comment 1 Fedora End Of Life 2016-07-19 20:16:15 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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