RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 848003 - pkmon exit value is still unknown
Summary: pkmon exit value is still unknown
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: PackageKit
Version: 7.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: beta
: 7.0
Assignee: Richard Hughes
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-14 09:54 UTC by Vladimir Benes
Modified: 2012-11-01 10:15 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-01 10:15:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Vladimir Benes 2012-08-14 09:54:10 UTC
Description of problem:
when running pkmon.. there should be exit code to each operation performed. But pkmon shows all the time exit code: unknown

Version-Release number of selected component (if applicable):
PackageKit-0.7.4-5.el7

How reproducible:
always

Steps to Reproduce:
1.start pkmon in one terminal
2.execute pkmon install mc

  
Actual results:
all transactions in pkmon have unknown exit code

Expected results:
all exit codes should be valid

Additional info:

Comment 1 Vladimir Benes 2012-08-23 12:08:08 UTC
this is caused by this:
14:02:50	PackageKit          internal error: failed, but no exit code: unknown
14:03:56	PackageKit          emit transaction-list-changed
14:03:56	PackageKit          last:	/1614_deebccdc_data
14:03:56	PackageKit          emit removed: /1614_deebccdc_data
14:03:56	PackageKit          removed: /1614_deebccdc_data

Comment 2 Richard Hughes 2012-11-01 10:15:07 UTC
This is fixed by:

commit c606d7a85076106a1d2be4d6ca8b49dbcd883702
Author: Richard Hughes <richard>
Date:   Wed Oct 31 10:51:21 2012 +0000

    Do not abort the transaction if the plugin exits with success

:100644 100644 1331df6... 810c771... M  src/pk-transaction.c


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