Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177874 - net-analyzer/snort incorrect instructions (DB schemas compression)
Summary: net-analyzer/snort incorrect instructions (DB schemas compression)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: portage-compress
  Show dependency tree
 
Reported: 2007-05-09 22:58 UTC by Richard Scott
Modified: 2009-07-12 18:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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