tags 557972 + pending thanks Hi Axel,
Thank you for reporting this. On Wed, Nov 25, 2009 at 17:23, Axel Beckert <a...@deuxchevaux.org> wrote: <snip> > 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. I followed what was said in the Debian's Webapps Policy Manual [1] where it says: | User uploaded content | A unique subdirectory of /usr/lib/PACKAGE But you are _absolutely_ right about this violating the FHS. > 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 [~] # It is normal that these files are not deleted as they are created & updated by the binary itself (not the .deb package). Nevertheless, the fact that they are kept in /usr/lib/, after a purge, is not right. I will be uploading a new release correcting this very soon. Regards, Ignace Mouzannar [1] http://webapps-common.alioth.debian.org/draft/html/ch-issues.html -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org