Bug#984614: snort in Bullseye

2021-04-10 Thread Javier Fernandez-Sanguino
On Fri, 9 Apr 2021 at 20:10, Chris Hofstaedtler  wrote:

> Control: found -1 2.9.15.1-2
>
> Hi,
>
> it appears this conffile handling problem is caused by a not good
> enough attempt to move the old conffile /etc/cron.daily/5snort to
> /etc/cron.daily/snort-common.
>

You are correct.


> It would appear trivial to change this to use
> dpkg-maintscript-helper mv_conffile instead.
>

Thank you for suggesting this, I was not aware of this. I have fixed the
issue by using dpkg-maintscript-helper properly in the
preinst/postinst/postrm.


> Someone with enough interest in snort should probably just make this
> change and upload it.
>

After preparing a new version of the package and testing it in a chroot
with different upgrade scenarios, I have uploaded a new version to unstable
fixing this issue (and some  others I encountered along the way).

Best regards


Javier


Bug#984614: snort in Bullseye

2021-04-09 Thread Chris Hofstaedtler
Control: found -1 2.9.15.1-2

Hi,

it appears this conffile handling problem is caused by a not good
enough attempt to move the old conffile /etc/cron.daily/5snort to
/etc/cron.daily/snort-common.

This was introduced in version 2.9.15.1-2 commit 8780db8c, to
snort-common.preinst:

+# rename probably existing cron job with old name
+if [ -e /etc/cron.daily/5snort ]; then
+mv /etc/cron.daily/5snort /etc/cron.daily/snort-common
+fi

It would appear trivial to change this to use
dpkg-maintscript-helper mv_conffile instead.

Someone with enough interest in snort should probably just make this
change and upload it.

Chris



Bug#984614: snort in Bullseye

2021-03-30 Thread Thorsten Alteholz

Hi,

would it be possible to resolve this RC-bug and keep snort available in
Bullseye?

  Thorsten