Data persistence binding puts it's database in /tmp/ll-database-binding.dbm

Description

Due to data persistence being in the platform scope (to allow one global instance) it's XDG_CONFIG_HOME is being set to /tmp which results in the database being stored in that location. Clearly an issue because it will be wiped on a restart.

Logs:

"Nov 08 00:59:12 h3ulcb afbd-persistence-binding@0.1-5c67c94[3807]: INFO: [API persistence] opening database /tmp/ll-database-binding.dbm"

Environment

None

Activity

Walt Miner 
January 5, 2020 at 7:57 PM

Closed for Icefish RC4

 

jose bollo 
December 13, 2019 at 4:22 PM
(edited)

I made the change: widgets installed with "scope-platform" will have there working directory created in /var/platform-scope.

Can be tuned if /var is not accurate.

 

Jan-Simon Moeller 
December 3, 2019 at 5:13 PM

Appfw -> : can you or   take a look ?

Matt Ranostay 
December 2, 2019 at 11:52 PM

This needs to be assigned to someone to implement a common non-volatile shared space for platform scope services

Fixed

Details

Assignee

Reporter

Labels

Contract ID

Priority

Created November 27, 2019 at 7:32 PM
Updated January 5, 2020 at 7:57 PM
Resolved December 31, 2019 at 2:31 PM