Package: flow-tools
Version: 1:0.67-8
Severity: important
Tags: 

Hi, IFS=$'\n' does not work as expected if /bin/sh points
to dash or posh.  "n" is used as a separator instead and
arguments to flow-capture are generated incorrectly, so
invoke-rc.d flow-tools start fails (and postinst fails
trying to start it).

[...]
+ IFS=$\n
+ grep -E  |\t /etc/flow-tools/flow-capture.conf
+ grep -v ^#
+ lines=-V 5 -p /home/pope/tmp -N 0 -w /home/netflow -n 288 -E 2G 
0/161.53.1.1/5000
+ echo -n Starting flow-capture:
Starting flow-capture: + IFS=$
+ /usr/bin/flow-capture -V 5 -p /home/pope/tmp -N 0 -w /home/
flow-capture: Specify localip/remoteip/port.
+ IFS=$
+ /usr/bin/flow-capture etflow -
flow-capture: Specify localip/remoteip/port.
+ IFS=$
+ /usr/bin/flow-capture 288 -E 2G 0/161.53.1.1/5000                           
flow-capture: Specify localip/remoteip/port.
[...]

IFS="
" appears to work fine instead.  I'm not sure what is
the second IFS=$' ' supposed to do, but IFS=" " works here.

It would be nice if the fix got into sarge.

Regards,
Zoran

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.30
Locale: LANG=hr_HR, LC_CTYPE=hr_HR (charmap=ISO-8859-2)

Versions of packages flow-tools depends on:
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libmysqlclient12            4.0.24-5     mysql database client library
ii  libpq3                      7.4.7-6      PostgreSQL C client library
ii  libwrap0                    7.6.dbs-8    Wietse Venema's TCP wrappers libra
ii  zlib1g                      1:1.2.2-4    compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to