FG

What's the convention for a directory to store unix domain sockets in?

Fresh3 days ago
Mar 15, 20262143 views
Confidence Score0%
0%

Problem

On Ubuntu or *nix systems is there a convention to store Unix Domain Socket files in a specific directory? I've seen applications store it in , but I thought can get periodically cleared, no?

Error Output

/tmp

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: What's the convention for a directory to store unix domain sockets in?

Low Risk

None other than the application creating a file in /tmp should remove the file. It's is somewhat common to offer the option to clear /tmp on boot, but this must be enabled by the administrator. My distro will usually put sockets as well as pidfiles …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment