Your message dated Wed, 22 Aug 2018 15:10:25 +0200 with message-id <caj2a_de-uimt1r7vpebs8mkc3paz_awqq3mbgw+jmw7f2jd...@mail.gmail.com> and subject line logrotate: add documentation of script execution to manual page has caused the Debian Bug report #423270, regarding logrotate: add documentation of script execution to manual page to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 423270: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=423270 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: logrotate Version: 3.7.1-3 Severity: normal *** Please type your report below this line *** According to the source code, logrotate passes the name of the log file (different file names at different script types) to the scripts, but this isn't mentioned anywere in the documentation. It would be useful to see this documented, together with a description of which file name is passed to each script. -- Package-specific info: Contents of /etc/logrotate.d total 60 -rw-r--r-- 1 root root 240 2007-02-05 21:18 apache2 -rw-r--r-- 1 root root 79 2005-04-07 23:43 aptitude -rw-r--r-- 1 root root 384 2006-06-12 04:25 base-config -rw-r--r-- 1 root root 123 2007-01-17 17:32 cacti -rw-r--r-- 1 root root 65 2006-10-21 01:35 cricket -rw-r--r-- 1 root root 245 2007-02-03 00:20 cupsys -rw-r--r-- 1 root root 111 2007-01-02 10:02 dpkg -rw-r--r-- 1 root root 273 2007-01-20 20:46 exim4-base -rw-r--r-- 1 root root 74 2006-09-25 13:03 mrtg -rw-r--r-- 1 root root 869 2007-02-22 11:05 mysql-server -rw-r--r-- 1 root root 165 2007-03-05 09:56 nagios2-common -rw-r--r-- 1 root root 94 2007-03-05 04:21 ppp -rw-r--r-- 1 root root 330 2007-02-01 08:00 samba -rw-r--r-- 1 root root 68 2005-04-17 20:00 scrollkeeper -rw-r--r-- 1 root root 333 2007-01-22 19:51 xdm -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-4-amd64 Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Versions of packages logrotate depends on: ii base-passwd 3.5.11 Debian base system master password ii cron 3.0pl1-100 management of regular background p ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries ii libpopt0 1.10-3 lib for parsing cmdline parameters ii libselinux1 1.32-3 SELinux shared libraries Versions of packages logrotate recommends: ii mailx 1:8.1.2-0.20050715cvs-1 A simple mail user agent -- no debconf information
--- End Message ---
--- Begin Message ---excerpt from current logrotate.conf manpage: postrotate/endscript The lines between postrotate and endscript (both of which must appear on lines by themselves) are executed (using /bin/sh) after the log file is rotated. These directives may only appear inside a log file definition. Normally, the absolute path to the log file is passed as first argument to the script. If sharedscripts is specified, whole pattern is passed to the script. See also prerotate. See sharedscripts and nosharedscripts for error handling.
--- End Message ---

