|Issue Type:||New Feature|
|Priority:||4 - Normal|
|Created by:||Former user|
|Reported by:||Former user|
|Assigned to:||Former user|
Won't Do: This issue won't be actioned.
(Resolution Date: 2019-10-16T18:07:15.773Z)
The cn-agent port to Linux requires node-lockfd, which requires v8plus.
Work has begun: https://github.com/joyent/v8plus/commits/linuxcn
@accountid:6248927d45ece00069cb9db5 I think you might be able to just drop the lockfd dep. AFAICT cn-agent code isn't using it.
If you can at all, I'd avoid v8plus and, if possible, replace it with more modern NAN usage. v8plus isn't maintained and likely never will be.
There's some docker code in cn-agent that is using file locks. It looks like node-fs-ext may be a much simpler replacement for node-lockfd + v8plus. It seems portable across SmartOS and Linux. The portability story on archaeologically interesting versions of node has not been explored.
Ah, I missed that because sdc-cn-agent.git has commited files under node_modules:
$ git ls-files node_modules/ node_modules/locker.js node_modules/procread.js
which surprised my typical grepping. Sorry about that.