EasyCwmp

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000367easycwmp[All Projects] Bugpublic2019-01-31 16:572019-01-31 16:57
Reporterbmiramont 
Assigned To 
PriorityhighSeverityminorReproducibilityalways
StatusnewResolutionopen 
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.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

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


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker