Bug#602890: ntop: logrotate errors after removal
package ntop tags 602890 + pending thanks Hi, On 01/-10/-28163 11:59 AM, A Mennucc wrote: > I recently removed 'ntop', and now I receive this daily message > /etc/cron.daily/logrotate: > error: error accessing /var/log/ntop: No such file or directory It looks like this problem is happening because the ntop binary was never started before the package was removed. In fact no log file was created in /var/log/ntop and the directory was deleted upon package removal. I think this is a logrotate bug, as "okmissing" is specified in the logrotate configuration. In fact there is an open bug [1] about that, as other packages are affected by the same issue. Nevertheless, there is an easy workaround, i.e. touching /var/log/ntop/access.log in the postinst, so the directory never gets deleted on package removal. Thanks for the report, Cheers, Ludovico [1] http://bugs.debian.org/582630 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#602890: ntop: logrotate errors after removal
Package: ntop Version: 3:3.3-15 Severity: minor hi, I recently removed 'ntop', and now I receive this daily message /etc/cron.daily/logrotate: error: error accessing /var/log/ntop: No such file or directory error: ntop:1 glob failed for /var/log/ntop/*.log error: found error in /var/log/ntop/*.log , skipping May you please correct the logrotate rules? In the meantime, I will try to solve the problem by purging 'ntop' a. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-openvz-amd64 (SMP w/2 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages ntop depends on: ii adduser 3.112add and remove users and groups ii debconf [debconf-2.0] 1.5.36 Debian configuration management sy ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib ii libgdbm31.8.3-9 GNU dbm database routines (runtime ii libpcap0.8 1.1.1-2 system interface for user-level pa pn librrd4(no description available) ii libssl0.9.8 0.9.8o-2 SSL shared libraries ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime ntop recommends no packages. Versions of packages ntop suggests: pn graphviz (no description available) ii gsfonts 1:8.11+urwcyr1.0.7~pre44-4.2 Fonts for the Ghostscript interpre -- Andrea Mennucc "The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do, and the GPL sounds like it was written by a human being who wants me to know what I can do." Anonymous,http://www.securityfocus.com/columnists/420 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org