Package: monopd
Version: 0.10.2-6+b2
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: s20n@ters.dev
Dear Maintainer,
monopd.service fails to start (could not bind port 1234), rendering the package unusable.
Mar 16 19:25:02 think182 sudo[4410]: shriram : TTY=pts/0 ; PWD=/home/shriram ; USER=root ; COMMAND=/usr/bin/apt install monopd
Mar 16 19:25:02 think182 sudo[4410]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Mar 16 19:25:03 think182 systemd[1]: Reloading.
Mar 16 19:25:04 think182 systemd[1]: Reloading.
Mar 16 19:25:04 think182 systemd[1]: Starting monopd.service - game server for board games like GtkAtlantic...
Mar 16 19:25:04 think182 systemd[1]: Listening on monopd.socket - monopd listening socket.
Mar 16 19:25:04 think182 monopd[4512]: monopd 0.10.2 started
Mar 16 19:25:04 think182 monopd[4512]: loaded game configuration: game=[Atlantic]
Mar 16 19:25:04 think182 monopd[4512]: loaded game configuration: game=[Monopoly]
Mar 16 19:25:04 think182 systemd[1]: monopd.service: Failed to parse ERRNO= field value '-2' in notification message: Numerical result out of range
Mar 16 19:25:04 think182 monopd[4512]: could not bind port 1234, exiting
Mar 16 19:25:04 think182 systemd[1]: monopd.service: Main process exited, code=exited, status=254/n/a
Mar 16 19:25:04 think182 systemd[1]: monopd.service: Failed with result 'exit-code'.
Mar 16 19:25:04 think182 systemd[1]: Failed to start monopd.service - game server for board games like GtkAtlantic.
Mar 16 19:25:05 think182 sudo[4410]: pam_unix(sudo:session): session closed for user root
That might be related to the latest change "Add a service template for compatibility reasons with monopd.socket.".
Actually, the main problem is /lib/systemd/system/monopd.socket which
set Accept=yes while monopd needs Accept=no (which is the default value).
Sylvain Rochet wrote:
Actually, the main problem is /lib/systemd/system/monopd.socket which
set Accept=yes while monopd needs Accept=no (which is the default value).
I wonder if monopd needs a systemd socket file at all and if we should disable the service after the installation. We have been using this
setting since the introduction of systemd. If monopd runs with
Accept=no then we also don't need a service template file. At some
point I also noticed the same warning as Shriram
"monopd.socket is a disabled or a static unit not running, not
starting it." and then followed [1] and added the required template
file.
I have been running monopd for the past decade and I also suspect the
daemon is affected by some bugs which might be remotely exploitable.
Since users usually don't need the monopd server anyway, if they want
to play a game, they should make a conscious decision to start it if
they want to use it locally. For a simple internet game, the daemon is
not required.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 01:17:42 |
Calls: | 6,666 |
Calls today: | 4 |
Files: | 12,212 |
Messages: | 5,335,482 |