Bug#656445: snort: fails to install - command not found in postinst

2012-01-19 Thread Andreas Beckmann
Package: snort
Version: 2.9.2-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install. As
per definition of the release team this makes the package too buggy for
a release, thus the severity.

From the attached log (scroll to the bottom...):

  Selecting previously unselected package snort.
  (Reading database ... 8644 files and directories currently installed.)
  Unpacking snort (from .../snort_2.9.2-1_amd64.deb) ...
  Setting up snort (2.9.2-1) ...
  /var/lib/dpkg/info/snort.config: 15: /var/lib/dpkg/info/snort.config: 
ifconfig: not found
  /var/lib/dpkg/info/snort.postinst: 163: /var/lib/dpkg/info/snort.postinst: 
cannot create /var/lib/snort/snort.debian.conf.md5sum: Directory nonexistent
  dpkg: error processing snort (--configure):
   subprocess installed post-installation script returned error exit status 2
  Errors were encountered while processing:
   snort


cheers,

Andreas


snort_2.9.2-1.log.gz
Description: GNU Zip compressed data


Bug#656445: snort: fails to install - command not found in postinst

2012-01-19 Thread Javier Fernández-Sanguino Peña
On Thu, Jan 19, 2012 at 02:03:42PM +0100, Andreas Beckmann wrote:
 during a test with piuparts I noticed your package failed to install.
(...)
   Setting up snort (2.9.2-1) ...
   /var/lib/dpkg/info/snort.config: 15: /var/lib/dpkg/info/snort.config: 
 ifconfig: not found
   /var/lib/dpkg/info/snort.postinst: 163: /var/lib/dpkg/info/snort.postinst: 
 cannot create /var/lib/snort/snort.debian.conf.md5sum: Directory nonexistent
(...)

This is because of two issues:

 - the configuration script requires 'ifconfig'. I though that would be
   essential but it seems that now this belongs in the net-tools package
   which is important Priority only.
 - the directory where the md5sums does not get create properly and the
   postinst script fails.

I will fix both of these and upload a new package to unstable. Thanks for
reporting these issues.

Regards

Javier


signature.asc
Description: Digital signature