Bug 37939 - Upgrade to Samba 4.2.3
Upgrade to Samba 4.2.3
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 4.0
Other Linux
: P5 enhancement (vote)
: UCS 4.0-2-errata
Assigned To: Arvid Requate
Stefan Gohmann
:
: 36948 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-03-05 06:26 CET by Stefan Gohmann
Modified: 2015-07-20 17:51 CEST (History)
4 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2015-03-05 06:26:44 CET
Samba 4.2.0 has been released yesterday. We should upgrade our Samba 4.2 package.
Comment 1 Stefan Gohmann univentionstaff 2015-03-05 06:28:14 CET
Please also check this issue:
 https://bugzilla.samba.org/show_bug.cgi?id=11082
Comment 2 Arvid Requate univentionstaff 2015-05-18 21:38:38 CEST
These packages are now imported and built in errata4.0-2:

talloc: 2.1.2-3
tevent: 0.9.24-1
tdb: 1.3.5-1
ldb: 2:1.1.20-2 (new epoch) - The patch for Bug #31088 is obsolete now
Comment 3 Arvid Requate univentionstaff 2015-05-19 18:08:13 CEST
I imported a new Debian package updated with the upstream Samba 4.2.1 release.
The patches needed minor adjustment (2-3 obsolete and a couple of adjusted library file names).
The issues https://bugzilla.samba.org/show_bug.cgi?id=11082 has no upstream patch yet.

Package update worked on i386.
Comment 4 Arvid Requate univentionstaff 2015-05-27 18:44:45 CEST
*** Bug 36948 has been marked as a duplicate of this bug. ***
Comment 5 Arvid Requate univentionstaff 2015-05-27 20:12:09 CEST
Advisories:

2015-05-27-samba.yaml
2015-05-27-talloc.yaml
2015-05-27-tevent.yaml
2015-05-27-tdb.yaml
2015-05-27-ldb.yaml
Comment 6 Arvid Requate univentionstaff 2015-05-28 13:21:42 CEST
Version 4.2.2 has now been packaged and built. Advisory is adjusted.
Comment 7 Arvid Requate univentionstaff 2015-06-08 12:49:53 CEST
I've also cherrypicked and rebuilt univention-ldb-modules from ucs-school into the errata4.0-2 scope (and copied it back to the ucs-school-4.0r2 scope for future reference).

Advisory: 2015-06-08-univention-ldb-modules.yaml
Comment 8 Arvid Requate univentionstaff 2015-06-08 16:56:21 CEST
As discussed, I removed the packages from the ucs-school-4.0r2 scope.
I added libunivention-ldb-modules to ucs_4.0-2_*_dvd.txt to make it maintained.

I also added https://git.samba.org/abartlet/samba.git/?p=abartlet/samba.git/.git;a=patch;h=b59ae3fbb223f50a21580abdd87b06b73160569e and related upstream patches to replace debian/patches/25_heimdal_api_changes.patch. This is an updated patch to address problems like https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686227
Currently the package is re-compiling.
Comment 9 Arvid Requate univentionstaff 2015-07-07 12:59:57 CEST
Maybe we should consider cherrypicking the patch for https://bugzilla.samba.org/show_bug.cgi?id=11061 as well if it applies cleanly.
Comment 10 Arvid Requate univentionstaff 2015-07-07 13:02:49 CEST
The previous comment refers to https://lists.samba.org/archive/samba-technical/2015-June/108045.html
Comment 11 Tim Petersen univentionstaff 2015-07-16 14:59:58 CEST
(In reply to Arvid Requate from comment #9)
> Maybe we should consider cherrypicking the patch for
> https://bugzilla.samba.org/show_bug.cgi?id=11061 as well if it applies
> cleanly.

Great! See 2015071621000257
Comment 12 Arvid Requate univentionstaff 2015-07-16 15:25:24 CEST
The patch for https://bugzilla.samba.org/show_bug.cgi?id=11061 is included in Samba 4.2.3.

New version imported. With the new tdb the "dbwrap_tdb_mutexes:* = yes" performance improvement announced for https://www.samba.org/samba/history/samba-4.2.0.html might actually work also with the system libtdb. We may want to test that at some point.

Updated advisories:

2015-05-27-tevent.yaml
2015-05-27-tdb.yaml
2015-05-27-samba.yaml
Comment 13 Stefan Gohmann univentionstaff 2015-07-18 21:38:32 CEST
Tests were successful:

 - Installation (Master + Slave): OK
 - Upgrade (Master + Backup + Slave + Member): OK
 - Join Win7: OK
 - Join Win8.1 OK
 - Join W2k8r2: OK
 - GPO tests: OK
 - Replikation after upgrading the Master only: OK
 - Memberserver / File access: OK
 - Point 'n' Print: OK
 - Slave rejoin: OK
 - AD Membermode: OK
 - @school update: OK
 - Password change at login: OK
 - ucs-test Master: OK
 - ucs-test Slave: OK


 - YAML files: Fail

You have set the version for 2015-05-27-ldb.yaml, 2015-05-27-talloc.yaml, 2015-05-27-tdb.yaml and 2015-05-27-tevent.yaml to 1 and 2, for 2015-05-27-samba.yaml you have used only 2. Is that correct?
Comment 14 Arvid Requate univentionstaff 2015-07-20 10:59:05 CEST
> - YAML files: Fail

fixed.
Comment 15 Stefan Gohmann univentionstaff 2015-07-20 14:40:05 CEST
(In reply to Arvid Requate from comment #14)
> > - YAML files: Fail
> 
> fixed.

OK
Comment 16 Arvid Requate univentionstaff 2015-07-20 16:20:45 CEST
univention-ldb-modules may need to be recompiled against Samba 4.2.3. At least the advisory needs updating.
Comment 17 Arvid Requate univentionstaff 2015-07-20 16:22:28 CEST
I rebuilt the package (i386, amd64) and adjusted the advisory: 2015-06-08-univention-ldb-modules.yaml
Comment 18 Stefan Gohmann univentionstaff 2015-07-20 16:51:12 CEST
(In reply to Arvid Requate from comment #17)
> I rebuilt the package (i386, amd64) and adjusted the advisory:
> 2015-06-08-univention-ldb-modules.yaml

OK, it still works.