subgraph-os-issues icon indicating copy to clipboard operation
subgraph-os-issues copied to clipboard

Oz loads duplicate profiles

Open DarkCoridor opened this issue 8 years ago • 0 comments

I am not sure what (if any) problems would emerge from this, but worth pointing out. To reproduce making a backup copy of a oz profile:

cd /var/lib/oz/cells.d/
cp electrum.json electrum-alt.json
systemctl restart oz-daemon.service

Oz restarts seemingly fine but also loads the cloned profile electrum-alt.json as an additional duplicate profile:

user@host:/var/lib/oz/cells.d$ oz profiles
 1) chromium                       /usr/bin/chromium
 2) chronion                       /usr/bin/chronion
 3) coyim                          /usr/bin/coyim
 4) electrum                       /usr/bin/electrum
 5) electrum                       /usr/bin/electrum
...

If you outline an idea for how to best validate against this case. I can take a stab at implementing + sending a patch for it.

DarkCoridor avatar Sep 11 '17 18:09 DarkCoridor