Package: iptotal
Version: 0.3.3-10
Severity: serious

iptotal saves at least one rrd and one text file to /usr/lib/iptotal/:

!527 Z15 ?0 L1 r...@metisse:ttyp2 (-zsh) 17:13:40 [~] # ls -alF /usr/lib/iptotal
total 276
drwxr-xr-x   4 root     root        512 2009-11-25 17:08 ./
drwxr-xr-x 444 root     root     123392 2009-11-25 17:08 ../
drwxr-xr-x   2 www-data www-data    512 2009-11-20 18:56 archive/
drwxr-xr-x   2 www-data www-data    512 2009-11-25 17:08 images/
-rw-r--r--   1 www-data www-data 150520 2009-11-25 17:12 iptotal.rrd
-rw-r--r--   1 www-data www-data      0 2009-11-25 17:13 result.txt
lrwxr-xr-x   1 www-data www-data     37 2009-11-25 17:08 template.html -> 
../../share/iptotal/www/template.html
!528 Z16 ?0 L1 r...@metisse:ttyp2 (-zsh) 17:13:43 [~] # dpkg -L iptotal | fgrep 
/usr/lib/iptotal 
/usr/lib/iptotal
/usr/lib/iptotal/archive
/usr/lib/iptotal/images
/usr/lib/iptotal/images/zertxtr.gif
/usr/lib/iptotal/images/Archive_Button.gif
/usr/lib/iptotal/images/Daily_Button.gif
/usr/lib/iptotal/images/Howto_Button.gif
/usr/lib/iptotal/images/Month_Button.gif
/usr/lib/iptotal/images/Week_Button.gif
/usr/lib/iptotal/images/Year_Button.gif
/usr/lib/iptotal/images/ema...@anim.gif
/usr/lib/iptotal/images/home.gif
/usr/lib/iptotal/template.html
!529 Z17 ?0 L1 r...@metisse:ttyp2 (-zsh) 17:16:33 [~] # 

According to the FHS, /usr/lib includes object files, libraries, and
internal binaries that are not intended to be executed directly by
users or shell scripts, but not variable state information. Such data
must go into /var/lib/.

This is a File Hierachy Standard and therefore also a Debian Policy
violation.

This also causes iptotal to leave files and directories in /usr/lib/
after uninstalling:

[…]
Purging configuration files for iptotal ...
dpkg: warning: while removing iptotal, directory '/usr/lib/iptotal' not empty 
so not removed.
[…]

Looks like this after uninstalling iptotal:

!531 Z19 ?0 L1 r...@metisse:ttyp2 (-zsh) 17:21:13 [~] # ls -alF /usr/lib/iptotal
total 274
drwxr-xr-x   2 root     root        512 2009-11-25 17:18 ./
drwxr-xr-x 443 root     root     123392 2009-11-25 17:20 ../
-rw-r--r--   1 www-data www-data 150520 2009-11-25 17:18 iptotal.rrd
-rw-r--r--   1 www-data www-data     65 2009-11-25 17:18 result.txt
!532 Z20 ?0 L1 r...@metisse:ttyp2 (-zsh) 17:21:40 [~] # 

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (110, 'experimental')
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 7.2-1-686-smp
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages iptotal depends on:
ii  apache2                       2.2.14-3   Apache HTTP Server metapackage
ii  apache2-mpm-worker [httpd]    2.2.14-3   Apache HTTP Server - high speed th
ii  libc0.1                       2.10.2-2   GNU C Library: Shared libraries
ii  libpcap0.8                    1.0.0-4    system interface for user-level pa
ii  rrdtool                       1.3.8-1    Time-series data storage and displ
ii  tcpdump                       4.0.0-5    A powerful tool for network monito

iptotal recommends no packages.

iptotal suggests no packages.

-- no debconf information

-- debsums errors found:
Your vendor has not defined Fcntl macro O_NOATIME, used at /usr/bin/debsums 
line 277.



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to