User Story
It looks like LinuxGSM does not take kindly to changing the users default shell.
Example: the vhserver user has default shell /usr/bin/fish set when running wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh vhserver and ./vhserver install. Starting and stopping the server works just fine using ./vhserver start/stop. Now if we change the shell to bash for example chsh -s /bin/bash. ./vhserver stop or /vhserver details doesn't seem to work at all anymore whereas start does start the server but the shell hangs with output [ .... ] Starting vhserver: <serverName>.
Basic info
- Distro: Ubuntu 20.04
- Game: Valheim but not really relevant I assume
- Command: any
- LinuxGSM version: v20.1.3
Further Information
To Reproduce
Steps to reproduce the behaviour:
- Install a valheim server for example with default shell set to
/usr/bin/fish for the vhserver user
- Start stop the server using
./vhserver start ./vhserver stop
- Change the default shell using
chsh -s /bin/bash to bash
- Use
exit to quit the current shell and login again using su - vhserver
- Try to start/stop the server now using the commands above in bash
Expected behaviour
Same as when using /usr/bin/fish.
User Story
It looks like LinuxGSM does not take kindly to changing the users default shell.
Example: the vhserver user has default shell
/usr/bin/fishset when runningwget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh vhserverand./vhserver install. Starting and stopping the server works just fine using./vhserver start/stop. Now if we change the shell to bash for examplechsh -s /bin/bash../vhserver stopor/vhserver detailsdoesn't seem to work at all anymore whereasstartdoes start the server but the shell hangs with output[ .... ] Starting vhserver: <serverName>.Basic info
Further Information
To Reproduce
Steps to reproduce the behaviour:
/usr/bin/fishfor thevhserveruser./vhserver start./vhserver stopchsh -s /bin/bashto bashexitto quit the current shell and login again usingsu - vhserverExpected behaviour
Same as when using /usr/bin/fish.