Bug 1139033 - [abrt] hash-slinger: sshfp:136:check_keytype:NameError: global name 'hostname' is not defined
Summary: [abrt] hash-slinger: sshfp:136:check_keytype:NameError: global name 'hostname...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hash-slinger
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paul Wouters
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:8421b9e9aaf117c80292b44e391...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-07 16:02 UTC by Leighton Sheppard
Modified: 2015-01-21 23:06 UTC (History)
2 users (show)

Fixed In Version: hash-slinger-2.6-1.fc20
Clone Of:
Environment:
Last Closed: 2015-01-21 23:04:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (719 bytes, text/plain)
2014-09-07 16:02 UTC, Leighton Sheppard
no flags Details
File: environ (2.56 KB, text/plain)
2014-09-07 16:02 UTC, Leighton Sheppard
no flags Details

Description Leighton Sheppard 2014-09-07 16:02:40 UTC
Version-Release number of selected component:
hash-slinger-2.5-1.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/bin/sshfp
executable:     /usr/bin/sshfp
kernel:         3.15.10-201.fc20.x86_64
runlevel:       N 3
type:           Python
uid:            1000

Truncated backtrace:
sshfp:136:check_keytype:NameError: global name 'hostname' is not defined

Traceback (most recent call last):
  File "/usr/bin/sshfp", line 374, in <module>
    main()
  File "/usr/bin/sshfp", line 359, in main
    data = sshfp_from_file(khfile, args)
  File "/usr/bin/sshfp", line 127, in sshfp_from_file
    fingerprints.append(process_records(data, wantedHosts))
  File "/usr/bin/sshfp", line 169, in process_records
    if not check_keytype(keytype):
  File "/usr/bin/sshfp", line 136, in check_keytype
    print >> sys.stderr, "Could only find key type %s for %s" % (keytype, hostname)
NameError: global name 'hostname' is not defined

Local variables in innermost frame:
keytype: 'ecdsa-sha2-nistp256'
algo: 'rsa'

Comment 1 Leighton Sheppard 2014-09-07 16:02:42 UTC
Created attachment 935171 [details]
File: backtrace

Comment 2 Leighton Sheppard 2014-09-07 16:02:43 UTC
Created attachment 935172 [details]
File: environ

Comment 3 Paul Wouters 2015-01-06 02:31:59 UTC
*** Bug 1178531 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2015-01-06 15:02:12 UTC
hash-slinger-2.6-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/hash-slinger-2.6-1.fc20

Comment 5 Fedora Update System 2015-01-07 01:28:34 UTC
Package hash-slinger-2.6-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hash-slinger-2.6-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-0302/hash-slinger-2.6-1.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2015-01-13 16:34:21 UTC
hash-slinger-2.6-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/hash-slinger-2.6-1.fc21

Comment 7 Fedora Update System 2015-01-21 23:04:25 UTC
hash-slinger-2.6-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2015-01-21 23:06:10 UTC
hash-slinger-2.6-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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