[issue38841] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2019-11-20 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 ___ Python tracker ___

[issue38841] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2019-11-20 Thread miss-islington
miss-islington added the comment: New changeset b762375ba28893be73f166576aecde44ad2f4001 by Miss Islington (bot) in branch '3.8': bpo-38841: Skip asyncio test_create_datagram_endpoint_existing_sock_unix (GH-17294)

[issue38841] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2019-11-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +16791 pull_request: https://github.com/python/cpython/pull/17299 ___ Python tracker ___

[issue38841] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2019-11-20 Thread miss-islington
miss-islington added the comment: New changeset 559bad1a70ed50cc9caa7cb303b6ac1fe6a34af3 by Miss Islington (bot) (xdegaye) in branch 'master': bpo-38841: Skip asyncio test_create_datagram_endpoint_existing_sock_unix (GH-17294)

[issue38841] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2019-11-20 Thread Xavier de Gaye
Change by Xavier de Gaye : -- keywords: +patch pull_requests: +16787 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17294 ___ Python tracker

[issue38841] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2019-11-19 Thread Andrew Svetlov
Andrew Svetlov added the comment: Please feel free to make a PR for applying @skip_unless_bind_unix_socket decorator. -- ___ Python tracker ___

[issue38841] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2019-11-19 Thread Xavier de Gaye
Xavier de Gaye added the comment: No, it is the SELinux configuration on android devices that forbids binds to named UNIX sockets. Changing from a named UNIX socket to an unnamed UNIX socket would fix the problem. I don't know if all platforms support unnamed UNIX sockets. The fix in issue

[issue38841] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2019-11-19 Thread Andrew Svetlov
Andrew Svetlov added the comment: Do I understand you correctly: is Android forbids UDP Unix sockets for non-root user? Maybe the socket path should point on another location to get the test passed? -- ___ Python tracker

[issue38841] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2019-11-18 Thread Xavier de Gaye
New submission from Xavier de Gaye : This is the same kind of issue as reported in #28684. python -m test -v test_asyncio -m test_create_datagram_endpoint_existing_sock_unix == CPython 3.9.0a0 (heads/abifa-dirty:cf805c25e6, Nov 18 2019, 16:40:26) [Clang 8.0.2 (https://andro