Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shuts down in podman when there is no activity for some time. #111

Open
RustyRaptor opened this issue Feb 10, 2024 · 1 comment
Open

Shuts down in podman when there is no activity for some time. #111

RustyRaptor opened this issue Feb 10, 2024 · 1 comment

Comments

@RustyRaptor
Copy link

So, I tried to see if this issue is also happening with with this image as well and it appears to be.
This is rootless podman so maybe this is specific to rootless so I'll try a root podman too.

Running on Fedora 39 server

podman-compose version: 1.0.6
['podman', '--version', '']
using podman version: 4.9.0
podman-compose version 1.0.6
podman --version 
podman version 4.9.0

docker-compose.yaml file

version: "3"
services:
  guacamole:
    image: flcontainers/guacamole
    container_name: guacamole
    environment:
      TZ: 'UTC'
    volumes:
      - ./postgres:/config
      - /etc/localtime:/etc/localtime:ro
    ports:
      - 8080:8080
volumes:
  postgres:
    driver: overlay2

logs (relevant)

guacd[311]: INFO:       Last user of connection "$7c7c964f-14ca-47b1-ac62-b571a529f111" disconnected
guacd[311]: INFO:       SSH connection ended.
guacd[37]: INFO:        Connection "$7c7c964f-14ca-47b1-ac62-b571a529f111" removed.
guacd[334]: INFO:       User "@15e9d844-6304-4ccd-9c90-e54fa2681897" disconnected (0 users remain)
guacd[334]: INFO:       Last user of connection "$b4562a63-b5bf-45ad-a3fa-24343379ea06" disconnected
guacd[334]: INFO:       Internal VNC client disconnected
guacd[37]: INFO:        Connection "$b4562a63-b5bf-45ad-a3fa-24343379ea06" removed.
2024-02-10 17:06:48.339 UTC [131] FATAL:  terminating connection due to administrator command
2024-02-10 17:06:48.339 UTC [126] FATAL:  terminating connection due to administrator command
2024-02-10 17:06:48.339 UTC [124] FATAL:  terminating connection due to administrator command
2024-02-10 17:06:48.339 UTC [36] LOG:  received smart shutdown request
2024-02-10 17:06:48.339 UTC [132] FATAL:  terminating connection due to administrator command
exit code: 0

Complete logs

podman-compose version: 1.0.6
['podman', '--version', '']
using podman version: 4.9.0
podman logs -f guacamole
Running startup scripts
Preparing Config Folder
rm: can't remove '/config/guacamole/extensions/guacamole-auth-duo-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-header-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-jdbc-mysql-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-jdbc-sqlserver-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-json-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-quickconnect-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-sso-openid-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-sso-saml-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-sso-cas-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-vault-ksm-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-history-recording-storage-*.jar': No such file or directory
Applied owners rights on Postgres folder...
DB lock removed...
Running Postgres
Starting Postgres...
Running Guacamole server
Post startup DB scripts
Running postgres init
guacd[37]: INFO:        Guacamole proxy daemon (guacd) version 1.5.4 started
guacd[37]: INFO:        Listening on host 0.0.0.0, port 4822
Running postgres init

PostgreSQL Database directory appears to contain a database; Skipping initialization

2024-02-10 16:59:32.502 UTC [36] LOG:  starting PostgreSQL 13.13 on x86_64-alpine-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit
2024-02-10 16:59:32.502 UTC [36] LOG:  listening on IPv6 address "::1", port 5432
2024-02-10 16:59:32.502 UTC [36] LOG:  listening on IPv4 address "127.0.0.1", port 5432
2024-02-10 16:59:32.514 UTC [36] LOG:  listening on Unix socket "/run/postgresql/.s.PGSQL.5432"
2024-02-10 16:59:32.526 UTC [66] LOG:  database system was interrupted; last known up at 2024-02-10 16:55:25 UTC
2024-02-10 16:59:32.592 UTC [66] LOG:  database system was not properly shut down; automatic recovery in progress
2024-02-10 16:59:32.599 UTC [66] LOG:  redo starts at 0/168B4C8
2024-02-10 16:59:32.599 UTC [66] LOG:  invalid record length at 0/168B5B0: wanted 24, got 0
2024-02-10 16:59:32.599 UTC [66] LOG:  redo done at 0/168B578
2024-02-10 16:59:32.636 UTC [36] LOG:  database system is ready to accept connections
Connection to localhost (::1) 5432 port [tcp/postgresql] succeeded!
database port open... Finishing Configuration
guacamole database already up-to-date. Nothing applied...
Running Tomcat
Connection to localhost (::1) 5432 port [tcp/postgresql] succeeded!
Tomcat started.
container started
guacd[37]: INFO:        Creating new client for protocol "vnc"
guacd[37]: INFO:        Connection ID is "$8571d9ea-7964-40a1-87d5-a3248c6ffe6d"
guacd[136]: INFO:       Cursor rendering: local
guacd[136]: INFO:       User "@3078ded4-577e-4bac-bac2-f777011da40b" joined connection "$8571d9ea-7964-40a1-87d5-a3248c6ffe6d" (1 users now present)
guacd[37]: INFO:        Creating new client for protocol "ssh"
guacd[37]: INFO:        Connection ID is "$c58fe0f8-8765-43c2-8704-b6860bdb9098"
guacd[164]: INFO:       User "@14558ced-b8aa-41be-996b-dd9782dc77f3" joined connection "$c58fe0f8-8765-43c2-8704-b6860bdb9098" (1 users now present)
guacd[164]: INFO:       Auth key successfully imported.
guacd[164]: WARNING:    No known host keys provided, host identity will not be verified.
guacd[164]: ERROR:      Public key authentication failed: Unable to extract public key from private key file: Unsupported private key file format
guacd[164]: INFO:       User "@14558ced-b8aa-41be-996b-dd9782dc77f3" disconnected (0 users remain)
guacd[164]: INFO:       Last user of connection "$c58fe0f8-8765-43c2-8704-b6860bdb9098" disconnected
guacd[37]: INFO:        Connection "$c58fe0f8-8765-43c2-8704-b6860bdb9098" removed.
guacd[37]: INFO:        Creating new client for protocol "ssh"
guacd[37]: INFO:        Connection ID is "$1730d7ac-c305-4bd3-999e-74aad0df0aba"
guacd[186]: INFO:       User "@09b38d50-a4b4-48d4-aa66-510a6c0ed56c" joined connection "$1730d7ac-c305-4bd3-999e-74aad0df0aba" (1 users now present)
guacd[186]: INFO:       Auth key successfully imported.
guacd[186]: WARNING:    No known host keys provided, host identity will not be verified.
guacd[186]: ERROR:      Public key authentication failed: Unable to extract public key from private key file: Unsupported private key file format
guacd[186]: INFO:       User "@09b38d50-a4b4-48d4-aa66-510a6c0ed56c" disconnected (0 users remain)
guacd[186]: INFO:       Last user of connection "$1730d7ac-c305-4bd3-999e-74aad0df0aba" disconnected
guacd[37]: INFO:        Connection "$1730d7ac-c305-4bd3-999e-74aad0df0aba" removed.
guacd[37]: INFO:        Creating new client for protocol "ssh"
guacd[37]: INFO:        Connection ID is "$dd6c90fd-6fed-4281-90b8-7b6e12af0b17"
guacd[209]: INFO:       User "@c21dd0e3-03f1-4757-9969-d10640b25ee2" joined connection "$dd6c90fd-6fed-4281-90b8-7b6e12af0b17" (1 users now present)
guacd[209]: INFO:       Auth key successfully imported.
guacd[209]: WARNING:    No known host keys provided, host identity will not be verified.
guacd[209]: ERROR:      Public key authentication failed: Unable to extract public key from private key file: Unsupported private key file format
guacd[209]: INFO:       User "@c21dd0e3-03f1-4757-9969-d10640b25ee2" disconnected (0 users remain)
guacd[209]: INFO:       Last user of connection "$dd6c90fd-6fed-4281-90b8-7b6e12af0b17" disconnected
guacd[37]: INFO:        Connection "$dd6c90fd-6fed-4281-90b8-7b6e12af0b17" removed.
guacd[37]: INFO:        Creating new client for protocol "ssh"
guacd[37]: INFO:        Connection ID is "$06de7326-9105-4057-8e14-18d0c87f3149"
guacd[227]: INFO:       User "@4c9f99bd-9d8b-4113-9db5-bb2d56f49411" joined connection "$06de7326-9105-4057-8e14-18d0c87f3149" (1 users now present)
guacd[227]: INFO:       Auth key successfully imported.
guacd[227]: WARNING:    No known host keys provided, host identity will not be verified.
guacd[227]: ERROR:      Public key authentication failed: Unable to extract public key from private key file: Unsupported private key file format
guacd[227]: INFO:       User "@4c9f99bd-9d8b-4113-9db5-bb2d56f49411" disconnected (0 users remain)
guacd[227]: INFO:       Last user of connection "$06de7326-9105-4057-8e14-18d0c87f3149" disconnected
guacd[37]: INFO:        Connection "$06de7326-9105-4057-8e14-18d0c87f3149" removed.
guacd[37]: INFO:        Creating new client for protocol "ssh"
guacd[37]: INFO:        Connection ID is "$c4f7fd83-5b5e-4cac-8e26-60a0181a6877"
guacd[245]: INFO:       User "@222526ae-d103-456d-ba5a-6a3a1d8b21fe" joined connection "$c4f7fd83-5b5e-4cac-8e26-60a0181a6877" (1 users now present)
guacd[245]: INFO:       Auth key successfully imported.
guacd[245]: WARNING:    No known host keys provided, host identity will not be verified.
guacd[245]: ERROR:      Public key authentication failed: Unable to extract public key from private key file: Unsupported private key file format
guacd[245]: INFO:       User "@222526ae-d103-456d-ba5a-6a3a1d8b21fe" disconnected (0 users remain)
guacd[245]: INFO:       Last user of connection "$c4f7fd83-5b5e-4cac-8e26-60a0181a6877" disconnected
guacd[37]: INFO:        Connection "$c4f7fd83-5b5e-4cac-8e26-60a0181a6877" removed.
guacd[136]: INFO:       User "@3078ded4-577e-4bac-bac2-f777011da40b" disconnected (0 users remain)
guacd[136]: INFO:       Last user of connection "$8571d9ea-7964-40a1-87d5-a3248c6ffe6d" disconnected
guacd[136]: INFO:       Internal VNC client disconnected
guacd[37]: INFO:        Connection "$8571d9ea-7964-40a1-87d5-a3248c6ffe6d" removed.
guacd[37]: INFO:        Creating new client for protocol "ssh"
guacd[37]: INFO:        Connection ID is "$bb9cbda2-552a-4366-a0dc-520c666c4943"
guacd[265]: INFO:       User "@08b731b0-3dd5-41bf-9776-768a26c3e921" joined connection "$bb9cbda2-552a-4366-a0dc-520c666c4943" (1 users now present)
guacd[265]: INFO:       Auth key successfully imported.
guacd[265]: WARNING:    No known host keys provided, host identity will not be verified.
guacd[265]: ERROR:      Public key authentication failed: Unable to extract public key from private key file: Unsupported private key file format
guacd[265]: INFO:       User "@08b731b0-3dd5-41bf-9776-768a26c3e921" disconnected (0 users remain)
guacd[265]: INFO:       Last user of connection "$bb9cbda2-552a-4366-a0dc-520c666c4943" disconnected
guacd[37]: INFO:        Connection "$bb9cbda2-552a-4366-a0dc-520c666c4943" removed.
guacd[37]: INFO:        Creating new client for protocol "ssh"
guacd[37]: INFO:        Connection ID is "$661b836a-44bb-41e3-9a8a-223564676816"
guacd[286]: INFO:       User "@892456e3-a8b6-4202-9adc-03805ff06bf4" joined connection "$661b836a-44bb-41e3-9a8a-223564676816" (1 users now present)
guacd[286]: WARNING:    No known host keys provided, host identity will not be verified.
guacd[286]: WARNING:    Unable to set the timezone: SSH server refused to set "TZ" variable.
guacd[286]: INFO:       SSH connection successful.
guacd[286]: INFO:       User "@892456e3-a8b6-4202-9adc-03805ff06bf4" disconnected (0 users remain)
guacd[286]: INFO:       Last user of connection "$661b836a-44bb-41e3-9a8a-223564676816" disconnected
guacd[286]: INFO:       SSH connection ended.
guacd[37]: INFO:        Connection "$661b836a-44bb-41e3-9a8a-223564676816" removed.
guacd[37]: INFO:        Creating new client for protocol "ssh"
guacd[37]: INFO:        Connection ID is "$7c7c964f-14ca-47b1-ac62-b571a529f111"
guacd[311]: INFO:       User "@98f96949-c665-4ed7-95db-b8444c1fb4a3" joined connection "$7c7c964f-14ca-47b1-ac62-b571a529f111" (1 users now present)
guacd[311]: WARNING:    No known host keys provided, host identity will not be verified.
guacd[311]: WARNING:    Unable to set the timezone: SSH server refused to set "TZ" variable.
guacd[311]: INFO:       SSH connection successful.
guacd[37]: INFO:        Creating new client for protocol "vnc"
guacd[37]: INFO:        Connection ID is "$b4562a63-b5bf-45ad-a3fa-24343379ea06"
guacd[334]: INFO:       Cursor rendering: local
guacd[334]: INFO:       User "@15e9d844-6304-4ccd-9c90-e54fa2681897" joined connection "$b4562a63-b5bf-45ad-a3fa-24343379ea06" (1 users now present)
guacd[311]: INFO:       User "@98f96949-c665-4ed7-95db-b8444c1fb4a3" disconnected (0 users remain)
guacd[311]: INFO:       Last user of connection "$7c7c964f-14ca-47b1-ac62-b571a529f111" disconnected
guacd[311]: INFO:       SSH connection ended.
guacd[37]: INFO:        Connection "$7c7c964f-14ca-47b1-ac62-b571a529f111" removed.
guacd[334]: INFO:       User "@15e9d844-6304-4ccd-9c90-e54fa2681897" disconnected (0 users remain)
guacd[334]: INFO:       Last user of connection "$b4562a63-b5bf-45ad-a3fa-24343379ea06" disconnected
guacd[334]: INFO:       Internal VNC client disconnected
guacd[37]: INFO:        Connection "$b4562a63-b5bf-45ad-a3fa-24343379ea06" removed.
2024-02-10 17:06:48.339 UTC [131] FATAL:  terminating connection due to administrator command
2024-02-10 17:06:48.339 UTC [126] FATAL:  terminating connection due to administrator command
2024-02-10 17:06:48.339 UTC [124] FATAL:  terminating connection due to administrator command
2024-02-10 17:06:48.339 UTC [36] LOG:  received smart shutdown request
2024-02-10 17:06:48.339 UTC [132] FATAL:  terminating connection due to administrator command
exit code: 0
@RustyRaptor
Copy link
Author

So when running it as podman with root it doesn't seem to happen so far. But may need to use it some more before I can say for certain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant