mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 14:15:59 +03:00
[GH-ISSUE #736] centos tmux non-rpm causes false warnings #591
Labels
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LinuxGSM#591
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JHiemenz on GitHub (Mar 3, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/736
Originally assigned to: @dgibbs64 on GitHub.
CentOS 6.7, installed tmux manually, non-rpm version .
tf2server script only checks dependencies by checking for existence of installed RPM, instead of actual binary.
Would there be a way to check if tmux is found in path (tmux -V ?)
This would prevent the following message for every stop/start/update/etc command issued to tf2server:
@dgibbs64 commented on GitHub (Mar 3, 2016):
Good point. I didn't think about that :-P. I will have to address this
@jaredballou commented on GitHub (Mar 10, 2016):
Why did you install outside the RPM? It's bad practice, and if it's installed without RPM it means we can't easily verify the requirements are actually met.
@JHiemenz commented on GitHub (Mar 10, 2016):
The existence of the RPM isn't actually checking the file/program is
actually there and accessible, or correct version. it is just checking RPM
install log for version installed at some point of history.
One can check if RPM is installed and continue to find another fatal error,
such as the program is missing for some reason.
For an executable program, like tmux, I prefer to check the program is
there (right now) and can be accessed, and what version it is. Checking
output of 'which' show me the program is present, in my path:
[tf2@tf2 ~]$ which tmux
/usr/local/bin/tmux
checking version shows me I can execute and validate version is recent
enough:
[tf2@tf2 ~]$ tmux -V
tmux 2.1
and therein is the reason I do not use the RPM. I do not wish to use an
outdated version of tmux. The RPM version in CentOS epel for 6.7 is way
back at tmux version 1.6.
On Thu, Mar 10, 2016 at 9:11 AM, Jared Ballou notifications@github.com
wrote:
@iNilo commented on GitHub (Aug 5, 2016):
Removed my RPM, build from source
Aug 06 01:00:03 csgo-server: CHECK: FATAL: Tmux is not installed
Aug 06 01:00:03 csgo-server: CHECK: FATAL: check_tmux.sh exiting with code: 1
which tmux
/usr/local/bin/tmuxwhereis tmux
tmux: /usr/local/bin/tmuxtmux -V
tmux 2.3@dgibbs64 commented on GitHub (Aug 6, 2016):
That's odd the code uses which to check for tmux :-/
@iNilo commented on GitHub (Aug 7, 2016):
When manually executing the check_tmux.sh it seems to detect it. (which it should).
This might be a env/cron problem on my side
@dgibbs64 commented on GitHub (Aug 7, 2016):
Could be. Hopefully you can find a solution. Let us know if you think that there is anything we can do to in LGSM to resolve this type of issue.
@dgibbs64 commented on GitHub (Aug 7, 2016):
Please can I get feedback. Change to the development branch in your scripts and test for me to ensure this is working for you. Once you are happy I can merge.
Thanks
@dgibbs64 commented on GitHub (Aug 12, 2016):
This is now in master i think i have fixed it :)
@lock[bot] commented on GitHub (Jul 19, 2018):
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.