jpillora / jpillora/webproc

Webproc crashing - logging of webproc process?

Open
#34 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
781
Forks
104
PR merge metrics
No merged PRs in 30d

Description

I'm trying to get web proc running for an LXC alpine container with dnsmasq.

It starts but after a few mins the webproc process dies.
I'm starting it as a service

#!/sbin/openrc-run

name="DNSMasq Via WebProc"
description="DNSMasq"
command="/usr/sbin/webproc"
#command_args="--port 8053 -c /etc/dnsmasq.conf -c /etc/resolv.conf -- /usr/sbin/dnsmasq --pid-file= --no-daemon --user=dnsmasq --group=dnsmasq --conf-file=/etc/dnsmasq.conf"
command_args="--port 8053 -c /etc/dnsmasq.conf -c /etc/resolv.conf -- /usr/sbin/dnsmasq --no-daemon"
command_background=yes
pidfile="/run/${RC_SVCNAME}.pid"

I've tried both these commands with the same response. The 2nd I copied from your docker-dnsmasq container which I've been using successfully for years.

There's nothing in messages when webproc dies. All I see is the dnsmasq messages.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the OpenRC service definition and the two webproc command variants shown in the issue, reproducing them in the Alpine LXC setup. Compare webproc's process lifecycle and available output when dnsmasq exits; done means the crash cause is identified and useful webproc/process failure logging is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, linux
Domain
observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.