Bug#807911: bzflag-server: bzfs always launched on boot; RUN_AT_STARTUP setting ignored
Thorsten Bonow
thorsten.bonow at withouthat.org
Mon Dec 14 12:39:21 UTC 2015
Package: bzflag-server
Version: 2.4.2+ds1-6+b1
Severity: normal
Dear Maintainer,
it is not possible to start a bzfs server from within BZFlag because
there is one already running, launched during startup. Default setting
'RUN_AT_STARTUP="no"' in '/etc/default/bzflag' is ignored.
Manually stopping the server solves the problem. The systemd service
file has 'EnvironmentFile=-/etc/default/bzflag line, so the default
settings should be honoured.
Thx for packaging my favourite game.
Toto
$ ps aux | grep bzfs | grep -v grep
games 1100 0.0 0.2 88656 8668 ? Ss 13:04 0:00 /usr/games/bzfs -advertise NONE
$ service bzflag status
● bzflag.service - BZFlag game server
Loaded: loaded (/lib/systemd/system/bzflag.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2015-12-14 13:04:12 CET; 5min ago
Docs: man:bzfs(6)
Main PID: 1100 (bzfs)
CGroup: /system.slice/bzflag.service
└─1100 /usr/games/bzfs -advertise NONE
Dec 14 13:04:12 talkietoaster systemd[1]: Started BZFlag game server.
Dec 14 13:04:12 talkietoaster bzfs[1100]: Note: no acceleration limit has been set. Players using "mouse
Dec 14 13:04:12 talkietoaster bzfs[1100]: enhancements" may cause problems on this server due to very high
Dec 14 13:04:12 talkietoaster bzfs[1100]: acceleration rates which are not handled well by dead reckoning
Dec 14 13:04:12 talkietoaster bzfs[1100]: algorithms. To eliminate this warning, set the -a switch in your
Dec 14 13:04:12 talkietoaster bzfs[1100]: configuration. '-a 50 38' is recommended for standard-speed servers.
Dec 14 13:04:12 talkietoaster bzfs[1100]: Higher speed servers will need higher values for -a in order to not
Dec 14 13:04:12 talkietoaster bzfs[1100]: affect gameplay. '-a 0 0' may be used to shut this message up without
Dec 14 13:04:12 talkietoaster bzfs[1100]: affecting any players, including those using "mouse enhancements".
$ cat /etc/default/bzflag
# RUN_AT_STARTUP
# "yes|true|enabled", /etc/init.d/bzflag will start bzfs.
# Any other value, /etc/init.d/bzflag will exit silently.
#
RUN_AT_STARTUP="no"
# OPTIONS
# Command line options to pass to bzfs. See bzfs(6) for more details.
#
OPTIONS="-advertise NONE"
$ cat /etc/systemd/system/multi-user.target.wants/bzflag.service
[Unit]
Description=BZFlag game server
Documentation=man:bzfs(6)
After=network.target
[Service]
Environment="OPTIONS=-advertise NONE"
EnvironmentFile=-/etc/default/bzflag
User=games
Group=games
ExecStart=/usr/games/bzfs $OPTIONS
[Install]
WantedBy=multi-user.target
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages bzflag-server depends on:
ii init-system-helpers 1.24
ii libc-ares2 1.10.0-2
ii libc6 2.21-4
ii libcurl3-gnutls 7.45.0-1+b1
ii libgcc1 1:5.3.1-3
ii libncurses5 6.0+20151024-2
ii libstdc++6 5.3.1-3
ii libtinfo5 6.0+20151024-2
ii zlib1g 1:1.2.8.dfsg-2+b1
bzflag-server recommends no packages.
bzflag-server suggests no packages.
-- no debconf information
More information about the Pkg-games-devel
mailing list