Bug 53021 - 101_exam_mode_home_directories_permissions fails due to slow replication
101_exam_mode_home_directories_permissions fails due to slow replication
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: UMC - Exam mode
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-03-31 11:02 CEST by Tobias Wenzel
Modified: 2023-06-26 10:41 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
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 Tobias Wenzel univentionstaff 2021-03-31 11:02:51 CEST
The test 90_ucsschool.101_exam_mode_home_directories_permissions
fails - sometimes.

In Bug #49655: set ntacl after distribution, we implemented a function which
sets nt alcs on the exam users home directory, to prohibit them to change ownership and permissions.
There are several files which are created when the user first logs in, e.g. windows-profiles, .profile & . univention-skel.lock, so in schoolexam.init_windows_profiles we do exactly that. 

Sometimes this fails in our test with NT_STATUS_LOGON_FAILURE, maybe it's a replication problem again, but I don't now exactly. The problem does not seem to lie inside the test (I waited for 200s and nothing happend)


The exam mode still works and exam user are not allowed to change their file permissions except for those, (partly) hidden files and an error is logged to /var/log/univention/management-console-module-schoolexam.log  
Nevertheless, this is not optimal.