Bug 36861

Summary: univention-printquota copies machine.secret in postinst -> does not work on unjoined systems
Product: UCS Reporter: Felix Botner <botner>
Component: Printserver - pykotaAssignee: Felix Botner <botner>
Status: CLOSED FIXED QA Contact: Drees Dormann <dormann>
Severity: normal    
Priority: P5 CC: gohmann, walkenhorst
Version: UCS 4.0   
Target Milestone: UCS 4.0-1-errata   
Hardware: Other   
OS: Linux   
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):
Max CVSS v3 score:

Description Felix Botner univentionstaff 2014-11-19 10:38:14 CET
univention-printquota needs the machine.secret, but copies this file in the postinst (not in the join script). 
This breaks the installation of univention-printquota on unjoined systems (even after the join, univention-printquota does not work because the secret is missing)

Workaround:

/usr/lib/univention-server/server_password_change.d/univention-printquota postchange
Comment 1 Felix Botner univentionstaff 2015-03-25 15:35:55 CET
moved the machine.secret stuf to the join script.

YAML: 2015-03-25-univention-printquota.yaml
Comment 2 Drees Dormann univentionstaff 2015-04-01 10:16:12 CEST
install on unjoined system OK
Yaml OK
Comment 3 Janek Walkenhorst univentionstaff 2015-04-08 12:35:21 CEST
<http://errata.univention.de/ucs/4.0/143.html>