Bug 57505 - Diagnostic module complains about /usr/share/univention-management-console/oidc/oidc.json
Diagnostic module complains about /usr/share/univention-management-console/oi...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0-8-errata
Assigned To: Felix Botner
Arvid Requate
https://git.knut.univention.de/univen...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2024-08-06 14:31 CEST by Felix Botner
Modified: 2024-08-21 15:34 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 Felix Botner univentionstaff 2024-08-06 14:31:23 CEST
Is OIDC for UMC is configured, the diagnostic module (31_file_permissions) complains about:

AssertionError: ## Check failed: 31_file_permissions - Überprüfe Datei Berechtigungen ##   Datei '/usr/share/univention-management-console/oidc/oidc.json' hat Datei-Modus 644, 600 war erwartet.

We need fix either the diagnostic module to accept this or change the mode of the file to 600.
Comment 1 Felix Botner univentionstaff 2024-08-08 21:08:36 CEST
Fixed in umc by ensuring mode 600 for '/usr/share/univention-management-console/oidc/oidc.json'

46e9a051

Successful build
Package: univention-management-console
Version: 12.0.34-3
Branch: 5.0-0
Scope: errata5.0-8
Comment 2 Arvid Requate univentionstaff 2024-08-09 10:48:46 CEST
36835a1e0e | Advisory typo

Verified:
* Merged to 5.1-0 and 5.2-0 and built for both
* Advisory
Comment 3 Dirk Wiesenthal univentionstaff 2024-08-21 15:34:59 CEST
<https://errata.software-univention.de/#/?erratum=5.0x1104>