On Tue, Oct 22, 2019 at 10:39:55AM +1100, JH wrote:
It is really puzzled, why running commond -d in a terminate shell
command line works, but could not work with systemd service? missing
some environment setup?
One thing you should check is the systemd enforced capabilities, e.g.
check what is in connman.service. In upstream we have following:
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SYS_TIME
Maybe disable this feature in the systemd service file first to verify
it's the source of the problem.