View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000367 | easycwmp | Bug | public | 2019-01-31 16:57 | 2019-01-31 16:57 |
Reporter | bmiramont | Assigned To | |||
Priority | high | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | x86 | OS | debian | OS Version | stretch |
Summary | 0000367: Can't run easycwmpd as non-root user | ||||
Description | Hi, I need to run easycwmpd as non root. I am migrating from easycwmp 1.1.2 on openwrt (where I can run as non-root). Init script on openwrt is using procd. On my debian setup, I use openwrt 1.6.1 which runs fine as root. Here are several commands I try : # start-stop-daemon -c remotemgmt -x /usr/sbin/easycwmpd -S -- --getrpcmethod main(285): run easycwmpd as root process does not start but easycwmp.pid is created in /var/run when I run : # start-stop-daemon -b -c remotemgmt -x /usr/sbin/easycwmpd -S -- --getrpcmethod no message but easycwmp.pid is created in /var/run. # start-stop-daemon -b -x /usr/sbin/easycwmpd -S -- --getrpcmethod this launches the process ok in the background. the correct permissions are on : /run -> 777 for debugging purposes /tmp/ubus.sock -> 777 for debugging purposes thank you, brice | ||||
Steps To Reproduce | # start-stop-daemon -c remotemgmt -x /usr/sbin/easycwmpd -S -- --getrpcmethod main(285): run easycwmpd as root where remotemgmt is my user | ||||
Tags | No tags attached. | ||||
e-mail notification | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2019-01-31 16:57 | bmiramont | New Issue |