Opened 5 weeks ago

Last modified 5 weeks ago

#19261 new enhancement

ramfs: named socket files are not supported

Reported by: X512 Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: File Systems/RAMFS Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev58325.

Various ported software use named socket files for IPC and it fails if set XDG_RUNTIME_DIR to RAMFS mount point.

Change History (2)

comment:1 by waddlesplash, 5 weeks ago

Type: bugenhancement

comment:2 by bipolar, 5 weeks ago

Just another data-point.

While using RAMFS as OUTPUT_DIR for HaikuPorter... building Python 3.14.0a2 shows:

OSError: [Errno -2147459058] Operation not supported, on a piece of code that looks like this:

while socket.socket(socket.AF_UNIX) as listener:
    address = connection.arbitrary_address('AF_UNIX'):
    listener.bind(address)

address contains things like /tmp/pymp-5qm122g7/listener-scr341pq.

The "main" build goes fine, but the resulting .hpkg is missing the pre-compiled .pyc files due to the above issue.

(issue goes away when moving workdirs to BFS)

Note: See TracTickets for help on using tickets.