You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "bneradt (via GitHub)" <gi...@apache.org> on 2026/02/19 20:37:05 UTC

[PR] rpc: tolerate unsupported chmod on unix sockets [trafficserver]

bneradt opened a new pull request, #12895:
URL: https://github.com/apache/trafficserver/pull/12895

   test_jsonrpcserver can fail on containerized macOS-host mounts where
   chmod() on an AF_UNIX socket inode returns EINVAL or ENOTSUP.
   When this happens, RPC server init aborts and the client test
   fails with connection refused.
   
   Treat unsupported chmod-on-socket errors as non-fatal and keep
   running with umask-derived permissions, while preserving fatal
   behavior for other chmod failures. Also zero-initialize
   sockaddr_un before use to avoid carrying stale bytes into bind().


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] rpc: tolerate unsupported chmod on unix sockets [trafficserver]

Posted by "bneradt (via GitHub)" <gi...@apache.org>.
bneradt merged PR #12895:
URL: https://github.com/apache/trafficserver/pull/12895


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] rpc: tolerate unsupported chmod on unix sockets [trafficserver]

Posted by "cmcfarlen (via GitHub)" <gi...@apache.org>.
cmcfarlen commented on PR #12895:
URL: https://github.com/apache/trafficserver/pull/12895#issuecomment-3946541003

   Cherry-picked to 10.2.x


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] rpc: tolerate unsupported chmod on unix sockets [trafficserver]

Posted by "bneradt (via GitHub)" <gi...@apache.org>.
bneradt commented on PR #12895:
URL: https://github.com/apache/trafficserver/pull/12895#issuecomment-3930610925

   [approve ci autest 1]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org