Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 177874

Summary: net-analyzer/snort incorrect instructions (DB schemas compression)
Product: Gentoo Linux Reporter: Richard Scott <gentoo.bugs>
Component: New packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 169772    

Description Richard Scott 2007-05-09 22:58:50 UTC
In the final instructions for installing snort you are told to run the following to create a DB in MySQL:

zcat /usr/share/doc/snort-2.6.1.4/schemas/create_mysql.gz | mysql -p snort"

This won't work as the file is not a gzip file and you need to use the following:

bzcat /usr/share/doc/snort-2.6.1.4/schemas/create_mysql.bz2 | mysql -u snort -p snort

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-10 06:08:25 UTC
The file shouldn't be compressed at all, preferably; bzcat is not a solution for people w/ PORTAGE_COMPRESS="gzip"
Comment 2 Richard Scott 2007-05-10 11:24:03 UTC
I totally agree. I was just pointing out that it looked to be wrong to me as the two didn't match up.

My system has no PORTAGE_COMPRESS set, so what's the default PORTAGE_COMPRESS if you don't set it?

I can't see it referenced in either /etc/make.conf or /etc/make.conf.example :-(
Comment 3 Daniel Black (RETIRED) gentoo-dev 2007-05-20 02:27:05 UTC
will be fixed to refer to bzcat when i add 2.6.1.5
Comment 4 Daniel Black (RETIRED) gentoo-dev 2007-05-20 08:27:49 UTC
included in ebuild draft for next version. bug #178606