[Pkg-samba-maint] Bug#702201: samba: logrotate script for nmbd.log does not wait long enough.
Tim Phipps
phipps-hutton at sky.com
Sun Mar 3 21:26:46 UTC 2013
Package: samba
Version: 2:3.6.6-5
Severity: normal
I keep getting 'gzip: stdin: file size changed while zipping' from the
logrotate cron job. It turns out to be /etc/logrotate.d/samba and the
postrotate script which does a kill -HUP on nmbd. When I look in the
just compressed log it says 'I just got a HUP, I'm dumping some
information'.
I don't know what the right fix for this is but I don't think nmbd
doing two things on HUP is a good idea. You can work around the gzip
warning by adding delaycompress to the logrotate conf.
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages samba depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.49
ii dpkg 1.16.9
ii libacl1 2.2.51-8
ii libattr1 1:2.4.46-8
ii libc6 2.13-38
ii libcap2 1:2.22-1.2
ii libcomerr2 1.42.5-1
ii libcups2 1.5.3-2.14
ii libgssapi-krb5-2 1.10.1+dfsg-4
ii libk5crypto3 1.10.1+dfsg-4
ii libkrb5-3 1.10.1+dfsg-4
ii libldap-2.4-2 2.4.31-1
ii libpam-modules 1.1.3-7.1
ii libpam-runtime 1.1.3-7.1
ii libpam0g 1.1.3-7.1
ii libpopt0 1.16-7
ii libtalloc2 2.0.7+git20120207-1
ii libtdb1 1.2.10-2
ii libwbclient0 2:3.6.6-5
ii lsb-base 4.1+Debian8
ii procps 1:3.3.3-2
ii samba-common 2:3.6.6-5
ii update-inetd 4.43
ii zlib1g 1:1.2.7.dfsg-13
Versions of packages samba recommends:
ii logrotate 3.8.1-4
ii tdb-tools 1.2.10-2
Versions of packages samba suggests:
pn ctdb <none>
pn ldb-tools <none>
ii openbsd-inetd [inet-superserver] 0.20091229-2
ii smbldap-tools 0.9.7-1
-- debconf information:
* samba/run_mode: daemons
samba-common/title:
More information about the Pkg-samba-maint
mailing list