OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Stan - 28.04.2019

FS#2261 - commit baaf38c5e540b23ba086d94743de860b60c37161 prevents apps from storing runtime info in PROCD

This commit:;a=commit;h=baaf38c5e540b23ba086d94743de860b60c37161 deletes the PROCD instance on exit, however it is being used in the simple-adblock package to store runtime info.

On snapshots this information now gets deleted.

Could the powers that be either:
1. Offer an option to not automatically delete PROCD info on instance exit
2. Rule that a misuse of PROCD so that I can then store runtime info on tmpfs instead

Don’t know how to tag Kristian Evensen and Hans Dedecker in the bug.

Jo-Philipp Wich commented on 29.04.2019 06:22

You can use the data object outside of the instance, e.g. `ubus call service set '{ "name": "foo", "data": { "whatever": true } }'` instead of `{ "name": "foo", "instances": [ {..., "data": { "whatever": true } } ] }`.

If you cannot do this due to other constraints, then the only solution I see is setting an infinite sleep command instead of an empty command spec (or something with a very long sleep time, procd will relaunch it anyway).


Available keyboard shortcuts


Task Details

Task Editing