Package: iptraf-ng
Version: 1:1.1.4-6
Severity: important

Hi!
I'm afraid that with the iptraf→iptraf-ng transition, you forgot to copy in
the maintainer scripts.  This causes, among others, leaving junk on
upgrades/purges, and prevents non-interactive functionality (-B) from
working as required directories are not present.

Also, there's a discrepancy as to the directories in question:
* all the documentation says /var/log/iptraf/
* so does /etc/logrotate.d/iptraf-ng (so logs don't get rotated)
* yet the binary tries to:
359   open("/var/log/iptraf-ng/iface_stats_general.log", 
O_WRONLY|O_CREAT|O_APPEND, 0666) = -1 ENOENT (No such file or directory)
Even worse, it doesn't complain that creating the logs failed; the
daemonized process even sticks around doing nothing of use.

It appears that there's only one reference to /var/log/iptraf-ng:
src/dirs.h:#define LOGDIR               "/var/log/iptraf-ng"
while there are 18 to /var/log/iptraf/, thus I believe it'd be better
to use the old location, especially that the new one never worked and
we'd avoid a migration.


ᛗᛖᛟᚹ!

-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental')
Architecture: armhf (armv7l)

Kernel: Linux 4.11.0-rc5-00022-ga14dbd9af679 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages iptraf-ng depends on:
ii  libc6         2.24-9
ii  libncursesw5  6.0+20161126-1
ii  libtinfo5     6.0+20161126-1

iptraf-ng recommends no packages.

iptraf-ng suggests no packages.

-- no debconf information

Reply via email to