ostroproject / meta-iot-web

Other
4 stars 9 forks source link

recipes-web: Update iotivity-node and iot-rest-api-server to latest #27

Closed nagineni closed 7 years ago

nagineni commented 7 years ago

Pull in the iotivity-node version 1.2.0-2.

Signed-off-by: Sudarsana Nagineni sudarsana.nagineni@intel.com

nagineni commented 7 years ago

@mikko @poussa

poussa commented 7 years ago

+1

mythi commented 7 years ago

On Fri, Feb 3, 2017 at 11:15 AM, Sudarsana Nagineni wrote:

@mythi https://github.com/mythi Updated the commit message.

Issue was that, iotivity-node instantiated by rest api server was failing to create configuration files under ${HOME}/.iotivity-node directory when the server started under non-root user (i.e restful). The reason for that was the restful user was created without a home directory. So, I changed --no-create-home option to --create-home to create user's home directory.

You should be getting /var/lib/empty with this change.

nagineni commented 7 years ago

You should be getting /var/lib/empty with this change.

Yes, that is what we need for now to solve the issue. I will change the dir to /home/restful in ostro-passwd in a separate PR later.

mythi commented 7 years ago

+1