Your message dated Wed, 23 Sep 2009 00:47:20 +0000
with message-id <[email protected]>
and subject line Bug#545082: fixed in snort 2.8.4.1-4
has caused the Debian Bug report #545082,
regarding snort-mysql failed to install/upgrade: subprocess post-installation
script returned error exit status 6
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
545082: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545082
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: snort
Version: 2.8.4.1-3
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu karmic ubuntu-patch
Introduce checking to determind if database is configured on installation
and not attempt to start if it isn't, removing the failed to install/upgrade
issue.
For more information see: https://launchpad.net/bugs/222091
-- System Information:
Debian Release: squeeze/sid
APT prefers karmic-updates
APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500,
'karmic-backports'), (500, 'karmic')
Architecture: i386 (i686)
Kernel: Linux 2.6.31-8-generic (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u snort-2.8.4.1/debian/snort-pgsql.postinst snort-2.8.4.1/debian/snort-pgsql.postinst
--- snort-2.8.4.1/debian/snort-pgsql.postinst
+++ snort-2.8.4.1/debian/snort-pgsql.postinst
@@ -68,8 +68,18 @@
DEBIAN_SNORT_STATS_RCPT="$STATS_RCPT"
DEBIAN_SNORT_STATS_THRESHOLD="$STATS_THRESHOLD"
EOF
+ if [ -e /etc/snort/db-pending-config ] ; then
+ STARTUP="manual"
+ echo
+ echo "/etc/snort/db-pending-config file found"
+ echo "Snort will not start as its database is not yet configured."
+ echo "Please configure the database as described in"
+ echo "/usr/share/doc/snort-pgsql/README-database.Debian"
+ echo "and then remove /etc/snort/db-pending-config"
+ fi
- if [ -f /etc/snort/snort.conf ]; then
+ if [ "$STARTUP" != "manual" ]; then
+ if [ -f /etc/snort/snort.conf ]; then
# insert database config stuff in the configuration file,
# or configure it for syslog-logging.
db_get snort-pgsql/configure_db
@@ -133,8 +143,8 @@
chown root:snort /etc/snort/snort.conf
chmod 640 /etc/snort/snort.conf
fi
+ fi
fi
-
db_stop
# Check for left-over files from woody packages.
diff -u snort-2.8.4.1/debian/snort-mysql.postinst snort-2.8.4.1/debian/snort-mysql.postinst
--- snort-2.8.4.1/debian/snort-mysql.postinst
+++ snort-2.8.4.1/debian/snort-mysql.postinst
@@ -69,7 +69,18 @@
DEBIAN_SNORT_STATS_THRESHOLD="$STATS_THRESHOLD"
EOF
- if [ -f /etc/snort/snort.conf ]; then
+ if [ -e /etc/snort/db-pending-config ] ; then
+ STARTUP="manual"
+ echo
+ echo "/etc/snort/db-pending-config file found"
+ echo "Snort will not start as its database is not yet configured."
+ echo "Please configure the database as described in"
+ echo "/usr/share/doc/snort-mysql/README-database.Debian"
+ echo "and then remove /etc/snort/db-pending-config"
+ fi
+
+ if [ "$STARTUP" != "manual" ]; then
+ if [ -f /etc/snort/snort.conf ]; then
# insert database config stuff in the configuration file,
# or configure it for syslog-logging.
db_get snort-mysql/configure_db
@@ -133,8 +144,8 @@
chown root:snort /etc/snort/snort.conf
chmod 640 /etc/snort/snort.conf
fi
+ fi
fi
-
db_stop
# Check for left-over files from woody packages.
--- End Message ---
--- Begin Message ---
Source: snort
Source-Version: 2.8.4.1-4
We believe that the bug you reported is fixed in the latest version of
snort, which is due to be installed in the Debian FTP archive:
snort-common-libraries_2.8.4.1-4_i386.deb
to pool/main/s/snort/snort-common-libraries_2.8.4.1-4_i386.deb
snort-common_2.8.4.1-4_all.deb
to pool/main/s/snort/snort-common_2.8.4.1-4_all.deb
snort-doc_2.8.4.1-4_all.deb
to pool/main/s/snort/snort-doc_2.8.4.1-4_all.deb
snort-mysql_2.8.4.1-4_i386.deb
to pool/main/s/snort/snort-mysql_2.8.4.1-4_i386.deb
snort-pgsql_2.8.4.1-4_i386.deb
to pool/main/s/snort/snort-pgsql_2.8.4.1-4_i386.deb
snort-rules-default_2.8.4.1-4_all.deb
to pool/main/s/snort/snort-rules-default_2.8.4.1-4_all.deb
snort_2.8.4.1-4.diff.gz
to pool/main/s/snort/snort_2.8.4.1-4.diff.gz
snort_2.8.4.1-4.dsc
to pool/main/s/snort/snort_2.8.4.1-4.dsc
snort_2.8.4.1-4_i386.deb
to pool/main/s/snort/snort_2.8.4.1-4_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Javier Fernandez-Sanguino Pen~a <[email protected]> (supplier of updated snort
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 23 Sep 2009 01:35:05 +0200
Source: snort
Binary: snort snort-common snort-doc snort-mysql snort-pgsql
snort-rules-default snort-common-libraries
Architecture: source i386 all
Version: 2.8.4.1-4
Distribution: unstable
Urgency: low
Maintainer: Javier Fernandez-Sanguino Pen~a <[email protected]>
Changed-By: Javier Fernandez-Sanguino Pen~a <[email protected]>
Description:
snort - flexible Network Intrusion Detection System
snort-common - flexible Network Intrusion Detection System [common files]
snort-common-libraries - flexible Network Intrusion Detection System ruleset
snort-doc - Documentation for the Snort IDS [documentation]
snort-mysql - flexible Network Intrusion Detection System [MySQL]
snort-pgsql - flexible Network Intrusion Detection System [PostgreSQL]
snort-rules-default - flexible Network Intrusion Detection System ruleset
Closes: 512810 540450 545082 547316
Changes:
snort (2.8.4.1-4) unstable; urgency=low
.
* Fix init.d so that if 'restart' is executed when no instance is
running (no pidfile) it will try to start all of instances, just
if 'start' was executed. (Closes: #540450)
* Add information on how the init.d script works (Closes: #512810)
* Fix name of file in README-database.Debian, remove the database
information from the main README.Debian file.
* Fix bug in debian/clean-sources.sh script (Closes: #547316)
* Use a patch provided by Dave Walker <DaveWalker_AT_ubuntu.com>
to prevent starting snort-mysql|pgsql if the database is not configured
yet. This bug cannot be really fixed until we use dbconfig-common
here to ask for all the database information to the user
through Debconf. (LP: #222091) (Closes: #545082)
Checksums-Sha1:
6d9d9d271b5fdc1b87563acaa662465662d455d5 1402 snort_2.8.4.1-4.dsc
de168ff91ac5d83cb57ebc343c59021b3af2acd1 1598692 snort_2.8.4.1-4.diff.gz
b4b039ee0949e12d20a959ce828195ad13669ba2 536006 snort_2.8.4.1-4_i386.deb
8db52dff740d6abae877c7d68584b01e7afc4016 548046 snort-mysql_2.8.4.1-4_i386.deb
ffbf9d91d289d29aa2c017f5c2991445f0c99bf4 547754 snort-pgsql_2.8.4.1-4_i386.deb
a6a669e40e40a4b0796c5ed1d6084ad491aae748 517314
snort-common-libraries_2.8.4.1-4_i386.deb
e357d33e29e137e887cb3545fc6630c3dab6a15e 158038 snort-common_2.8.4.1-4_all.deb
9209acb5192ca2de8b2edb0786ce1597c154cdc3 2563250 snort-doc_2.8.4.1-4_all.deb
d4fba2df1e0c62e1aa9c2e98c0b0ce733f5fcc93 336046
snort-rules-default_2.8.4.1-4_all.deb
Checksums-Sha256:
45b7961f3965906b62487f23af9f3e98e9ae118072ec84ab8e6ea5f8dd5b54b4 1402
snort_2.8.4.1-4.dsc
9401e2f99e2a331de948fa926b5f07480fbb1490318b6440a6e4535e279ddf19 1598692
snort_2.8.4.1-4.diff.gz
58b39efc9a4d83f34eab06c4aa096ca514cf38c25376ce5892b32f41f37ef114 536006
snort_2.8.4.1-4_i386.deb
14982e8daf0f9fcbf6ca2a3f3aadbc584126e59fbf0a3681b22152dffb88ba63 548046
snort-mysql_2.8.4.1-4_i386.deb
79aa57aecba7fa86ac1aab772ab3d47cebaa8fc634d55951323641d2d37b9ba5 547754
snort-pgsql_2.8.4.1-4_i386.deb
c67cb1978de5117503dd1864c94482124097fc82ff57ada4673cf78060e7d165 517314
snort-common-libraries_2.8.4.1-4_i386.deb
2115bf565b16eaf83bc122e38cfaf43dee3c2ff085a69c15947a285ee817590c 158038
snort-common_2.8.4.1-4_all.deb
46e9c29d4a561c3edf513941f89b0aed9592730b1183aef5c23f57663d67bae1 2563250
snort-doc_2.8.4.1-4_all.deb
55552a87ab5ff649c10dacd9aa2155dbfeef09088c87b8878211f1438c19758b 336046
snort-rules-default_2.8.4.1-4_all.deb
Files:
d7f52b1d3352944da162721dc2c3f6dd 1402 net optional snort_2.8.4.1-4.dsc
7c63cf96bc57d085fbf55c43941dd917 1598692 net optional snort_2.8.4.1-4.diff.gz
c1a9691d0a07bedec0c002ccf55f5f6d 536006 net optional snort_2.8.4.1-4_i386.deb
ee670fb0c5dbb0e4e67aabdde6eff19b 548046 net extra
snort-mysql_2.8.4.1-4_i386.deb
9cf53468a4b077112743d14bb414ef54 547754 net optional
snort-pgsql_2.8.4.1-4_i386.deb
a4a58a3f4e4bfe37fd339eba7a33ad05 517314 net optional
snort-common-libraries_2.8.4.1-4_i386.deb
5f35800a651c3667cbc58012cd4f94fd 158038 net optional
snort-common_2.8.4.1-4_all.deb
7cd6b43baaa414c90a75efd7994d9b02 2563250 doc optional
snort-doc_2.8.4.1-4_all.deb
b2e45a8e8a6ec07ac1314a104efa8fdb 336046 net optional
snort-rules-default_2.8.4.1-4_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKuWw0sandgtyBSwkRApP6AJ9j5Hr4ZoMMfNHMxpTh+38rkedBrQCggb/0
ymwKxqjjdL3sOb1LDSl07wU=
=Asue
-----END PGP SIGNATURE-----
--- End Message ---