Skip to content

Commit 3f25dc5

Browse files
committed
rpc: improve IPC socket error message for filesystem compatibility
Clarify that ext2/ext3/ext4 filesystems support Unix domain sockets (including Thunderbolt Type-C drives), while exFAT does not. This helps users understand why socket creation may fail on certain filesystems. Signed-off-by: Cloorc <[email protected]>
1 parent 4185df4 commit 3f25dc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rpc/ipc_unix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func ipcListen(endpoint string) (net.Listener, error) {
5050
os.Remove(endpoint)
5151
l, err := net.Listen("unix", endpoint)
5252
if err != nil {
53-
return nil, err
53+
return nil, fmt.Errorf("%w; if the error persists, verify that the disk partition supports Unix domain sockets (ext2/ext3/ext4 work; exFAT does not)", err)
5454
}
5555
os.Chmod(endpoint, 0600)
5656
return l, nil

0 commit comments

Comments
 (0)