Bug 676299

Summary: PackageKit-DEBUG messages flood bash on "command not found"
Product: [Fedora] Fedora Reporter: Vojtech Vitek <vvitek>
Component: PackageKitAssignee: Richard Hughes <rhughes>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: hripps, jonathan, rhughes, smparrish
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-09 12:50:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vojtech Vitek 2011-02-09 12:00:25 UTC
Hi,

it seems that if any options are passed to a misspelled bash command, it somehow turns on printing PackageKit debug messages.

Following two examples explain everything:

$ misspeled-command arg1 arg2 arg3
bash: misspeled-command: command not found...

$ misspeled-command -option arg1 arg2 arg3
bash: misspeled-command: command not found...
(pk-command-not-found:12233): PackageKit-DEBUG: role now search-file
(pk-command-not-found:12233): PackageKit-DEBUG: state array add 0x110b360 (0x1)
(pk-command-not-found:12233): PackageKit-DEBUG: state array remove 0x110b360
(pk-command-not-found:12233): PackageKit-DEBUG: tid = /14918_adebdcbe_data
(pk-command-not-found:12233): PackageKit-DEBUG: transaction_id now /14918_adebdcbe_data
(pk-command-not-found:12233): PackageKit-DEBUG: sent locale request, started DBus call: 0x1116020 (0x1)
(pk-command-not-found:12233): PackageKit-DEBUG: state array add 0x1116020
(pk-command-not-found:12233): PackageKit-DEBUG: set hints, ended DBus call: 0x1116020 (0x1)
(pk-command-not-found:12233): PackageKit-DEBUG: new method 'search-file', started DBus call: 0x1116020 (0x2)
(pk-command-not-found:12233): PackageKit-DEBUG: changed so checking properties, started DBus call: 0x1116020 (0x1)
(pk-command-not-found:12233): PackageKit-DEBUG: interface changed, started DBus call: 0x1116020 (0x1)
(pk-command-not-found:12233): PackageKit-DEBUG: emit transaction-list-changed (when idle)
(pk-command-not-found:12233): PackageKit-DEBUG: got reply to request, ended DBus call: 0x1116020 (0x2)
(pk-command-not-found:12233): PackageKit-DEBUG: emit transaction-list-changed
(pk-command-not-found:12233): PackageKit-DEBUG: already processing request 0x1, so ignoring
(pk-command-not-found:12233): PackageKit-DEBUG: already processing request 0x1, so ignoring
(pk-command-not-found:12233): PackageKit-DEBUG: got properties, ended DBus call: 0x1116020 (0x1)
(pk-command-not-found:12233): PackageKit-DEBUG: percentage now -1
(pk-command-not-found:12233): PackageKit-DEBUG: caller-active now 1
(pk-command-not-found:12233): PackageKit-DEBUG: uid now 502
(pk-command-not-found:12233): PackageKit-DEBUG: status now setup
(pk-command-not-found:12233): PackageKit-DEBUG: subpercentage now -1
(pk-command-not-found:12233): PackageKit-DEBUG: got property results, ended DBus call: 0x1116020 ((nil))
(pk-command-not-found:12233): PackageKit-DEBUG: changed so checking properties, started DBus call: 0x1116020 (0x2)
(pk-command-not-found:12233): PackageKit-DEBUG: interface changed, started DBus call: 0x1116020 (0x2)
(pk-command-not-found:12233): PackageKit-DEBUG: already processing request 0x2, so ignoring
(pk-command-not-found:12233): PackageKit-DEBUG: got properties, ended DBus call: 0x1116020 (0x2)
(pk-command-not-found:12233): PackageKit-DEBUG: status now query
(pk-command-not-found:12233): PackageKit-DEBUG: allow-cancel now 1
(pk-command-not-found:12233): PackageKit-DEBUG: got property results, ended DBus call: 0x1116020 ((nil))
(pk-command-not-found:12233): PackageKit-DEBUG: properties changed, so getting new list
(pk-command-not-found:12233): PackageKit-DEBUG: changed so checking properties, started DBus call: 0x1116020 (0x3)
(pk-command-not-found:12233): PackageKit-DEBUG: interface changed, started DBus call: 0x1116020 (0x3)
(pk-command-not-found:12233): PackageKit-DEBUG: already processing request 0x3, so ignoring
(pk-command-not-found:12233): PackageKit-DEBUG: notify::mime-types
(pk-command-not-found:12233): PackageKit-DEBUG: notify::distro-id
(pk-command-not-found:12233): PackageKit-DEBUG: notify::locked
(pk-command-not-found:12233): PackageKit-DEBUG: notify::version-micro
(pk-command-not-found:12233): PackageKit-DEBUG: notify::version-major
(pk-command-not-found:12233): PackageKit-DEBUG: notify::version-minor
(pk-command-not-found:12233): PackageKit-DEBUG: notify::backend-description
(pk-command-not-found:12233): PackageKit-DEBUG: notify::network-state
(pk-command-not-found:12233): PackageKit-DEBUG: notify::roles
(pk-command-not-found:12233): PackageKit-DEBUG: notify::backend-name
(pk-command-not-found:12233): PackageKit-DEBUG: notify::backend-author
(pk-command-not-found:12233): PackageKit-DEBUG: notify::groups
(pk-command-not-found:12233): PackageKit-DEBUG: notify::filters
(pk-command-not-found:12233): PackageKit-DEBUG: got properties, ended DBus call: 0x1116020 (0x3)
(pk-command-not-found:12233): PackageKit-DEBUG: status now finished
(pk-command-not-found:12233): PackageKit-DEBUG: allow-cancel now 0
(pk-command-not-found:12233): PackageKit-DEBUG: got property results, ended DBus call: 0x1116020 ((nil))
(pk-command-not-found:12233): PackageKit-DEBUG: properties changed, so getting new list
(pk-command-not-found:12233): PackageKit-DEBUG: exit_text=success
(pk-command-not-found:12233): PackageKit-DEBUG: state array remove 0x1116020

Comment 1 Richard Hughes 2011-02-09 12:50:49 UTC

*** This bug has been marked as a duplicate of bug 666254 ***