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

Helthcheck failed #54

Closed
firkeuf opened this issue Jan 20, 2022 · 2 comments
Closed

Helthcheck failed #54

firkeuf opened this issue Jan 20, 2022 · 2 comments
Assignees

Comments

@firkeuf
Copy link

firkeuf commented Jan 20, 2022

The avahi-daemon runs as the avahi user.
The health check script first filters out processes with the root user ps aux | grep '[0-9] root'.
This results in an unhealthy container status.

ps aux
PID USER TIME COMMAND
1 root 0:00 runsvdir -P /container/config/runit
101 root 0:00 runsv wsdd2
102 root 0:00 runsv avahi
103 root 0:00 runsv samba
104 root 0:00 smbd --foreground
105 root 0:00 /usr/sbin/wsdd2
108 avahi 0:00 avahi-daemon: running [udocker.local]
109 avahi 0:00 avahi-daemon: chroot helper
111 root 0:00 {smbd-notifyd} smbd --foreground
112 root 0:00 {cleanupd} smbd --foreground
113 root 0:00 /usr/lib/samba/samba-bgqd --ready-signal-fd=45 --parent-watch-fd=12 --debuglevel=9 -F
152 root 0:00 sh
220 root 0:00 ps aux

@MarvAmBass
Copy link
Member

thanks for the bug report -> should be a easy fix -> I'll start working on it and close is as soon as the fix is pushed ;)

@MarvAmBass MarvAmBass self-assigned this Jan 20, 2022
@MarvAmBass
Copy link
Member

fix applied... container build running...

MarvAmBass added a commit that referenced this issue Jan 20, 2022
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