[Pkg-samba-maint] Bug#394770: samba: Continues to use old log file after rotation

Sam Morris sam at robots.org.uk
Sun Oct 22 22:58:45 UTC 2006


Package: samba
Version: 3.0.23c-2
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I noticed this today while playing around with lsof:

# lsof +L1 | grep smbd
smbd      10585 root    2w   REG    9,0   314     0 16154882 /var/log/samba/log.smbd.1 (deleted)
smbd      10585 root    6w   REG    9,0   314     0 16154882 /var/log/samba/log.smbd.1 (deleted)

- -- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages samba depends on:
ii  debconf [debconf-2.0]       1.5.6        Debian configuration management sy
ii  libacl1                     2.2.41-1     Access control list shared library
ii  libattr1                    2.4.32-1     Extended attribute shared library
ii  libc6                       2.3.6.ds1-4  GNU C Library: Shared libraries
ii  libcomerr2                  1.39-1       common error description library
ii  libcupsys2                  1.2.4-2+b1   Common UNIX Printing System(tm) - 
ii  libgnutls13                 1.4.4-1      the GNU TLS library - runtime libr
ii  libkrb53                    1.4.4-3      MIT Kerberos runtime libraries
ii  libldap2                    2.1.30-13+b1 OpenLDAP libraries
ii  libpam-modules              0.79-3.2     Pluggable Authentication Modules f
ii  libpam-runtime              0.79-3.2     Runtime support for the PAM librar
ii  libpam0g                    0.79-3.2     Pluggable Authentication Modules l
ii  libpopt0                    1.10-3       lib for parsing cmdline parameters
ii  logrotate                   3.7.1-3      Log rotation utility
ii  lsb-base                    3.1-15       Linux Standard Base 3.1 init scrip
ii  netbase                     4.25         Basic TCP/IP networking system
ii  procps                      1:3.2.7-3    /proc file system utilities
ii  samba-common                3.0.23c-2    Samba common files used by both th
ii  zlib1g                      1:1.2.3-13   compression library - runtime

Versions of packages samba recommends:
pn  smbldap-tools                 <none>     (no description available)

- -- debconf information:
  samba/nmbd_from_inetd:
  samba/log_files_moved:
  samba/tdbsam: false
* samba/generate_smbpasswd: false
* samba/run_mode: daemons

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFO/elshl/216gEHgRAuomAJ0Zh1YfKj4XvRR5rNoOPFh8IwLyfgCg/DL7
HnDD2jRfY3SYsUXWKQujEG0=
=kSqc
-----END PGP SIGNATURE-----




More information about the Pkg-samba-maint mailing list