Версия пакета: matrix-synapse-1.19.0-alt1 # systemctl start matrix-synapse # systemctl status matrix-synapse ● matrix-synapse.service - Synapse Matrix homeserver Loaded: loaded (/lib/systemd/system/matrix-synapse.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2020-09-18 13:29:16 UTC; 406ms ago Process: 5698 ExecStart=/usr/bin/python3 -m synapse.app.homeserver --config-path=/etc/synapse/homeserver.yaml (code=exited, status=1/FAILURE) Main PID: 5698 (code=exited, status=1/FAILURE) CPU: 756ms сен 18 13:29:15 server-91-x86-64-min-20200818.localdomain systemd[1]: Started Synapse Matrix homeserver. сен 18 13:29:16 server-91-x86-64-min-20200818.localdomain python3[5698]: ERROR:root:Needed canonicaljson>=1.2.0, got canonicaljson==1.1.4 сен 18 13:29:16 server-91-x86-64-min-20200818.localdomain python3[5698]: ERROR:root:Needed optional txredisapi>=1.4.7, got txredisapi==1.2 сен 18 13:29:16 server-91-x86-64-min-20200818.localdomain python3[5698]: Missing Requirements: 'canonicaljson>=1.2.0', 'txredisapi>=1.4.7' сен 18 13:29:16 server-91-x86-64-min-20200818.localdomain python3[5698]: To install run: сен 18 13:29:16 server-91-x86-64-min-20200818.localdomain python3[5698]: pip install --upgrade --force 'canonicaljson>=1.2.0' 'txredisapi>=1.4.7' сен 18 13:29:16 server-91-x86-64-min-20200818.localdomain systemd[1]: matrix-synapse.service: Main process exited, code=exited, status=1/FAILURE сен 18 13:29:16 server-91-x86-64-min-20200818.localdomain systemd[1]: matrix-synapse.service: Failed with result 'exit-code'. # rpm -qa | grep canonicaljson python3-module-canonicaljson-1.1.4-alt1.noarch # rpm -qa | grep txredisapi python3-module-txredisapi-1.2-alt2.noarch
Понял, обновлю зависимости.
matrix-synapse-1.19.3-alt1 -> sisyphus: Fri Sep 18 2020 Vitaly Lipatov <lav@altlinux.ru> 1.19.3-alt1 - new version 1.19.3 (with rpmrb script) - update requirements (ALT bug 38962)
Версия: matrix-synapse-1.104.0-alt1 Стенд, обновлённый до Sisyphus: ALT Server x86-64 Шаги те же https://bugzilla.altlinux.org/show_bug.cgi?id=38962#c0, поведение несколько изменилось. Вывод: # systemctl status matrix-synapse × matrix-synapse.service - Synapse Matrix homeserver Loaded: loaded (/usr/lib/systemd/system/matrix-synapse.service; enabled; preset: disabled) Active: failed (Result: exit-code) since Mon 2024-06-17 15:57:48 MSK; 1s ago Duration: 3.963s Process: 26264 ExecStart=/usr/bin/python3 -m synapse.app.homeserver --config-path=/etc/synapse/homeserver.yaml (code=exited, status=1/FAILURE) Main PID: 26264 (code=exited, status=1/FAILURE) CPU: 2.467s июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain python3[26264]: with open( июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain python3[26264]: ^^^^^ июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain python3[26264]: File "/usr/lib64/python3/site-packages/synapse/config/key.py", line 274, in <lambda> июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain python3[26264]: signing_key_path, "w", opener=lambda p, f: os.open(p, f, mode=0o640) июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain python3[26264]: ^^^^^^^^^^^^^^^^^^^^^^^^^ июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain python3[26264]: PermissionError: [Errno 13] Permission denied: '/etc/synapse/my.matrix.alt.signing.key' июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain python3[26264]: Generating signing key file /etc/synapse/my.matrix.alt.signing.key июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain systemd[1]: matrix-synapse.service: Main process exited, code=exited, status=1/FAILURE июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain systemd[1]: matrix-synapse.service: Failed with result 'exit-code'. июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain systemd[1]: matrix-synapse.service: Consumed 2.467s CPU time.
(Ответ для Tatyana Gagina на комментарий #3) > python3[26264]: PermissionError: [Errno 13] Permission denied: > '/etc/synapse/my.matrix.alt.signing.key' > python3[26264]: Generating signing key file > /etc/synapse/my.matrix.alt.signing.key Актуально для 1.129.0-alt1.
matrix-synapse-1.162.0-alt1 -> sisyphus: Sun Oct 11 2026 Vitaly Lipatov <lav@altlinux.ru> 1.162.0-alt1 - new version 1.162.0 - security fixes: + CVE-2026-45076, GHSA-6qf2-7x63-mm6v: fix pagination denial of service + CVE-2026-45078, GHSA-8q93-326v-3m7g: fix CPU starvation under worker lock contention + CVE-2026-102534, GHSA-fp53-rw9v-hcf9: fix resource exhaustion from user-configured push rules + CVE-2026-102533, GHSA-rgv2-84w7-5j9p: fix accepting spoofed to-device messages + CVE-2026-102535, GHSA-27p5-4f45-gx76: fix event disclosure via federation /get_missing_events + CVE-2026-102543, GHSA-95fh-hv8c-chvq: fix relaying federation 401 responses to clients + CVE-2026-102531, GHSA-cjh7-rcpx-xpf8: fix malicious redirection of room aliases + CVE-2026-102592, GHSA-6wjm-9p2x-gvpm: fix memory exhaustion by multipart/form-data requests + CVE-2026-102532, GHSA-qcjr-46gf-7f4r: fix auth event disclosure via federation /event_auth + CVE-2026-102542, GHSA-r66v-qhwx-8rg4: fix event ID disclosure via federation /timestamp_to_event + CVE-2026-102591, GHSA-jhcg-5392-5mjw: fix invalid Sliding Sync responses on invalid room data + CVE-2026-102595, GHSA-vh4c-pqh4-w3wq: fix extraneous HTTP path segments in some endpoints + CVE-2026-102597, GHSA-hgcg-p9gx-fq5f: fix extraneous trailing data on the URL of some endpoints + GHSA-82j2-j2ch-gfr8: fix rustls-webpki denial of service via malformed CRL + GHSA-36hh-v3qg-5jq4: fix PyO3 out-of-bounds read in PyList/PyTuple iterators + GHSA-chgr-c6px-7xpp: fix PyO3 missing Sync bound on PyCFunction closures - update requirements, require python-multipart instead of multipart - filter out requires on internal synapse.synapse_rust modules - make /etc/synapse writable for _synapse group to create the signing key (closes: #57534) (closes: #38962)