SemLock and execution slowness
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Invalid
|
Undecided
|
Unassigned |
Bug Description
bsrally snap (see [1], copied and updated from fcbtest[2]) fails when the last part (libc-shm-shim) is not included. The way to reproduce it is by running:
"""
bsrally.rally plugin list --platform openstack
"""
The error is pasted in [3] (PermissionDenied due to libpthread-2.27.so, libpthread.so.0 and lib64/ld-
OTOH, I have run rally+rally-
"""
execve(
write(2, "internal error, please report: r"..., 81internal error, please report: running "bsrally.rally" failed: permission denied
) = 81
exit_group(4)
"""
Could you please advice on how to improve the snapcraft.yaml definition (if needed) and how to troubleshoot the slowness at the beginning of the execution?
Thank you.
1. https:/
2. https:/
3. https:/
What is the output of `snap run --trace-exec $SNAP_NAME. $SNAP_APP` ?
Note that using strace directly with `snap run` doesn't work well, but you can use `snap run --strace $SNAP_NAME. $SNAP_APP`