Package: ocsinventory-agent Version: 1.01-1 Severity: normal Tags: patch The /etc/logrotate.d/ocsinvetory-agent file installed by the package does not work properly. Patch attached.
PS: the name of the log directory is not consistent with the package's name. You might want to change this. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.18-4-486 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages ocsinventory-agent depends on: ii debconf [debconf-2.0] 1.5.13 Debian configuration management sy ii dmidecode 2.8-4 Dump Desktop Management Interface ii libc6 2.5-1 GNU C Library: Shared libraries ii libcompress-zlib-perl 1.42-2 Perl module for creation and manip ii libnet-ip-perl 1.25-2 Perl extension for manipulating IP ii libnet-ssleay-perl 1.30-1 Perl module for Secure Sockets Lay ii libwww-perl 5.805-1 WWW client/server library for Perl ii libxml-simple-perl 2.16-1 Perl module for reading and writin ii po-debconf 1.0.8 manage translated Debconf template ii ucf 2.0020 Update Configuration File: preserv ocsinventory-agent recommends no packages. -- debconf information excluded
--- ocsinventory-agent 2007-04-15 07:53:17.991703514 +0200 +++ ocsinventory-agent.new 2007-04-15 07:54:07.336125675 +0200 @@ -1,6 +1,3 @@ -# -# File generated by OCS Inventory NG Agent setup -# ################################################################################ # # OCS Inventory NG Agent @@ -15,7 +12,7 @@ # # Rotate OCS Inventory NG agent logs daily, only if not empty # Save 7 days old logs under compressed mode -PATH_TO_LOG_DIRECTORY/*.log { +/var/log/ocsinventory-client/*.log { daily rotate 7 compress