Bug 49917 - prevent roles UDM hook to modify UDM objects on non-master/backup
prevent roles UDM hook to modify UDM objects on non-master/backup
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Documentation
UCS@school 4.4
Other Linux
: P5 normal (vote)
: UCS@school 4.4 v3-errata
Assigned To: Daniel Tröder
Ole Schwiegert
:
Depends on:
Blocks: 49932 49963
  Show dependency treegraph
 
Reported: 2019-07-24 17:31 CEST by Stefan Gohmann
Modified: 2019-08-05 18:42 CEST (History)
6 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few 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.114
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2019071921000299, 2019031921001054
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 Stefan Gohmann univentionstaff 2019-07-24 17:31:18 CEST
The migration script does not migrate all central objects (memberserver, windows, mac, ...): /usr/share/ucs-school-import/scripts/migrate_ucsschool_roles


Unfortunately, the UDM hook tries to set the the role attributes which leads to rejects on the school slaves.
Comment 1 Christina Scheinig univentionstaff 2019-07-26 13:57:12 CEST
Rejects appear on 5 school-slaves in an other environment
Comment 2 Daniel Tröder univentionstaff 2019-07-29 13:33:18 CEST
As a hot, prevent the roles UDM hook to modify UDM objects on non-master/backup.
Separate Bug #49932 will update the migration script.
Comment 3 Daniel Tröder univentionstaff 2019-08-01 12:59:37 CEST
[4.4] 938720aea Bug #49917: prevent running the UcsschoolRoleComputers UDM hook on non master/backup systems
[4.4] 441db4c8e Bug #49917: advisory
[4.4] 72148c447 Bug #49917: force redistribution of UDM hook
[4.4] d41f83e2f Bug #49917: advisory update

ucs-school-import (17.0.8)
Comment 4 Ole Schwiegert univentionstaff 2019-08-02 10:13:20 CEST
Changelog&Advisory: OK
Package installs: OK
Hook is replicated: OK
Appends roles on master/backup: OK
No changes attempted otherwise: OK
Comment 5 Daniel Tröder univentionstaff 2019-08-05 18:42:21 CEST
UCS@school 4.4 v3 has been released.

https://docs.software-univention.de/release-notes-ucsschool-4.4v3-de.html

If this error occurs again, please clone this bug.