Bug 40582

Summary: Self service doesn't work if installed via system-setup
Product: UCS Reporter: Florian Best <best>
Component: Self ServiceAssignee: Daniel Tröder <troeder>
Status: CLOSED FIXED QA Contact: Florian Best <best>
Severity: normal    
Priority: P5 CC: walkenhorst
Version: UCS 4.1   
Target Milestone: UCS 4.1-0-errata   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=40581
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): External feedback
Max CVSS v3 score:

Description Florian Best univentionstaff 2016-02-04 13:11:08 CET
If the self-service is installed via the software selection in the system-setup-wizard instead from the appcenter it fails to copy the /etc/machine.secret (which not yet exists) and is therefore unusable.
Comment 1 Florian Best univentionstaff 2016-02-04 13:14:41 CET
The password rotation script hasn't been executed.
Comment 2 Daniel Tröder univentionstaff 2016-02-05 11:40:28 CET
The creation of the ldap secret file was moved to the join script. Its VERSION was raised, so that an update "repairs" broken installations.

Code: 67212
Advisory: 67213
Comment 3 Daniel Tröder univentionstaff 2016-02-05 13:04:19 CET
Commit 67225 changes the package to not raise the join script version number, and run the LDAP secrets update from postinst if it's an update.
YAML: 67227
Comment 4 Florian Best univentionstaff 2016-02-05 13:20:25 CET
No error handling in joinscript. Please add '|| die'.
Comment 5 Daniel Tröder univentionstaff 2016-02-05 13:41:17 CET
done: 67230
yaml: 67231
Comment 6 Florian Best univentionstaff 2016-02-08 14:27:36 CET
OK: upgrade
OK: YAML
Comment 7 Janek Walkenhorst univentionstaff 2016-02-11 13:59:57 CET
<http://errata.software-univention.de/ucs/4.1/110.html>