Bug 36861 - univention-printquota copies machine.secret in postinst -> does not work on unjoined systems
univention-printquota copies machine.secret in postinst -> does not work on u...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Printserver - pykota
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-1-errata
Assigned To: Felix Botner
Drees Dormann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-19 10:38 CET by Felix Botner
Modified: 2015-04-08 12:35 CEST (History)
2 users (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>