[Pkg-samba-maint] Bug#762080: [samba] log dir not created after purge and reinstall

Riccardo Magliocchetti riccardo.magliocchetti at gmail.com
Thu Sep 18 08:51:01 UTC 2014


Package: samba
Version: 2:4.1.11+dfsg-1
Severity: normal

--- Please enter the report below this line. ---

how to reproduce:

sudo apt-get install samba
sudo dpkg --purge samba
sudo apt-get install samba

Then since /var/log/samba does not exist samba will print

[2014/09/18 10:43:49.879102,  0] 
../lib/util/debug.c:597(reopen_logs_internal)
   Unable to open new log file '/var/log/samba/log.smbd': File o 
directory non esistente
[2014/09/18 10:43:49.879692,  0] 
../lib/util/debug.c:597(reopen_logs_internal)
   Unable to open new log file '/var/log/samba/log.smbd': File o 
directory non esistente
[2014/09/18 10:43:49.879768,  0] 
../lib/util/debug.c:597(reopen_logs_internal)
   Unable to open new log file '/var/log/samba/log.smbd': File o 
directory non esistente

--- System information. ---
Architecture: i386
Kernel:       Linux 3.14.16

Debian Release: jessie/sid
   500 unstable        ftp.de.debian.org
     1 experimental    ftp.de.debian.org

--- Package information. ---
Depends                             (Version) | Installed
=============================================-+-=======================
adduser                                       | 3.113+nmu3
heimdal-hdb-api-8                             |
libpam-modules                                | 1.1.8-3.1
libpam-runtime                  (>= 1.0.1-11) | 1.1.8-3.1
lsb-base                      (>= 4.1+Debian) | 4.1+Debian13
procps                                        | 1:3.3.9-7
python                               (>= 2.7) | 2.7.8-1
python-dnspython                              | 1.12.0-1
python-ntdb                                   | 1.0-5
python-samba                                  | 2:4.1.11+dfsg-1
samba-common               (= 2:4.1.5+dfsg-1) | 2:4.1.11+dfsg-1
samba-common-bin           (= 2:4.1.5+dfsg-1) | 2:4.1.11+dfsg-1
samba-dsdb-modules                            | 2:4.1.11+dfsg-1
tdb-tools                                     | 1.3.0-1.1
update-inetd                                  | 4.43
python                               (<< 2.8) | 2.7.8-1
python2.7:any                                 |
libasn1-8-heimdal      (>= 1.4.0+git20110226) | 1.6~rc2+dfsg-8
libbsd0                            (>= 0.5.0) | 0.7.0-2
libc6                                (>= 2.8) | 2.19-11
libcomerr2                          (>= 1.01) | 1.42.12-1
libhdb9-heimdal        (>= 1.4.0+git20110226) | 1.6~rc2+dfsg-8
libkdc2-heimdal        (>= 1.4.0+git20110226) | 1.6~rc2+dfsg-8
libkrb5-26-heimdal     (>= 1.4.0+git20110226) | 1.6~rc2+dfsg-8
libldb1                           (>= 0.9.21) | 1:1.1.17-1
libpopt0                            (>= 1.14) | 1.16-10
libpython2.7                         (>= 2.7) | 2.7.8-7
libroken18-heimdal     (>= 1.4.0+git20110226) | 1.6~rc2+dfsg-8
libtalloc2             (>= 2.0.4~git20101213) | 2.1.1-2
libtdb1                (>= 1.2.7+git20101214) | 1.3.0-1.1
libtevent0                        (>= 0.9.14) | 0.9.21-1
samba-libs                 (= 2:4.1.5+dfsg-1) | 2:4.1.11+dfsg-1


Recommends             (Version) | Installed
================================-+-===========
attr                             | 1:2.4.47-2
logrotate                        | 3.8.7-1
samba-vfs-modules                | 2:4.1.11+dfsg-1


Suggests             (Version) | Installed
==============================-+-=============
bind9             (>= 1:9.5.1) |
bind9utils                     |
ctdb                           |
ldb-tools                      |
ntp                            |
smbldap-tools                  |
winbind                        |



More information about the Pkg-samba-maint mailing list