Package: logrotate
Version: 3.14.0-4
Severity: normal
Dear Maintainer,
totally reproducable is the issue that with something like
dateformat<tab>-%Y-%m-%d
(with "<tab>" meaning tab character "0x09") a logfile
logfile.log
is rotated into a file
logfile.log<tab>-2021-04-19
in contrast to the statement in the logrotate.conf man page that keys
and value are separated by whitespace and/or an optional equal ("=")
sign.
If I remember correctly I also get an error message if I use the config
keyword "rotate" like "rotate<tab>7" with daily rotation. A
"copytruncate" possibly also plays a role.
-- System Information:
Debian Release: 10.9
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-8-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages logrotate depends on:
ii cron [cron-daemon] 3.0pl1-134+deb10u1
ii libacl1 2.2.53-4
ii libc6 2.28-10
ii libpopt0 1.16-12
ii libselinux1 2.8-1+b1
ii systemd-sysv 241-7~deb10u7
Versions of packages logrotate recommends:
ii mailutils [mailx] 1:3.5-4
logrotate suggests no packages.
-- no debconf information
Best regards,
Henning Hucke