Created attachment 11157 [details] Patch to prevent an SMB reset failure from stopping the exam When running an exam, if there is a failure while trying to kill the SMB process (see here: https://git.knut.univention.de/univention/ucsschool/-/blob/5.0/ucs-school-umc-computerroom/umc/python/computerroom/__init__.py?ref_type=heads#L966), this prevents the exam from starting up. Additionally, this leaves the exam in a half-started state, and room is still marked as being used by the exam, so new exams can't be started in the room. Additionally, the exam files don't get collected or otherwise cleaned up. Attached is a simplistic patch that prevents an SMB failure from starting the exam. However, a better, more long-term solution would be to catch any failures during startup and perform a cleanup of the exam, files, and room.
Package: ucs-school-umc-computerroom Version: 12.0.23 Branch: 5.0-0 Scope: ucs-school-5.0
Errata updates for UCS@school 5.0 v6 have been released. https://docs.software-univention.de/ucsschool-changelog/5.0v6/en/changelog.html https://docs.software-univention.de/ucsschool-changelog/5.0v6/de/changelog.html If this error occurs again, please clone this bug.