[Pkg-samba-maint] Bug#803924: samba: missing logrotate for /var/log/samba/log.samba
Noël Köthe
noel at debian.org
Tue Nov 3 09:17:20 UTC 2015
Package: samba
Version: 2:4.1.20+dfsg-1
Severity: normal
Dear Maintainer,
running samba as a DC the logfile /var/log/samba/log.samba will
always increase and fill up the /var partition because the logrotate
file from samba debian/samba.logrotate in the source and
/etc/logrotate.d/samba in the installation is missing
an entry for this file.
This should fix it (samba-ad-dc has no reload):
debian/samba.logrotate
/var/log/samba/log.samba {
weekly
missingok
rotate 7
postrotate
/etc/init.d/samba-ad-dc restart > /dev/null
endscript
compress
notifempty
}
/var/log/samba/log.smbd {
...
Thx for fixing this small but disk filling bug.;)
Regards
Noël
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages samba depends on:
ii adduser 3.113+nmu3
ii dpkg 1.18.3
ii libasn1-8-heimdal 1.6~rc2+dfsg-10
ii libbsd0 0.7.0-2
ii libc6 2.19-22
ii libcomerr2 1.42.13-1
ii libhdb9-heimdal [heimdal-hdb-api-8] 1.6~rc2+dfsg-10
ii libkdc2-heimdal 1.6~rc2+dfsg-10
ii libkrb5-26-heimdal 1.6~rc2+dfsg-10
ii libldb1 2:1.1.21-1
ii libpam-modules 1.1.8-3.1
ii libpam-runtime 1.1.8-3.1
ii libpopt0 1.16-10
ii libpython2.7 2.7.10-5
ii libroken18-heimdal 1.6~rc2+dfsg-10
ii libtalloc2 2.1.3-1
ii libtdb1 1.3.7-1
ii libtevent0 0.9.25-2
ii lsb-base 9.20150917
ii procps 2:3.3.10-4
ii python 2.7.9-1
ii python-dnspython 1.12.0-1
ii python-ntdb 1.0-7
ii python-samba 2:4.1.20+dfsg-1
pn python2.7:any <none>
ii samba-common 2:4.1.20+dfsg-1
ii samba-common-bin 2:4.1.20+dfsg-1
ii samba-dsdb-modules 2:4.1.20+dfsg-1
ii samba-libs 2:4.1.20+dfsg-1
ii tdb-tools 1.3.7-1
ii update-inetd 4.43
Versions of packages samba recommends:
ii attr 1:2.4.47-2
ii logrotate 3.8.7-2
ii samba-vfs-modules 2:4.1.20+dfsg-1
Versions of packages samba suggests:
pn bind9 <none>
pn bind9utils <none>
pn ctdb <none>
pn ldb-tools <none>
ii ntp 1:4.2.8p4+dfsg-3
pn smbldap-tools <none>
pn winbind <none>
-- no debconf information
More information about the Pkg-samba-maint
mailing list