Bug 49177 - Migrate services/univention-samba to dh_python2
Migrate services/univention-samba to dh_python2
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 4.4
All Linux
: P5 normal (vote)
: UCS 4.4-1-errata
Assigned To: Florian Best
Arvid Requate
:
: 49997 (view as bug list)
Depends on:
Blocks: 28497 49174
  Show dependency treegraph
 
Reported: 2019-03-28 10:28 CET by Florian Best
Modified: 2019-08-14 16:35 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
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:
best: Patch_Available+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2019-03-28 10:28:06 CET
The package services/univention-samba should be migrated to use dh_python instead of python-support.

Migration-Guide: https://hutten.knut.univention.de/mediawiki/index.php/Python_DebHelper_Migration
Comment 1 Florian Best univentionstaff 2019-04-15 16:36:00 CEST
Depends on:
services/univention-printserver/cups-printers.py:»   »   »   subprocess.call(['python', '/usr/share/pyshared/univention/lib/share_restrictions.py'])

(Actually removed with Bug #48947).
Comment 2 Florian Best univentionstaff 2019-08-12 17:41:26 CEST
Patch in branch: fbest/49177-univention-samba-dh-python
Comment 3 Florian Best univentionstaff 2019-08-12 17:51:48 CEST
*** Bug 49997 has been marked as a duplicate of this bug. ***
Comment 4 Florian Best univentionstaff 2019-08-12 18:02:15 CEST
Fixed in:

univention-samba (13.0.0-7)
a5891113736e | Bug #49177: Merge branch 'fbest/49177-univention-samba-dh-python' into 4.4-1
3c93b2a9fee2 | Bug #49177: fix python errors
76ef220e9a90 | Bug #49177: futurize -nw --no-diffs -f libfuturize.fixes.fix_print_with_import .
626bc1da6e62 | Bug #49177: migrate to dh-python2

univention-samba.yaml
a5891113736e | Bug #49177: Merge branch 'fbest/49177-univention-samba-dh-python' into 4.4-1
b136c555ad48 | YAML Bug #49177
Comment 5 Arvid Requate univentionstaff 2019-08-12 18:25:15 CEST
Verified:
* Code review: Ok
* Fixes the ucs-test regression: Ok

root@master10:/usr/share/ucs-test/53_samba-common# ./60_local_config -f
Create samba/global/options/netbios aliases
Script: /etc/univention/templates/scripts/samba.local.config.py
Multifile: /etc/samba/smb.conf
Unsetting samba/global/options/netbios aliases
Script: /etc/univention/templates/scripts/samba.local.config.py
Multifile: /etc/samba/smb.conf
Starting 1 ucs-test at 2019-08-04 14:41:15 to /dev/null
UCS 4.4-1-e223 ucs-test 9.0.3-8A~4.4.0.201908121611
Check local config......................................................................................................................... Test passed


* Advisory: Ok
Comment 6 Erik Damrose univentionstaff 2019-08-14 16:35:25 CEST
<http://errata.software-univention.de/ucs/4.4/232.html>