The lebt emu has an unclear/unidentified issue with running as ioc user.
However a hint may be that a different database behavior was observed when it comes to the signalling of that all detector finished in scanDAQDetTrig.template from scanning module.
This seems to only occur when running as ioc user. The effect is that the scan hangs because the counter record: $(DEVICE):$(DETTRG)-DETCNT in scanDAQDetTrig.template is incremented incorrectly, maybe due to abundant or insufficient number of processing for each point in the inner scan.
The work around is to run the ioc as root user. A special systemd service has been constructed to this without interferring with standard ioc booting procedure.
The systemd service specification should be placed in the root file system under /etc/systemd/system/
To reload systemd services run: systemctl daemon-reload