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

Ubuntu 22.04 LTS tini install not working #222

Open
eroji opened this issue Mar 15, 2024 · 2 comments
Open

Ubuntu 22.04 LTS tini install not working #222

eroji opened this issue Mar 15, 2024 · 2 comments

Comments

@eroji
Copy link

eroji commented Mar 15, 2024

I'm using Ubuntu 22.04 LTS as base image and running a couple child processes spawned by my entrypoint script in exec mode. I've installed tini via apt and the version is 0.19.0. However, even when I start tini as PID 1, it is not sending SIGTERM to my child processes as I expected. What am I missing here?

@eroji
Copy link
Author

eroji commented Mar 15, 2024

Here is a shot of the process list

UID          PID    PPID  C STIME TTY          TIME CMD
root           1       0  0 00:31 ?        00:00:00 /usr/bin/tini -s -- /usr/local/bin/entrypoint.sh
root           7       1  0 00:31 ?        00:00:00 /bin/bash /usr/local/bin/entrypoint.sh
root           8       7  0 00:31 ?        00:00:00 sudo -u naemon /usr/bin/naemon /etc/naemon/naemon.cfg
root           9       7  0 00:31 ?        00:00:00 /usr/sbin/apache2 -D NO_DETACH
root          11       7  0 00:31 ?        00:00:00 /usr/lib/postfix/sbin/master -d -c /etc/postfix
root          12       7  0 00:31 ?        00:00:00 /usr/sbin/xinetd -dontfork -pidfile /run/xinetd.pid
naemon        13       8  0 00:31 ?        00:00:00 /usr/bin/naemon /etc/naemon/naemon.cfg
naemon        15      13  0 00:31 ?        00:00:00 /usr/bin/naemon --worker /var/lib/naemon/naemon.qh
naemon        16      13  0 00:31 ?        00:00:00 /usr/bin/naemon --worker /var/lib/naemon/naemon.qh
naemon        17      13  0 00:31 ?        00:00:00 /usr/bin/naemon --worker /var/lib/naemon/naemon.qh
naemon        18      13  0 00:31 ?        00:00:00 /usr/bin/naemon --worker /var/lib/naemon/naemon.qh
naemon        19      13  0 00:31 ?        00:00:00 /usr/bin/naemon --worker /var/lib/naemon/naemon.qh
naemon        20      13  0 00:31 ?        00:00:00 /usr/bin/naemon --worker /var/lib/naemon/naemon.qh
naemon        21      13  0 00:31 ?        00:00:00 /usr/bin/naemon --worker /var/lib/naemon/naemon.qh
naemon        22      13  0 00:31 ?        00:00:00 /usr/bin/naemon --worker /var/lib/naemon/naemon.qh
www-data      29       9  0 00:31 ?        00:00:00 /usr/sbin/apache2 -D NO_DETACH
naemon        31      13  0 00:31 ?        00:00:00 /usr/bin/naemon /etc/naemon/naemon.cfg
root          32       9  0 00:31 ?        00:00:00 perl -x /usr/share/thruk/thruk_auth
root          33       9  0 00:31 ?        00:00:00 perl -x /usr/share/thruk/thruk_auth
www-data      35       9  0 00:31 ?        00:00:00 /usr/sbin/apache2 -D NO_DETACH
www-data      37       9  0 00:31 ?        00:00:00 /usr/sbin/apache2 -D NO_DETACH
www-data      39       9  0 00:31 ?        00:00:00 /usr/sbin/apache2 -D NO_DETACH
www-data      41       9  0 00:31 ?        00:00:00 /usr/sbin/apache2 -D NO_DETACH
www-data      42       9  0 00:31 ?        00:00:00 /usr/sbin/apache2 -D NO_DETACH
postfix       48      11  0 00:31 ?        00:00:00 pickup -l -t unix -d -u -c
postfix       49      11  0 00:31 ?        00:00:00 qmgr -l -t unix -d -u
root          90       0  1 00:31 pts/0    00:00:00 bash
root         103      90  0 00:31 pts/0    00:00:00 ps -ef

@krallin
Copy link
Owner

krallin commented Mar 15, 2024 via email

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

2 participants