Webproc crashing - logging of webproc process?
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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