openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
4.03k stars 3.5k forks source link

tinyproxy can't start normally since latest commit #11573

Closed dongjuanyong closed 4 years ago

dongjuanyong commented 4 years ago

Maintainer: @neheb (find it by checking history of the package Makefile) Environment: x86_64, OpenWrt snapshot

Description: In latest commit, the destination of binary file defined in Makefile has been changed from /usr/sbin to /usr/bin

 define Package/tinyproxy/install
-   $(INSTALL_DIR) $(1)/usr/sbin
-   $(CP) $(PKG_INSTALL_DIR)/usr/sbin/tinyproxy $(1)/usr/sbin/
+   $(INSTALL_DIR) $(1)/usr/bin
+   $(CP) $(PKG_INSTALL_DIR)/usr/bin/tinyproxy $(1)/usr/bin/

However, tinyproxy.init was not modified:

service_start /usr/sbin/tinyproxy -c "$CFGFILE"

Thus, tinyproxy can't start normally.

dongjuanyong commented 4 years ago

Tested #11575 and worked for me. I didn't see any other separate instances of tinyproxy.