[Bug 292039] net-im/py-matrix-synapse 1.138 imediatly shuts down

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 30 Dec 2025 13:41:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292039

            Bug ID: 292039
           Summary: net-im/py-matrix-synapse 1.138 imediatly shuts down
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jaap.aarts1@gmail.com
                CC: ports@skyforge.at
             Flags: maintainer-feedback?(ports@skyforge.at)
                CC: ports@skyforge.at

After upgrading to 1.138 synapse was not starting propperly. I tracked this
down to the `--daemonize` flag passed to synapse.

I don't know if this is a new flag, or if behavior changes, but synapse shuts
down (and doesn't keep running in the background) with this flag:

Notice the missing port for synapse below:
```
$ /usr/local/bin/python3.11  -m synapse.app.homeserver --daemonize -c
/usr/local/etc/matrix-synapse/homeserver.yaml
2025-12-30 14:40:00,419 - synapse.config.logger - 354 - WARNING - main- *****
STARTING SERVER *****
2025-12-30 14:40:00,419 - synapse.config.logger - 355 - WARNING - main- Server
/usr/local/lib/python3.11/site-packages/synapse/app/homeserver.py version
1.138.0
2025-12-30 14:40:00,419 - synapse.config.logger - 360 - WARNING - main-
Copyright (c) 2023 New Vector, Inc
2025-12-30 14:40:00,420 - synapse.config.logger - 361 - WARNING - main-
Licensed under the AGPL 3.0 license. Website:
https://github.com/element-hq/synapse
$ sockstat -4 -l
USER             COMMAND      PID FD PROTO LOCAL ADDRESS         FOREIGN
ADDRESS
mautrix-signal   mautrix-si 78421  8 tcp4  127.0.0.1:29328       *:*
mautrix-whatsapp mautrix-wh 76070 12 tcp4  127.0.0.1:29318       *:*
www              nginx      73780  7 tcp4  *:443                 *:*
root             nginx      73607  7 tcp4  *:443                 *:*
postgres         postgres   58030  8 tcp4  127.0.0.1:5432        *:*
root             syslogd    31899  7 udp4  *:514                 *:*
```

-- 
You are receiving this mail because:
You are the assignee for the bug.