Debian Bug report logs - #687021
unblock: samba4/4.0.0~beta2+dfsg1-3

Package: release.debian.org; Maintainer for release.debian.org is Debian Release Team <debian-release@lists.debian.org>;

Reported by: Jelmer Vernooij <jelmer@debian.org>

Date: Sat, 8 Sep 2012 14:21:05 UTC

Severity: normal

Done: "Adam D. Barratt" <adam@adam-barratt.org.uk>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, jelmer@debian.org, Debian Release Team <debian-release@lists.debian.org>:
Bug#687021; Package release.debian.org. (Sat, 08 Sep 2012 14:21:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jelmer Vernooij <jelmer@debian.org>:
New Bug report received and forwarded. Copy sent to jelmer@debian.org, Debian Release Team <debian-release@lists.debian.org>. (Sat, 08 Sep 2012 14:21:07 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Jelmer Vernooij <jelmer@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: unblock: samba4/4.0.0~beta2+dfsg1-3
Date: Sat, 08 Sep 2012 16:16:53 +0200
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package samba4

Hello,

There are a couple of fixes in the Samba 4 package in sid that would
be good to have in wheezy. 

I have included a debdiff for the changes between -1 (currently in
wheezy) and -3 (in sid). These changes are fairly small and fix three
important bugs:

 * 681048: Provisioning fails if there is no domain set
     This changes it to fall back to "localdomain".
 * 679678: Use old style Samba 4 file system support
     Newer versions of Samba 4 integrate with Samba 3 for file system
     suppport. This integration is still fairly new and untested in beta2,
     and requires a newer version of Samba 3 than is currently in
     wheezy or sid.
 * 681050: Samba4's provision script will create smb.conf if it
   doesn't exist; don't attempt to modify the nonexisting smb.conf
   file from postinst in this case.

diff -Nru samba4-4.0.0~beta2+dfsg1/debian/changelog samba4-4.0.0~beta2+dfsg1/debian/changelog
--- samba4-4.0.0~beta2+dfsg1/debian/changelog	2012-06-21 22:47:14.000000000 +0200
+++ samba4-4.0.0~beta2+dfsg1/debian/changelog	2012-08-08 22:04:53.000000000 +0200
@@ -1,3 +1,17 @@
+samba4 (4.0.0~beta2+dfsg1-3) unstable; urgency=low
+
+  * Fix setup when no domain is set. Closes: #681048
+
+ -- Jelmer Vernooij <jelmer@debian.org>  Sun, 05 Aug 2012 16:52:02 +0200
+
+samba4 (4.0.0~beta2+dfsg1-2) unstable; urgency=low
+
+  * Use ntvfs while debian ships an old version of Samba 3. Closes: #679678
+  * Don't attempt to add shares to the configuration if it doesn't
+    exist. Closes: #681050
+
+ -- Jelmer Vernooij <jelmer@debian.org>  Tue, 10 Jul 2012 11:52:44 +0200
+
 samba4 (4.0.0~beta2+dfsg1-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru samba4-4.0.0~beta2+dfsg1/debian/samba4.config samba4-4.0.0~beta2+dfsg1/debian/samba4.config
--- samba4-4.0.0~beta2+dfsg1/debian/samba4.config	2012-06-21 22:47:14.000000000 +0200
+++ samba4-4.0.0~beta2+dfsg1/debian/samba4.config	2012-08-08 22:04:53.000000000 +0200
@@ -15,6 +15,10 @@
 if [ -z "$REALM" ]; then
 	REALM=`hostname -d | tr 'a-z' 'A-Z'`
 fi
+if [ -z "$REALM" ]; then
+	# Default to localdomain if there are no good alternatives.
+	REALM=localdomain
+fi
 db_set samba4/realm "$REALM"
 
 #
diff -Nru samba4-4.0.0~beta2+dfsg1/debian/samba4.postinst samba4-4.0.0~beta2+dfsg1/debian/samba4.postinst
--- samba4-4.0.0~beta2+dfsg1/debian/samba4.postinst	2012-06-21 22:47:14.000000000 +0200
+++ samba4-4.0.0~beta2+dfsg1/debian/samba4.postinst	2012-08-08 22:04:53.000000000 +0200
@@ -14,11 +14,10 @@
 	if [ -f "/etc/samba/smb.conf" ]; then
 		/usr/share/samba/setoption.py "realm" "${REALM}"
 		/usr/share/samba/setoption.py "server role" "${SERVER_ROLE}"
-	fi
-
-	if [ "$SERVER_ROLE" = "domain controller" ]; then
-		/usr/share/samba/addshare.py sysvol /var/lib/samba/sysvol
-		/usr/share/samba/addshare.py netlogon "/var/lib/samba/sysvol/$REALM/scripts"
+		if [ "$SERVER_ROLE" = "domain controller" ]; then
+			/usr/share/samba/addshare.py sysvol /var/lib/samba/sysvol
+			/usr/share/samba/addshare.py netlogon "/var/lib/samba/sysvol/$REALM/scripts"
+		fi
 	fi
 
 	# See if we're upgrading from Samba 3
@@ -43,7 +42,7 @@
 		# Install from scratch
 		# samba-common.postinst takes care of setting the work group.
 		/usr/share/samba/setup/provision --realm="$REALM" --domain="$DOMAIN" \
-		    --server-role="$SERVER_ROLE"
+		    --server-role="$SERVER_ROLE" --use-ntvfs
 	fi
 fi
 

unblock samba4/4.0.0~beta2+dfsg1-3

-- System Information:
Debian Release: wheezy/sid
  APT prefers quantal-updates
  APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500, 'quantal'), (100, 'quantal-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5.0-13-generic (SMP w/4 CPU cores)
Locale: LANG=en_IE.utf8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



Reply sent to "Adam D. Barratt" <adam@adam-barratt.org.uk>:
You have taken responsibility. (Sat, 08 Sep 2012 14:39:03 GMT) Full text and rfc822 format available.

Notification sent to Jelmer Vernooij <jelmer@debian.org>:
Bug acknowledged by developer. (Sat, 08 Sep 2012 14:39:03 GMT) Full text and rfc822 format available.

Message #10 received at 687021-done@bugs.debian.org (full text, mbox):

From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
To: Jelmer Vernooij <jelmer@debian.org>, 687021-done@bugs.debian.org
Subject: Re: Bug#687021: unblock: samba4/4.0.0~beta2+dfsg1-3
Date: Sat, 08 Sep 2012 15:35:46 +0100
On Sat, 2012-09-08 at 16:16 +0200, Jelmer Vernooij wrote:
> There are a couple of fixes in the Samba 4 package in sid that would
> be good to have in wheezy. 
> 
> I have included a debdiff for the changes between -1 (currently in
> wheezy) and -3 (in sid). These changes are fairly small and fix three
> important bugs:

Unblocked.

Regards,

Adam




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 07 Oct 2012 07:26:01 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 20:53:39 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.