[Pkg-samba-maint] Bug#681050: samba4: fails to configure when smb.conf is removed
Cyril Brulebois
kibi at debian.org
Tue Jul 10 09:04:12 UTC 2012
Package: samba4
Version: 4.0.0~beta2+dfsg1-1
Severity: important
Hi,
in addition to the just-submitted bug report, the bit of advice one gets
when a ProvisionError happens is bad:
| ProvisioningError: guess_names: 'realm =' was not specified in supplied /etc/samba/smb.conf. Please remove the smb.conf file and let provision generate it
See:
| $ sudo mv /etc/samba/smb.conf ~/tmp/
| $ sudo dpkg --configure -a
| Setting up samba4 (4.0.0~beta2+dfsg1-1) ...
| Traceback (most recent call last):
| File "/usr/share/samba/addshare.py", line 25, in <module>
| inf = open(opts.configfile, 'r')
| IOError: [Errno 2] No such file or directory: '/etc/samba/smb.conf'
| dpkg: error processing samba4 (--configure):
| subprocess installed post-installation script returned error exit status 1
| Errors were encountered while processing:
| samba4
So I touch'd it, and the same error as in the other report is happening
again (missing realm)…
Mraw,
KiBi.
-- System Information:
Debian Release: sid/experimental
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-3-amd64 (SMP w/6 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 samba4 depends on:
ii debconf [debconf-2.0] 1.5.45
ii libasn1-8-heimdal 1.6~git20120403+dfsg1-2
ii libattr1 1:2.4.46-8
ii libbsd0 0.4.2-1
ii libc6 2.13-34
ii libcomerr2 1.42.4-3
ii libdcerpc-server0 4.0.0~beta2+dfsg1-1
ii libdcerpc0 4.0.0~beta2+dfsg1-1
ii libgensec0 4.0.0~beta2+dfsg1-1
ii libhdb9-heimdal 1.6~git20120403+dfsg1-2
ii libkdc2-heimdal 1.6~git20120403+dfsg1-2
ii libkrb5-26-heimdal 1.6~git20120403+dfsg1-2
ii libldb1 1:1.1.6-1
ii libndr-standard0 4.0.0~beta2+dfsg1-1
ii libndr0 4.0.0~beta2+dfsg1-1
ii libpopt0 1.16-7
ii libpython2.7 2.7.3-1
ii libroken18-heimdal 1.6~git20120403+dfsg1-2
ii libsamba-credentials0 4.0.0~beta2+dfsg1-1
ii libsamba-hostconfig0 4.0.0~beta2+dfsg1-1
ii libsamba-util0 4.0.0~beta2+dfsg1-1
ii libsamdb0 4.0.0~beta2+dfsg1-1
ii libsmbclient-raw0 4.0.0~beta2+dfsg1-1
ii libtalloc2 2.0.7+git20120207-1
ii libtdb1 1.2.10-2
ii libtevent0 0.9.16-1
ii python 2.7.3-1
ii python-dnspython 1.10.0-1
ii python-samba 4.0.0~beta2+dfsg1-1
ii samba-dsdb-modules 4.0.0~beta2+dfsg1-1
ii samba4-common-bin 4.0.0~beta2+dfsg1-1
ii tdb-tools 1.2.10-2
Versions of packages samba4 recommends:
ii attr 1:2.4.46-8
ii bind9 1:9.8.1.dfsg.P1-4.1
ii bind9utils 1:9.8.1.dfsg.P1-4.1
ii ldb-tools 1:1.1.6-1
Versions of packages samba4 suggests:
pn phpldapadmin <none>
pn samba-gtk <none>
pn swat2 <none>
-- debconf information:
samba4/upgrade-from-v3: true
samba4/server-role: domain controller
samba4/realm:
More information about the Pkg-samba-maint
mailing list