Bug 849656 - package removal asks for restart
package removal asks for restart
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: PackageKit (Show other bugs)
All Linux
unspecified Severity low
: beta
: 7.0
Assigned To: Richard Hughes
Desktop QE
Depends On:
  Show dependency treegraph
Reported: 2012-08-20 09:40 EDT by Vladimir Benes
Modified: 2012-11-05 07:34 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-11-05 07:34:06 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Vladimir Benes 2012-08-20 09:40:40 EDT
Description of problem:
when removing old kernel for example packagekit says that I should restart to complete my update .. this is wrong. 

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

How reproducible:

Steps to Reproduce:
1.execute 'pkcon remove old_installed_kernel'

Actual results:
pk says I should remove

Expected results:
as removal of running kernel is not allowed there should be no warning

Additional info:
Comment 1 Richard Hughes 2012-11-05 07:34:06 EST
Fixed upstream, good catch:

commit f35f3fd7319136111e177b5ec000034d95990ce1
Author: Richard Hughes <richard@hughsie.com>
Date:   Mon Nov 5 12:35:49 2012 +0000

    yum: Don't rely on a blacklist for RequireRestart
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=850894

:100755 100755 c1106f2... 7e2d665... M  backends/yum/yumBackend.py

commit 1b7e29c9e6348fb7eed5dbf8c901a7550981bfa2
Author: Richard Hughes <richard@hughsie.com>
Date:   Mon Nov 5 12:34:17 2012 +0000

    Emit RequireRestart(system) in a PackageKit daemon plugin
    This means the backends don't all have to do it themselves.

:100644 100644 f5f67f5... a029e73... M  backends/dummy/pk-backend-dummy.c
:100644 100644 f693c2c... 5e4ee74... M  src/plugins/Makefile.am
:000000 100644 0000000... 505234e... A  src/plugins/pk-plugin-require-restart.c

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