openwrt / openwrt/packages

tinyproxy does not start on boot

Open
#25,210 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

I use tinyproxy - 1.11.1-r3 on OpenWrt SNAPSHOT, r27913-a2aabc9a7a

tinyproxy fails to start on boot. However, it can be started OK manually.
service tinyproxy restart
I managed to start it from rc.local with

# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.

(
set -x
echo "START rc.local"
sleep 60
echo "STARTED rc.local"
service tinyproxy restart
echo "STARTED rc.local DONE"
) &

exit 0

If I remove sleep 60 -- then tinyproxy does not start on boot

Contributor guide

Open the contributing guide

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 tinyproxy boot service invoked by service tinyproxy restart and compare its boot-time behavior with the delayed command in rc.local. Reproduce the failure on the reported OpenWrt SNAPSHOT environment and inspect startup output; done means tinyproxy starts reliably during boot without the 60-second delay.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.