Bug 46859 - univention-samba-local-config: ImportError during installation
univention-samba-local-config: ImportError during installation
Status: CLOSED DUPLICATE of bug 46975
Product: UCS
Classification: Unclassified
Component: univention-base-files
UCS 4.3
Other Linux
: P5 normal (vote)
: UCS 4.3-1-errata
Assigned To: Felix Botner
Arvid Requate
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-04-20 15:49 CEST by Niko Wenselowski
Modified: 2018-08-08 11:38 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.103
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 Niko Wenselowski 2018-04-20 15:49:45 CEST
While testing UCS 4.3-0 errata21 an installation pulled in univention-samba-local-config as an dependency.

During the installation I observed the following messages:
    univention-samba-local-config (12.0.1-1A~4.3.0.201802271540) wird eingerichtet ...
    Script: /etc/univention/templates/scripts/samba.local.config.py
    Traceback (most recent call last):
      File "/etc/univention/templates/scripts/samba.local.config.py", line 34, in <module>
        from univention.lib.share_restrictions import ShareConfiguration
    ImportError: No module named share_restrictions
    Multifile: /etc/samba/smb.conf
    Script: /etc/univention/templates/scripts/samba.local.config.py
    Multifile: /etc/samba/smb.conf



I assume that directly installing univention-samba-local-config will also result in the error.
My whole steps included adding a foreign repository and this is probably too much but if you are interested in this
Comment 1 Felix Botner univentionstaff 2018-07-17 14:08:30 CEST
fixed with Bug #46975

*** This bug has been marked as a duplicate of bug 46975 ***
Comment 2 Arvid Requate univentionstaff 2018-07-24 15:49:51 CEST
Ok
Comment 3 Stefan Gohmann univentionstaff 2018-08-08 11:38:44 CEST
OK, nothing to release.