Replies: 5 comments 2 replies
-
Getting the same error.. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Are you running rootless containers and logging out? If so you need to enable linger in systemd for the users or systemd will shut down processes launched by the user. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I enabled lingerd, and yes, I am running rootless. No unexpected
shutdowns for the past 3 days. Keeping my fingers crossed and the logs
running.
On Mon, 13 May 2024 13:44:40 -0700, Daniel J Walsh wrote:
Are you running rootless containers and logging out? If so you need to
enable linger in systemd for the users or systemd will shut down
processes launched by the user.
--
Reply to this email directly or view it on GitHub:
… You are receiving this because you commented.
Message ID:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I am also getting this error. rootless with linger and podman-restart |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am really new to Podman. I wanted to try an immutable distro, Fedora Kinoite in my case, and because of that I need to use containers for some software like PostgreSQL if I want to install it.
So I pulled the
docker.io/library/postgres
image of PostgreSQL and ran it. When I did some configuration, such as creating new users and databases, everything was fine. However, after leaving the container idle for a while, it automatically shut down and I could see the statusEXITED
inpodman
.On StackOverflow I've found information that "
received smart shutdown
request is the result of sendingSIGTERM
to postgres process, so you might want to investigate why such signal is sent".Could you please help me to find out what is causing such a behaviour? Below I attach how I run the container and what terminal output I could see after the container was shut down.
Container run:
podman run -dt --name postgres-xxx --userns=keep-id -e POSTGRES_USER=username -e POSTGRES_PASSWORD=password -v "/home/my_user/postgres-xxx:/var/lib/postgresql/data:Z" -p 5432:5432 postgres
Container terminal output:
Beta Was this translation helpful? Give feedback.
All reactions