Package: cntlm Version: 0.92.3-1+b1 Severity: normal Tags: patch X-Debbugs-Cc: seregaxvm.m...@gmail.com
Dear Maintainer, Cntlm is vary chatty and produces large amount of logs. In my case it filled 250Gb SSD in a week. It would be nice to provide rsyslog and logrotate configurations with this package so that could be managed with ease. For this I used the following configurations: In /etc/rsyslog.d/cntlm.conf ``` if $programname == 'cntlm' then { /var/log/cntlm.log ~ } ``` and in /etc/logrotate.d/cntlm ``` /var/log/cntlm.log { rotate 2 daily maxsize 100M missingok notifempty compress delaycompress sharedscripts postrotate /usr/lib/rsyslog/rsyslog-rotate endscript } ``` -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (900, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable'), (50, 'unstable'), (10, 'experimental'), (1, 'experimental-debug') Architecture: amd64 (x86_64) Kernel: Linux 5.15.0-2-amd64 (SMP w/16 CPU threads) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages cntlm depends on: ii adduser 3.118 ii libc6 2.33-2 cntlm recommends no packages. cntlm suggests no packages. -- Configuration Files: /etc/cntlm.conf [Errno 13] Permission denied: '/etc/cntlm.conf' -- no debconf information
if $programname == 'cntlm' then { /var/log/cntlm.log ~ }
/var/log/cntlm.log { rotate 2 daily maxsize 100M missingok notifempty compress delaycompress sharedscripts postrotate /usr/lib/rsyslog/rsyslog-rotate endscript }