[8.162][NOTABUG][CLOSED] geoip package

Hello Friends !

after new up2date geoip package suppose to installed  
/var/pattern/geoip/GeoIP.dat
/var/pattern/geoip/GeoIPv6.dat

this files but i u look at this folder that is empty and some time back it was giving some message in middle-ware regarding that some files not found 


  rpm -qa --last |head
u2d-clam-7-6604                               Thu 07 Apr 2011 09:04:46 AM IST
u2d-geoip-7-26                                Thu 07 Apr 2011 06:42:27 AM IST
u2d-avira-7-3000                              Thu 07 Apr 2011 12:27:19 AM IST
kernel-smp64-2.6.32.31-9.g92db8da             Tue 29 Mar 2011 11:06:55 PM IST
chroot-snort-2.9.0.4-13.g8350999              Tue 29 Mar 2011 11:06:53 PM IST
chroot-afc-8.16-5.gafa110b                    Tue 29 Mar 2011 11:06:53 PM IST
ep-confd-8.16-208.gbae0302                    Tue 29 Mar 2011 11:06:52 PM IST
chroot-openvpn-8.16-1.g73b1e8e                Tue 29 Mar 2011 11:06:52 PM IST
ep-webadmin-8.16-228.gc37c05d                 Tue 29 Mar 2011 11:06:51 PM IST
ep-webadmin-contentmanager-8.16-7.gaf668dc    Tue 29 Mar 2011 11:06:48 PM IST
acenn:/home/login # rpm -ql u2d-geoip-7-26
/var/pattern/geoip
/var/pattern/geoip/GeoIP.dat
/var/pattern/geoip/GeoIPv6.dat
acenn:/home/login # ls -la /var/pattern/geoip
total 8
drwxr-xr-x  2 root root 4096 2011-04-07 06:42 .
drwxr-xr-x 13 root root 4096 2011-03-01 01:10 ..
acenn:/home/login #

edit """"" or Asg V8 doesn't require old geoip package it use new ""u2d-geoipxt-7-8"" package 

thanks
Parents
  • see https://community.sophos.com/products/unified-threat-management/astaroorg/f/110/t/70350, and after that: please stop posting false assumptions.


    Can u pleaes tell me what is false ? 

    if u check the package geoip package it suppose to to come with two files 

    RPM Query - Linux Commands

    l Displays all files associated with the package

    and there suppose to be 2 files 

    /var/pattern/geoip/GeoIP.dat
    /var/pattern/geoip/GeoIPv6.dat

    but if u check this dirctory there are no files listed as package say it has installed 

    if i am doing wrong please tell me what was wrong i was expected notabug  that's why i posted as a info 

    edit :as my some of thread are suppose to be 100% bug which was marked as a not a bug that's why this was info  if u want i will post a list 
      rpm -qa |grep -i geo
    
    u2d-geoipxt-7-8
    u2d-geoip-7-26
    geoip-1.4.5-9.g4fe5071
    perl-Geo-IP-1.37-1.449.g1462510
    acenn:/home/login # rpm -ql u2d-geoip-7-26
    /var/pattern/geoip
    /var/pattern/geoip/GeoIP.dat
    /var/pattern/geoip/GeoIPv6.dat
    acenn:/home/login # ls -l /var/pattern/geoip
    total 0
    acenn:/home/login # rpm -ql geoip
    /usr/bin
    /usr/bin/geoiplookup
    /usr/bin/geoiplookup6
    /usr/bin/geoipupdate
    /usr/lib/libGeoIP.so.1
    /usr/lib/libGeoIP.so.1.4.5
    /usr/lib/libGeoIPUpdate.so.0
    /usr/lib/libGeoIPUpdate.so.0.0.0
    /usr/share/GeoIP
    acenn:/home/login # ls -l /usr/bin/ge
    gencat        geoiplookup   getconf       getfattr
    genDDNSkey    geoiplookup6  getent        getopt
    gendiff       geoipupdate   getfacl
    acenn:/home/login # ls -l /usr/lib/libGeoIP
    libGeoIP.so.1            libGeoIPUpdate.so.0
    libGeoIP.so.1.4.5        libGeoIPUpdate.so.0.0.0
    acenn:/home/login # ls -l /usr/lib/libGeoIP


    thx
  • Hi utm_kid,
    Can u pleaes tell me what is false ? 


    sure.

    First of all, let's ask ourselves some questions:

    Is there a problem?

    We don't know. You didn't tell us. You only tell us about your assumption regarding an .rpm file.



    Is there a problem with geoip?

    Probably not. We didn't change anything, so it's unlikely that we broke it. I verified it myself that it is still working, so... no, there's no geoip problem.



    Did you verify that there actually IS a problem with geoip?

    No you didn't. You just looked at the output of rpm and ls.



    How do i verify that geoip is still working?

    Just block "Germany" and try to use the forum. [;)]
    Or, if you're too lazy to log into the webadmin, you can try the command line tool. Just enter "geoiplookup 123.124.125.126" on the console.
    It will tell you the country that IP is located in.



    So, geoip is still working?

    Yes it is. And you can easily verify that for yourself.



    So, what's the problem?

    There is no problem with geoip.



    But there are files missing from my system?

    This is not a question. This is a (false) assumption.



    But they are supposed to be in that .RPM file?

    This is not question too. Your assumption is wrong.



    But how can i know?

    That one is simple: You can't. The RPM doesn't contain information about how we intend to use the files in the RPM.
    But there a some hints:


    • the filename starts with u2d- which could relate to "up2date"
    • the path used in the rpm contains "pattern", which could relate to pattern-up2date

    Knowing that these are pattern files, there might be a good change, that we have moved them from the "pattern" directory to their final place in the filesystem.



    But if i cannot know...?

    You do not need to know. It's not your business. These are the parts that you don't have to look at, especially if you don't understand enough of the underlying system.



    But i'm trying to learn ASG...?

    • Is this a question? I don't think so. If you are trying to learn how Linux works, just head over to the Linux-distro of you choice and ask them.


    But...?

    You're welcome to test the ASG and report bugs.
    You're not welcome if you are simply guessing and posting about your false assumptions. That's just waste of time.
    You still haven't read my post on http://www.astaro.org/astaro-beta-versions/asg-v8-200-beta/36295-how-write-good-bug-reports.html, haven't you?





    Now, please read all of this again, then take a cup of tea or coffee or whatever you like best.

    Have a break and think about it.

    Think about it, before you write an answer to this post.

    Cheers,
    Kai

    [SIZE="1"]PS: You'll find the "missing" files under [FONT="Courier New"]/usr/share/GeoIP/GeoIP*.dat[/FONT].
    [/SIZE]
  • Hi kai !

    well understood and good wrote that's why i am not rushing to report a bug 

    i also found this files and i check timestamps also of this files but why they are not there where they suppose to be as per package  or we can directly push this files to their respective directory also 
    why not link them ?

    /var/storage/chroot-http/var/pattern/geoip/GeoIPv6.dat
    /var/storage/chroot-http/var/pattern/geoip/GeoIP.dat

    /var/geoip/GeoIP.dat
    /var/geoip/GeoIPv6.dat

    BTW :u r writeup is good i will make copy of this and memories it 

    thanks
  • Hi utm_kid,


    why not link them ?


    They get replaced during up2date, so linking is not an option. 

    Anyway, that's a design decision, that we (the developers) make. This is not a decision that you (as the user of the ASG) have to care about.


     i will make copy of this and memories it 


    You're welcome.
Reply
  • Hi utm_kid,


    why not link them ?


    They get replaced during up2date, so linking is not an option. 

    Anyway, that's a design decision, that we (the developers) make. This is not a decision that you (as the user of the ASG) have to care about.


     i will make copy of this and memories it 


    You're welcome.
Children