Bug 50948

Summary: License Activation: /etc/machine.secret: No such file or directory
Product: UCS Reporter: Nico Gulden <gulden>
Component: LicenseAssignee: UMC maintainers <umc-maintainers>
Status: RESOLVED DUPLICATE QA Contact: UMC maintainers <umc-maintainers>
Severity: normal    
Priority: P5 CC: best, steuwer
Version: UCS 4.4   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=50947
What kind of report is it?: Bug Report What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 2: Will only affect a few installed domains How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.274 Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: 2020020621000024, 2019111721000589, 2020021921000296, 2020021421000616, 2020061021000554, 2020042121000028, 2020042721000179, 2020051321000292 Bug group (optional): External feedback
Max CVSS v3 score:

Description Nico Gulden univentionstaff 2020-03-13 09:50:22 CET
During activation of an app appliance the following traceback can occur:

/etc/machine.secret: No such file or directory
LdapLicenseFetchError: usr/bin/sudo /usr/bin/univention-ldapsearch -LLL objectClass=univentionLicense exited with 1:
    raise LdapLicenseFetchError('{} exited with {}:\n{}'.format(' '.join(cmd), proc.returncode, out))
  File "/usr/share/pyshared/univention/system_activation/wsgi.py", line 104, in application

Seen at Ticket#2020020621000024 and Ticket#2019111721000589
Comment 1 Nico Gulden univentionstaff 2020-06-17 11:08:10 CEST
*** Bug 51079 has been marked as a duplicate of this bug. ***
Comment 3 Florian Best univentionstaff 2020-08-18 14:48:53 CEST
This was caused by Bug #46790 and I fixed it in Bug #51373.

*** This bug has been marked as a duplicate of bug 51373 ***