Debian Bug report logs - #439642
Snort does not work on amd64, tries to load 32-bit libraries

version graph

Package: snort; Maintainer for snort is Javier Fernández-Sanguino Peña <jfs@debian.org>; Source for snort is src:snort (PTS, buildd, popcon).

Reported by: Hans <hans.ullrich@loop.de>

Date: Sun, 26 Aug 2007 09:24:09 UTC

Severity: grave

Tags: help

Found in version snort/2.7.0-3

Fixed in version snort/2.7.0-6

Done: Javier Fernandez-Sanguino Pen~a <jfs@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Javier Fernandez-Sanguino Pen~a <jfs@computer.org>:
Bug#439642; Package snort. (full text, mbox, link).


Acknowledgement sent to Hans <hans.ullrich@loop.de>:
New Bug report received and forwarded. Copy sent to Javier Fernandez-Sanguino Pen~a <jfs@computer.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Hans <hans.ullrich@loop.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: snort will not start
Date: Sun, 26 Aug 2007 11:25:07 +0200
Package: snort
Version: 2.7.0-3
Severity: grave



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages snort depends on:
ii  adduser                 3.104            add and remove users and groups
ii  coreutils               5.97-5.4         The GNU core utilities
ii  debconf [debconf-2.0]   1.5.14           Debian configuration management sy
ii  libc6                   2.6.1-1          GNU C Library: Shared libraries
ii  libgcrypt11             1.2.4-2          LGPL Crypto library - runtime libr
ii  libgnutls13             1.7.18-2         the GNU TLS library - runtime libr
ii  libgpg-error0           1.4-2            library for common error values an
ii  libltdl3                1.5.24-1         A system independent dlopen wrappe
ii  libpcap0.8              0.9.7-1          System interface for user-level pa
ii  libpcre3                7.2-1            Perl 5 Compatible Regular Expressi
ii  libprelude2             0.9.15-1         Hybrid Intrusion Detection System 
ii  libtasn1-3              0.3.10-1         Manage ASN.1 structures (runtime)
ii  logrotate               3.7.1-3          Log rotation utility
ii  snort-common            2.7.0-3          Flexible Network Intrusion Detecti
ii  snort-rules-default     2.7.0-3          Flexible Network Intrusion Detecti
ii  sysklogd [system-log-da 1.5-1            System Logging Daemon
ii  zlib1g                  1:1.2.3.3.dfsg-5 compression library - runtime

Versions of packages snort recommends:
pn  snort-doc                     <none>     (no description available)

-- debconf information:
* snort/startup: boot
  snort/please_restart_manually:
* snort/stats_treshold: 1
* snort/address_range: any
* snort/options:
* snort/invalid_interface:
* snort/interface: ath0 eth0
* snort/stats_rcpt: ullhan63
* snort/send_stats: true
  snort/config_parameters:
* snort/config_error:
* snort/reverse_order: false
* snort/disable_promiscuous: false

Dear maintainers,

on my AMD64 X2 system the latest version inhibits to start. It is looking 
like an dependency or lib related problem.

This is out of the log:

------------  snip  --------------------------
Aug 26 11:16:16 protheus2 snort[7724]: Rule application order:
activation->dynamic->pass->drop->alert->log
Aug 26 11:16:16 protheus2 snort[7724]: Log directory = /var/log/snort
Aug 26 11:16:16 protheus2 snort[7724]: Loading dynamic engine
/usr/lib/snort_dynamicengine/libsf_engine.so...
Aug 26 11:16:16 protheus2 snort[7724]: FATAL ERROR: Failed to load
//usr/lib/snort_dynamicengine/libsf_engine.so:
///usr/lib/snort_dynamicengine/libsf_engine.so: wrong ELF class: ELFCLASS32


------------  snap ------------

Thank you !


Best regards

Hans-J. Ullrich



Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernandez-Sanguino Pen~a <jfs@computer.org>:
Bug#439642; Package snort. (full text, mbox, link).


Acknowledgement sent to Javier Fernández-Sanguino Peña <jfs@computer.org>:
Extra info received and forwarded to list. Copy sent to Javier Fernandez-Sanguino Pen~a <jfs@computer.org>. (full text, mbox, link).


Message #10 received at 439642@bugs.debian.org (full text, mbox, reply):

From: Javier Fernández-Sanguino Peña <jfs@computer.org>
To: Hans <hans.ullrich@loop.de>, 439642@bugs.debian.org
Subject: Re: Bug#439642: snort will not start
Date: Sun, 26 Aug 2007 13:06:45 +0200
[Message part 1 (text/plain, inline)]
On Sun, Aug 26, 2007 at 11:25:07AM +0200, Hans wrote:
> Dear maintainers,
> 
> on my AMD64 X2 system the latest version inhibits to start. It is looking 
> like an dependency or lib related problem.

It looks like the libraries that snort needs to use are not compiled properly
in ADM64's autobuilders or they need something to work properly.

> This is out of the log:
> 
> ------------  snip  --------------------------
> Aug 26 11:16:16 protheus2 snort[7724]: Rule application order:
> activation->dynamic->pass->drop->alert->log
> Aug 26 11:16:16 protheus2 snort[7724]: Log directory = /var/log/snort
> Aug 26 11:16:16 protheus2 snort[7724]: Loading dynamic engine
> /usr/lib/snort_dynamicengine/libsf_engine.so...
> Aug 26 11:16:16 protheus2 snort[7724]: FATAL ERROR: Failed to load
> //usr/lib/snort_dynamicengine/libsf_engine.so:
> ///usr/lib/snort_dynamicengine/libsf_engine.so: wrong ELF class: ELFCLASS32

Could you please try and comment the following line from your snort.conf and
restart it to see if it works?

dynamicengine /usr/lib/snort_dynamicengine/libsf_engine.so

Please report back whether that works for you or not.

Thanks

Javier
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernandez-Sanguino Pen~a <jfs@computer.org>:
Bug#439642; Package snort. (full text, mbox, link).


Acknowledgement sent to Javier Fernández-Sanguino Peña <jfs@computer.org>:
Extra info received and forwarded to list. Copy sent to Javier Fernandez-Sanguino Pen~a <jfs@computer.org>. (full text, mbox, link).


Message #15 received at 439642@bugs.debian.org (full text, mbox, reply):

From: Javier Fernández-Sanguino Peña <jfs@computer.org>
To: Hans <hans.ullrich@loop.de>, 439642@bugs.debian.org
Subject: Re: Bug#439642: snort will not start
Date: Sun, 26 Aug 2007 13:11:31 +0200
[Message part 1 (text/plain, inline)]
On Sun, Aug 26, 2007 at 11:25:07AM +0200, Hans wrote:
> ///usr/lib/snort_dynamicengine/libsf_engine.so: wrong ELF class: ELFCLASS32

I'm not a library expert, but this bug looks like the libsf_engine.so was
built as a 32bit library, which cannot be loaded into a 64bit program. Could
you please also do this:

$ file /usr/lib/snort_dynamicengine/libsf_engine.so.0.0.0 
$ file /usr/lib/snort_dynamicpreprocessor/libsf_* |grep -v symbolic

and send me the output?

Regards

Javier
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernandez-Sanguino Pen~a <jfs@computer.org>:
Bug#439642; Package snort. (full text, mbox, link).


Acknowledgement sent to "Hans-J. Ullrich" <hans.ullrich@loop.de>:
Extra info received and forwarded to list. Copy sent to Javier Fernandez-Sanguino Pen~a <jfs@computer.org>. (full text, mbox, link).


Message #20 received at 439642@bugs.debian.org (full text, mbox, reply):

From: "Hans-J. Ullrich" <hans.ullrich@loop.de>
To: Javier Fernández-Sanguino Peña <jfs@computer.org>
Cc: 439642@bugs.debian.org
Subject: Re: Bug#439642: snort will not start
Date: Sun, 26 Aug 2007 13:26:00 +0200
Am Sonntag 26 August 2007 schrieb Javier Fernández-Sanguino Peña:
> file /usr/lib/snort_dynamicengine/libsf_engine.so.0.0.0

Hi Javier, 

thank you for your fast response.

This is my output. Please take a look:
---------------
1. 
protheus2:/home/ullhan63# 
file /usr/lib/snort_dynamicengine/libsf_engine.so.0.0.0
/usr/lib/snort_dynamicengine/libsf_engine.so.0.0.0: ELF 32-bit LSB shared 
object, Intel 80386, version 1 (SYSV), stripped

-------------------

This is the other output.

---------------------
2. 
protheus2:/home/ullhan63# 
file /usr/lib/snort_dynamicengine/libsf_engine.so.0.0.0
/usr/lib/snort_dynamicengine/libsf_engine.so.0.0.0: ELF 32-bit LSB shared 
object, Intel 80386, version 1 (SYSV), stripped
protheus2:/home/ullhan63# file /usr/lib/snort_dynamicpreprocessor/libsf_* |
grep -v symbolic
/usr/lib/snort_dynamicpreprocessor/libsf_dcerpc_preproc.a:           current 
ar archive
/usr/lib/snort_dynamicpreprocessor/libsf_dcerpc_preproc.la:          libtool 
library file
/usr/lib/snort_dynamicpreprocessor/libsf_dcerpc_preproc.so.0.0.0:    ELF 
32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
/usr/lib/snort_dynamicpreprocessor/libsf_dns_preproc.a:              current 
ar archive
/usr/lib/snort_dynamicpreprocessor/libsf_dns_preproc.la:             libtool 
library file
/usr/lib/snort_dynamicpreprocessor/libsf_dns_preproc.so.0.0.0:       ELF 
32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
/usr/lib/snort_dynamicpreprocessor/libsf_ftptelnet_preproc.a:        current 
ar archive
/usr/lib/snort_dynamicpreprocessor/libsf_ftptelnet_preproc.la:       libtool 
library file
/usr/lib/snort_dynamicpreprocessor/libsf_ftptelnet_preproc.so.0.0.0: ELF 
32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
/usr/lib/snort_dynamicpreprocessor/libsf_smtp_preproc.a:             current 
ar archive
/usr/lib/snort_dynamicpreprocessor/libsf_smtp_preproc.la:            libtool 
library file
/usr/lib/snort_dynamicpreprocessor/libsf_smtp_preproc.so.0.0.0:      ELF 
32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
/usr/lib/snort_dynamicpreprocessor/libsf_ssh_preproc.a:              current 
ar archive
/usr/lib/snort_dynamicpreprocessor/libsf_ssh_preproc.la:             libtool 
library file
/usr/lib/snort_dynamicpreprocessor/libsf_ssh_preproc.so.0.0.0:       ELF 
32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
protheus2:/home/ullhan63#  

---------------------

I hope, this will help. I am also thinking, the progamm or the required lib is 
32-bit-compiled. 

Best regards

Hans





Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernandez-Sanguino Pen~a <jfs@computer.org>:
Bug#439642; Package snort. (full text, mbox, link).


Acknowledgement sent to Javier Fernández-Sanguino Peña <jfs@computer.org>:
Extra info received and forwarded to list. Copy sent to Javier Fernandez-Sanguino Pen~a <jfs@computer.org>. (full text, mbox, link).


Message #25 received at 439642@bugs.debian.org (full text, mbox, reply):

From: Javier Fernández-Sanguino Peña <jfs@computer.org>
To: "Hans-J. Ullrich" <hans.ullrich@loop.de>
Cc: 439642@bugs.debian.org
Subject: Re: Bug#439642: snort will not start
Date: Mon, 27 Aug 2007 19:02:18 +0200
[Message part 1 (text/plain, inline)]
On Sun, Aug 26, 2007 at 01:26:00PM +0200, Hans-J. Ullrich wrote:
> Am Sonntag 26 August 2007 schrieb Javier Fernández-Sanguino Peña:
> > file /usr/lib/snort_dynamicengine/libsf_engine.so.0.0.0
> 
> Hi Javier, 
> 
> thank you for your fast response.
> 
> This is my output. Please take a look:

(...) 

Did you also try removing the line from the configuration file?
If so, what where the results?

Javier
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernandez-Sanguino Pen~a <jfs@computer.org>:
Bug#439642; Package snort. (full text, mbox, link).


Acknowledgement sent to "Hans-J. Ullrich" <hans.ullrich@loop.de>:
Extra info received and forwarded to list. Copy sent to Javier Fernandez-Sanguino Pen~a <jfs@computer.org>. (full text, mbox, link).


Message #30 received at 439642@bugs.debian.org (full text, mbox, reply):

From: "Hans-J. Ullrich" <hans.ullrich@loop.de>
To: Javier Fernández-Sanguino Peña <jfs@computer.org>
Cc: 439642@bugs.debian.org
Subject: Re: Bug#439642: snort will not start
Date: Mon, 27 Aug 2007 19:08:02 +0200
Am Montag 27 August 2007 schrieb Javier Fernández-Sanguino Peña:
> On Sun, Aug 26, 2007 at 01:26:00PM +0200, Hans-J. Ullrich wrote:
> > Am Sonntag 26 August 2007 schrieb Javier Fernández-Sanguino Peña:
> > > file /usr/lib/snort_dynamicengine/libsf_engine.so.0.0.0
> >
> > Hi Javier,
> >
> > thank you for your fast response.
> >
> > This is my output. Please take a look:
>
> (...)
>
> Did you also try removing the line from the configuration file?
> If so, what where the results?
>
> Javier

Hi Javier,

sorry, which line do you mean ???

Regards

Hans






Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernandez-Sanguino Pen~a <jfs@computer.org>:
Bug#439642; Package snort. (full text, mbox, link).


Acknowledgement sent to Javier Fernández-Sanguino Peña <jfs@computer.org>:
Extra info received and forwarded to list. Copy sent to Javier Fernandez-Sanguino Pen~a <jfs@computer.org>. (full text, mbox, link).


Message #35 received at 439642@bugs.debian.org (full text, mbox, reply):

From: Javier Fernández-Sanguino Peña <jfs@computer.org>
To: "Hans-J. Ullrich" <hans.ullrich@loop.de>
Cc: 439642@bugs.debian.org
Subject: Re: Bug#439642: snort will not start
Date: Mon, 27 Aug 2007 19:13:00 +0200
On Mon, Aug 27, 2007 at 07:08:02PM +0200, Hans-J. Ullrich wrote:
> sorry, which line do you mean ???

From my first mail:

Could you please try and comment the following line from your snort.conf and
restart it to see if it works?

dynamicengine /usr/lib/snort_dynamicengine/libsf_engine.so

Regards

Javier



Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernandez-Sanguino Pen~a <jfs@computer.org>:
Bug#439642; Package snort. (full text, mbox, link).


Acknowledgement sent to "Hans-J. Ullrich" <hans.ullrich@loop.de>:
Extra info received and forwarded to list. Copy sent to Javier Fernandez-Sanguino Pen~a <jfs@computer.org>. (full text, mbox, link).


Message #40 received at 439642@bugs.debian.org (full text, mbox, reply):

From: "Hans-J. Ullrich" <hans.ullrich@loop.de>
To: Javier Fernández-Sanguino Peña <jfs@computer.org>
Cc: 439642@bugs.debian.org
Subject: Re: Bug#439642: snort will not start
Date: Mon, 27 Aug 2007 19:29:06 +0200
Am Montag 27 August 2007 schrieb Javier Fernández-Sanguino Peña:
> On Mon, Aug 27, 2007 at 07:08:02PM +0200, Hans-J. Ullrich wrote:
> > sorry, which line do you mean ???
>
> From my first mail:
>
> Could you please try and comment the following line from your snort.conf
> and restart it to see if it works?
>
> dynamicengine /usr/lib/snort_dynamicengine/libsf_engine.so
>
> Regards
>
> Javier
Hi Javier,

I commented it out.
It will not start. But as you see in /var/log/daemon.log, now there is another 
error.
---------------
protheus2:/etc/snort# tail -f /var/log/daemon.log
Aug 27 19:25:49 protheus2 snort[32423]: 
+-----------------------[thresholding-local]-----------------------------------
Aug 27 19:25:49 protheus2 snort[32423]: | none
Aug 27 19:25:49 protheus2 snort[32423]: 
+-----------------------[suppression]------------------------------------------
Aug 27 19:25:49 protheus2 snort[32423]: | none
Aug 27 19:25:49 protheus2 
snort[32423]: -------------------------------------------------------------------------------
Aug 27 19:25:49 protheus2 snort[32423]: Rule application order: 
activation->dynamic->pass->drop->alert->log
Aug 27 19:25:49 protheus2 snort[32423]: Log directory = /var/log/snort
Aug 27 19:25:49 protheus2 snort[32423]: Loading all dynamic preprocessor libs 
from /usr/lib/snort_dynamicpreprocessor/...
Aug 27 19:25:49 protheus2 snort[32423]:   Loading dynamic preprocessor 
library /usr/lib/snort_dynamicpreprocessor//libsf_ftptelnet_preproc.so...
Aug 27 19:25:49 protheus2 snort[32423]: FATAL ERROR: Failed to 
load /usr/lib/snort_dynamicpreprocessor//libsf_ftptelnet_preproc.so: /usr/lib/snort_dynamicpreprocessor//libsf_ftptelnet_preproc.so: 
wrong ELF class: ELFCLASS32

------------------

But think, it is the same reason: 32-bit-libs.

Hans





Changed Bug title to `Snort does not work on amd64, tries to load 32-bit libraries' from `snort will not start'. Request was from Javier Fernández-Sanguino Peña <jfs@computer.org> to control@bugs.debian.org. (Thu, 30 Aug 2007 17:09:04 GMT) (full text, mbox, link).


Tags added: help Request was from Javier Fernández-Sanguino Peña <jfs@computer.org> to control@bugs.debian.org. (Thu, 30 Aug 2007 17:09:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernandez-Sanguino Pen~a <jfs@computer.org>:
Bug#439642; Package snort. (full text, mbox, link).


Acknowledgement sent to Sami Liedes <sliedes@cc.hut.fi>:
Extra info received and forwarded to list. Copy sent to Javier Fernandez-Sanguino Pen~a <jfs@computer.org>. (full text, mbox, link).


Message #49 received at 439642@bugs.debian.org (full text, mbox, reply):

From: Sami Liedes <sliedes@cc.hut.fi>
To: 439642@bugs.debian.org
Subject: Probably something debian buildd specific
Date: Mon, 24 Sep 2007 17:26:08 +0300
[Message part 1 (text/plain, inline)]
Hi,

When I build snort on my sid amd64 box, the .so files get built as 64
bit as they should. So this is probably something debian buildd
specific.

	Sami
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernandez-Sanguino Pen~a <jfs@computer.org>:
Bug#439642; Package snort. (full text, mbox, link).


Acknowledgement sent to Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>:
Extra info received and forwarded to list. Copy sent to Javier Fernandez-Sanguino Pen~a <jfs@computer.org>. (full text, mbox, link).


Message #54 received at 439642@bugs.debian.org (full text, mbox, reply):

From: Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
To: Sami Liedes <sliedes@cc.hut.fi>, 439642@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#439642: Probably something debian buildd specific
Date: Sun, 30 Sep 2007 05:51:10 +0200
[Message part 1 (text/plain, inline)]
tag 439642 patch
thanks

Sami Liedes <sliedes@cc.hut.fi> (24/09/2007):
> When I build snort on my sid amd64 box, the .so files get built as 64
> bit as they should. So this is probably something debian buildd
> specific.

Indeed.

Why the hell is a package containing .so an Architecture: all package?!

I'd also advise to use “-module -avoid-version” to build plugins, no
need to have .0.0.0 things for them, but please fix that bug first.

An NMU might happen before monday since there's an ongoing BSP.

-- 
Cyril Brulebois
[Message part 2 (application/pgp-signature, inline)]

Tags added: patch Request was from Cyril Brulebois <cyril.brulebois@enst-bretagne.fr> to control@bugs.debian.org. (Sun, 30 Sep 2007 03:54:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernandez-Sanguino Pen~a <jfs@computer.org>:
Bug#439642; Package snort. (full text, mbox, link).


Acknowledgement sent to Javier Fernández-Sanguino Peña <jfs@computer.org>:
Extra info received and forwarded to list. Copy sent to Javier Fernandez-Sanguino Pen~a <jfs@computer.org>. (full text, mbox, link).


Message #61 received at 439642@bugs.debian.org (full text, mbox, reply):

From: Javier Fernández-Sanguino Peña <jfs@computer.org>
To: Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>, 439642@bugs.debian.org
Cc: Sami Liedes <sliedes@cc.hut.fi>, control@bugs.debian.org
Subject: Re: Bug#439642: Probably something debian buildd specific
Date: Sun, 30 Sep 2007 22:27:08 +0200
tags 439642 -patch
thanks

On Sun, Sep 30, 2007 at 05:51:10AM +0200, Cyril Brulebois wrote:
> Why the hell is a package containing .so an Architecture: all package?!

It seems to have been an omission in moving the /usr/lib contents from
snort-common to the snort binary packages.

> I'd also advise to use ???-module -avoid-version??? to build plugins, no
> need to have .0.0.0 things for them, but please fix that bug first.

Why shouldn't there be a versioning for the modules? If libraries are in a
separate package (as they should be) versioninig might be appropiate.


> An NMU might happen before monday since there's an ongoing BSP.

And where's the patch?

Regards

Javier




Tags removed: patch Request was from Javier Fernández-Sanguino Peña <jfs@computer.org> to control@bugs.debian.org. (Sun, 30 Sep 2007 20:30:11 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernandez-Sanguino Pen~a <jfs@computer.org>:
Bug#439642; Package snort. (full text, mbox, link).


Acknowledgement sent to Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>:
Extra info received and forwarded to list. Copy sent to Javier Fernandez-Sanguino Pen~a <jfs@computer.org>. (full text, mbox, link).


Message #68 received at 439642@bugs.debian.org (full text, mbox, reply):

From: Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
To: 439642@bugs.debian.org, Sami Liedes <sliedes@cc.hut.fi>
Subject: Re: Bug#439642: Probably something debian buildd specific
Date: Mon, 1 Oct 2007 12:33:58 +0200
[Message part 1 (text/plain, inline)]
Javier Fernández-Sanguino Peña <jfs@computer.org> (30/09/2007):
> > I'd also advise to use “-module -avoid-version” to build plugins, no
> > need to have .0.0.0 things for them, but please fix that bug first.
> 
> Why shouldn't there be a versioning for the modules? If libraries are
> in a separate package (as they should be) versioninig might be
> appropiate.

It is very common to have plugins built from the same source package and
to not version them, which upstream usually doesn't know about. Reading
the libtool (and more generally autoconf and automake) manual(s) helps.

> > An NMU might happen before monday since there's an ongoing BSP.
> 
> And where's the patch?

“Put the .so in the appropriate package”, do you really expect more? You
might have wanted to remove the “help” tag instead, since you've now got
the hint you were looking for, haven't you?

-- 
Cyril Brulebois
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernandez-Sanguino Pen~a <jfs@computer.org>:
Bug#439642; Package snort. (full text, mbox, link).


Acknowledgement sent to Josselin Mouette <joss@debian.org>:
Extra info received and forwarded to list. Copy sent to Javier Fernandez-Sanguino Pen~a <jfs@computer.org>. (full text, mbox, link).


Message #73 received at 439642@bugs.debian.org (full text, mbox, reply):

From: Josselin Mouette <joss@debian.org>
To: Javier Fernández-Sanguino Peña <jfs@computer.org>
Cc: Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>, 439642@bugs.debian.org, Sami Liedes <sliedes@cc.hut.fi>
Subject: Re: Bug#439642: Probably something debian buildd specific
Date: Mon, 01 Oct 2007 13:14:12 +0200
[Message part 1 (text/plain, inline)]
Le dimanche 30 septembre 2007 à 22:27 +0200, Javier Fernández-Sanguino
Peña a écrit :
> > I'd also advise to use ???-module -avoid-version??? to build plugins, no
> > need to have .0.0.0 things for them, but please fix that bug first.
> 
> Why shouldn't there be a versioning for the modules? If libraries are in a
> separate package (as they should be) versioninig might be appropiate.

Versioning modules is not done the same way as versioning libraries. If
the modules' ABI changes, they should be put in a directory with a
different name. In all cases, you only need a .so for each module,
without versioning (or the lack of versioning that .0.0.0 indicates).

Cheers,
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
  `-  Debian GNU/Linux -- The power of freedom
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernandez-Sanguino Pen~a <jfs@computer.org>:
Bug#439642; Package snort. (full text, mbox, link).


Acknowledgement sent to "Javier Fernandez-Sanguino" <jfs@computer.org>:
Extra info received and forwarded to list. Copy sent to Javier Fernandez-Sanguino Pen~a <jfs@computer.org>. (full text, mbox, link).


Message #78 received at 439642@bugs.debian.org (full text, mbox, reply):

From: "Javier Fernandez-Sanguino" <jfs@computer.org>
To: "Cyril Brulebois" <cyril.brulebois@enst-bretagne.fr>, 439642@bugs.debian.org
Cc: "Sami Liedes" <sliedes@cc.hut.fi>
Subject: Re: Bug#439642: Probably something debian buildd specific
Date: Mon, 1 Oct 2007 13:18:18 +0200
2007/10/1, Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>:
> > And where's the patch?
>
> "Put the .so in the appropriate package", do you really expect more? You
> might have wanted to remove the "help" tag instead, since you've now got
> the hint you were looking for, haven't you?

Well, a patch is a patch. A comment is *not* a patch.

I've already fixed this and uploaded a new version of the package (in
INCOMING, since it introduces a new package). Introducing a new
package and moving files over to it is a non-trivial task.

Regards

Javier




Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernandez-Sanguino Pen~a <jfs@computer.org>:
Bug#439642; Package snort. (full text, mbox, link).


Acknowledgement sent to Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>:
Extra info received and forwarded to list. Copy sent to Javier Fernandez-Sanguino Pen~a <jfs@computer.org>. (full text, mbox, link).


Message #83 received at 439642@bugs.debian.org (full text, mbox, reply):

From: Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
To: Javier Fernandez-Sanguino <jfs@computer.org>
Cc: 439642@bugs.debian.org, Sami Liedes <sliedes@cc.hut.fi>
Subject: Re: Bug#439642: Probably something debian buildd specific
Date: Mon, 1 Oct 2007 13:24:52 +0200
[Message part 1 (text/plain, inline)]
Javier Fernandez-Sanguino <jfs@computer.org> (01/10/2007):
> Well, a patch is a patch. A comment is *not* a patch.

…

> I've already fixed this and uploaded a new version of the package (in
> INCOMING, since it introduces a new package). Introducing a new
> package and moving files over to it is a non-trivial task.

I think you mean NEW. Incoming is <http://incoming.debian.org>, and is
described in <http://www.debian.org/devel/incoming_mirrors.html>.

-- 
Cyril Brulebois
[Message part 2 (application/pgp-signature, inline)]

Tags added: pending Request was from Anibal Monsalve Salazar <anibal@debian.org> to control@bugs.debian.org. (Mon, 01 Oct 2007 12:09:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernandez-Sanguino Pen~a <jfs@computer.org>:
Bug#439642; Package snort. (full text, mbox, link).


Acknowledgement sent to "Javier Fernandez-Sanguino" <jfs@computer.org>:
Extra info received and forwarded to list. Copy sent to Javier Fernandez-Sanguino Pen~a <jfs@computer.org>. (full text, mbox, link).


Message #90 received at 439642@bugs.debian.org (full text, mbox, reply):

From: "Javier Fernandez-Sanguino" <jfs@computer.org>
To: "Cyril Brulebois" <cyril.brulebois@enst-bretagne.fr>
Cc: 439642@bugs.debian.org, "Sami Liedes" <sliedes@cc.hut.fi>
Subject: Re: Bug#439642: Probably something debian buildd specific
Date: Mon, 1 Oct 2007 16:41:22 +0200
2007/10/1, Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>:
> I think you mean NEW. Incoming is <http://incoming.debian.org>, and is
> described in <http://www.debian.org/devel/incoming_mirrors.html>.

True, got confused, meant NEW.

Regards

Javier




Reply sent to Javier Fernandez-Sanguino Pen~a <jfs@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Hans <hans.ullrich@loop.de>:
Bug acknowledged by developer. (full text, mbox, link).


Message #95 received at 439642-close@bugs.debian.org (full text, mbox, reply):

From: Javier Fernandez-Sanguino Pen~a <jfs@debian.org>
To: 439642-close@bugs.debian.org
Subject: Bug#439642: fixed in snort 2.7.0-6
Date: Thu, 04 Oct 2007 13:19:26 +0000
Source: snort
Source-Version: 2.7.0-6

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.7.0-6_i386.deb
  to pool/main/s/snort/snort-common-libraries_2.7.0-6_i386.deb
snort-common_2.7.0-6_all.deb
  to pool/main/s/snort/snort-common_2.7.0-6_all.deb
snort-doc_2.7.0-6_all.deb
  to pool/main/s/snort/snort-doc_2.7.0-6_all.deb
snort-mysql_2.7.0-6_i386.deb
  to pool/main/s/snort/snort-mysql_2.7.0-6_i386.deb
snort-pgsql_2.7.0-6_i386.deb
  to pool/main/s/snort/snort-pgsql_2.7.0-6_i386.deb
snort-rules-default_2.7.0-6_all.deb
  to pool/main/s/snort/snort-rules-default_2.7.0-6_all.deb
snort_2.7.0-6.diff.gz
  to pool/main/s/snort/snort_2.7.0-6.diff.gz
snort_2.7.0-6.dsc
  to pool/main/s/snort/snort_2.7.0-6.dsc
snort_2.7.0-6_i386.deb
  to pool/main/s/snort/snort_2.7.0-6_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 439642@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Javier Fernandez-Sanguino Pen~a <jfs@debian.org> (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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 01 Oct 2007 01:24:32 +0200
Source: snort
Binary: snort-mysql snort-doc snort-rules-default snort-common snort-pgsql snort snort-common-libraries
Architecture: source i386 all
Version: 2.7.0-6
Distribution: unstable
Urgency: low
Maintainer: Javier Fernandez-Sanguino Pen~a <jfs@computer.org>
Changed-By: Javier Fernandez-Sanguino Pen~a <jfs@debian.org>
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: 439642
Changes: 
 snort (2.7.0-6) unstable; urgency=low
 .
   * Create a separate snort-libraries package and move all the libraries that
     were previously (wrongly) included in the snort-common package there
     (Closes: #439642)
   * Add proper LSB headers, license and copyright to the init.d file
   * Also add proper messages to the init script and proper checks to generate
     the correct errors when non-root users try to run the script. Exit status
     of the script should now reflect better the problems found.
   * Removed dependencies on essential packages (coreutils)
   * Recode Debian changelog to UTF-8
Files: 
 f590ad91aa24add6cd1d6777ab44fe0b 903 net optional snort_2.7.0-6.dsc
 bc8d3681d01d916edce12d801351d623 1521470 net optional snort_2.7.0-6.diff.gz
 1c93691eb9f18d2e8ad10633d810220e 133260 net optional snort-common_2.7.0-6_all.deb
 cf8a5c8cbd1d35b46e0a0ad5adf3ee25 2306456 doc optional snort-doc_2.7.0-6_all.deb
 05600c4da4cc50d02c3761ad63f4a46b 395858 net optional snort-rules-default_2.7.0-6_all.deb
 b498620d5f95d820f6c52f4aca8ecb20 465772 net optional snort_2.7.0-6_i386.deb
 d64e2766045167a0d8125e2a66f94ab4 472446 net extra snort-mysql_2.7.0-6_i386.deb
 b7609f3b188170e4138f06708ab45262 472292 net optional snort-pgsql_2.7.0-6_i386.deb
 3609e5b31c5d2228b22ea7b986e6f1e2 254364 net optional snort-common-libraries_2.7.0-6_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHAEZWsandgtyBSwkRAk4pAJ998Xf4j796EYxN97fJQYQjEPgCBwCdGdKy
gL8QjF5vkli5xE6ejyq/Eg0=
=YQL9
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 04 Nov 2007 07:26:36 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jan 6 00:43:40 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.