RFE: Support for variables like $eth0_ADDRESS in debconf script

Bug #566543 reported by Vladimir Rutsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snort (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: snort

It would be nice to have ability to set HOME_NET snort variable to single IP address currently assigned to the network interface.

In original snort.conf it can be done by setting
> var HOME_NET $eth0_ADDRESS
But in Debian scripts HOME_NET variable is always overriden in /etc/init.d/snort by setting value from /etc/snort/snort.debian.conf.
And values from /etc/snort/snort.debian.conf are used through shell variables which leads to missing of "$" sign in final daemon running script string.

Only workaround I found for this RFE is to modify /etc/init.d/snort and /etc/snort/snort.conf by hands.

ProblemType: Bug
Architecture: amd64
Date: Mon Apr 19 14:32:38 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: snort 2.8.4.1-3ubuntu1
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
SourcePackage: snort
Uname: Linux 2.6.31-20-generic x86_64

Revision history for this message
Vladimir Rutsky (rutsky) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package snort - 2.9.15.1-2

---------------
snort (2.9.15.1-2) unstable; urgency=medium

  * debian/control:
     - Add libssl-dev as Build-Dep (Closes:#956812)
     - Update Standards version
     - Fix Git-VCS url
     - Make snort-doc Multi-Arch: foreign
  * debian/patches/documentation_debian: Document the use of /etc/default/snort

 -- Javier Fernández-Sanguino Peña <email address hidden> Sat, 18 Apr 2020 11:56:13 +0200

Changed in snort (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.