ENOENT when trying to create a Unix domain socket under /tmp

Bug #1958532 reported by Patrik Wenger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
New
Undecided
Unassigned

Bug Description

We use Snap to deliver CLI services, using strict confinement. On rare occasions when starting the service in production, we get an ENOENT error when the service tries to create a Unix Domain socket like `/tmp/xxx.ipc`. This error then persists until the machine is rebooted.

Could there be some kind of race-condition in snapd where the directory `/tmp/snap.my-service/tmp` (mapped to `/tmp` for the service) does not exist right away, and then somehow persists until the machine is rebooted?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.