View Issue Details

IDProjectCategoryView StatusLast Update
0000367easycwmpBugpublic2019-01-31 16:57
Reporterbmiramont Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status newResolutionopen 
Platformx86OSdebianOS Versionstretch
Summary0000367: Can't run easycwmpd as non-root user
DescriptionHi,
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
TagsNo tags attached.
e-mail notification

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-01-31 16:57 bmiramont New Issue