Univention Bugzilla – Bug 49997
53_samba-common/60_local_config failed
Last modified: 2019-08-12 17:51:48 CEST
The rebuild of the package univention-samba in Bug #48698 caused a failing ucs-test: [2019-08-12 03:55:32.623154] Create samba/global/options/netbios aliases [2019-08-12 03:55:32.736892] Script: /etc/univention/templates/scripts/samba.local.config.py [2019-08-12 03:55:32.776292] Multifile: /etc/samba/smb.conf [2019-08-12 03:55:33.367050] netbios aliases is set to ; expected myubinu8 (2019-08-12 03:55:33.368119) error 2019-08-12 03:55:33 **************** Test failed above this line (1) **************** [2019-08-12 03:55:33.403276] Unsetting samba/global/options/netbios aliases [2019-08-12 03:55:33.516673] Script: /etc/univention/templates/scripts/samba.local.config.py [2019-08-12 03:55:33.555644] Multifile: /etc/samba/smb.conf Further analysing shows: # ucr set samba/global/options/"netbios aliases"="value" Create samba/global/options/netbios aliases Script: /etc/univention/templates/scripts/samba.local.config.py Multifile: /etc/samba/smb.conf /etc/univention/templates/scripts/samba.local.config.py contains: try: from univention.lib.share_restrictions import ShareConfiguration except ImportError: sys.exit(0) # python >>> from univention.lib.share_restrictions import ShareConfiguration Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named share_restrictions # ls -l /usr/share/pyshared/univention/lib/share_restrictions.py The package is missing a: /usr/share/python-support/univention-samba-local-config.public Probably a build dependency on python-support is missing. +++ This bug was initially created as a clone of Bug #48698 +++
The try-except block was introduced in Bug #46975. Can we remove it? We should fix this Bug by doing Bug #49177.
*** This bug has been marked as a duplicate of bug 49177 ***