Yes, the code snippet works for me and I believe I've created confusion here - not knowing about flock(2) and that apport is always being run as root, sorry.
hggdh, can you give more information? Has the problem happened to you again?
Yes, the code snippet works for me and I believe I've created confusion here - not knowing about flock(2) and that apport is always being run as root, sorry.
hggdh, can you give more information? Has the problem happened to you again?