View Issue Details

IDProjectCategoryView StatusLast Update
0004432Kali Linux[All Projects] General Bugpublic2017-12-20 10:36
Reporterijnnji Assigned Tosbrun  
Status resolvedResolutionfixed 
Product Version2017.2 
Target VersionFixed in Version2018.1 
Summary0004432: /usr/bin/geoip missing *.yml files
DescriptionThe geoip command is looking for, required, *.yml files in the wrong location.
Steps To Reproduceerror :

root@kali:~# geoip
/usr/lib/ruby/2.3.0/psych.rb:474:in `initialize': No such file or directory @ rb_sysopen - /usr/lib/ruby/data/geoip/country_code.yml (Errno::ENOENT)
    from /usr/lib/ruby/2.3.0/psych.rb:474:in `open'
    from /usr/lib/ruby/2.3.0/psych.rb:474:in `load_file'
    from /usr/lib/ruby/vendor_ruby/geoip.rb:68:in `<class:GeoIP>'
    from /usr/lib/ruby/vendor_ruby/geoip.rb:58:in `<top (required)>'
    from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/bin/geoip:6:in `<main>'
Additional Informationfix :

ln -s /usr/share/ruby-geoip/geoip/ /usr/lib/ruby/data/geoip

root@kali:~# geoip
#<struct GeoIP::Country request="", ip="", country_code=225, country_code2="US", country_code3="USA", country_name="United States", continent_code="NA">



2017-12-20 10:36

manager   ~0007718

fixed in ruby-geoip version 1.4.0-0kali3

Issue History

Date Modified Username Field Change
2017-12-19 23:55 ijnnji New Issue
2017-12-20 07:54 rhertzog Assigned To => sbrun
2017-12-20 07:54 rhertzog Status new => assigned
2017-12-20 10:36 sbrun Status assigned => resolved
2017-12-20 10:36 sbrun Resolution open => fixed
2017-12-20 10:36 sbrun Fixed in Version => 2018.1
2017-12-20 10:36 sbrun Note Added: 0007718