[1003.1(2016/18)/Issue7+TC2 0001605]: bind: AF_UNIX: extend EADDRINUSE description beyond "symbolic link"
The following issue has been SUBMITTED. == https://austingroupbugs.net/view.php?id=1605 == Reported By:steffen Assigned To: == Project:1003.1(2016/18)/Issue7+TC2 Issue ID: 1605 Category: System Interfaces Type: Omission Severity: Editorial Priority: normal Status: New Name: steffen Organization: User Reference: Section:bind Page Number:626 Line Number:21642ff Interp Status: --- Final Accepted Text: == Date Submitted: 2022-09-13 15:34 UTC Last Modified: 2022-09-13 15:34 UTC == Summary:bind: AF_UNIX: extend EADDRINUSE description beyond "symbolic link" Description: bind(2) fails for AF_UNIX sockets if the desired name (path) already exists, regardless of the file type. I'd presume the symbolic link case is already mentioned due to "following is forbidden" policies. Desired Action: On page 626, line 21642ff change If the address family of the socket is AF_UNIX and the pathname in address names a symbolic link, bind( ) shall fail and set errno to [EADDRINUSE]. to If the address family of the socket is AF_UNIX and the pathname in address names an existing file, including a symbolic link, bind( ) shall fail and set errno to [EADDRINUSE]. == Issue History Date ModifiedUsername FieldChange == 2022-09-13 15:34 steffenNew Issue 2022-09-13 15:34 steffenName => steffen 2022-09-13 15:34 steffenSection => bind 2022-09-13 15:34 steffenPage Number => 626 2022-09-13 15:34 steffenLine Number => 21642ff ==
[1003.1(2016/18)/Issue7+TC2 0001605]: bind: AF_UNIX: extend EADDRINUSE description beyond "symbolic link"
A NOTE has been added to this issue. == https://austingroupbugs.net/view.php?id=1605 == Reported By:steffen Assigned To: == Project:1003.1(2016/18)/Issue7+TC2 Issue ID: 1605 Category: System Interfaces Type: Omission Severity: Editorial Priority: normal Status: New Name: steffen Organization: User Reference: Section:bind Page Number:626 Line Number:21642ff Interp Status: --- Final Accepted Text: == Date Submitted: 2022-09-13 15:34 UTC Last Modified: 2022-09-13 15:56 UTC == Summary:bind: AF_UNIX: extend EADDRINUSE description beyond "symbolic link" == -- (0005967) geoffclare (manager) - 2022-09-13 15:56 https://austingroupbugs.net/view.php?id=1605#c5967 -- It seems odd to have this error specified in DESCRIPTION instead of ERRORS. I think the intention was that the existing generic EADDRINUSE entry in ERRORS ("The specified address is already in use") covered most file-exists cases for AF_UNIX and only the symbolic link case needed special mention. A better solution would be to spell out how the two relate. I'd suggest changing:If the address family of the socket is AF_UNIX and the pathname in address names a symbolic link, bind() shall fail and set errno to [EADDRINUSE].to:If the address family of the socket is AF_UNIX and the pathname in address names an existing file, including a symbolic link, bind() shall treat the address as already in use; see ERRORS below. Issue History Date ModifiedUsername FieldChange == 2022-09-13 15:34 steffenNew Issue 2022-09-13 15:34 steffenName => steffen 2022-09-13 15:34 steffenSection => bind 2022-09-13 15:34 steffenPage Number => 626 2022-09-13 15:34 steffenLine Number => 21642ff 2022-09-13 15:56 geoffclare Note Added: 0005967 ==
[1003.1(2016/18)/Issue7+TC2 0001605]: bind: AF_UNIX: extend EADDRINUSE description beyond "symbolic link"
A NOTE has been added to this issue. == https://austingroupbugs.net/view.php?id=1605 == Reported By:steffen Assigned To: == Project:1003.1(2016/18)/Issue7+TC2 Issue ID: 1605 Category: System Interfaces Type: Omission Severity: Editorial Priority: normal Status: New Name: steffen Organization: User Reference: Section:bind Page Number:626 Line Number:21642ff Interp Status: --- Final Accepted Text: == Date Submitted: 2022-09-13 15:34 UTC Last Modified: 2022-09-13 20:28 UTC == Summary:bind: AF_UNIX: extend EADDRINUSE description beyond "symbolic link" == -- (0005968) steffen (reporter) - 2022-09-13 20:28 https://austingroupbugs.net/view.php?id=1605#c5968 -- Yes, much smoother, much better. Thank you. Issue History Date ModifiedUsername FieldChange == 2022-09-13 15:34 steffenNew Issue 2022-09-13 15:34 steffenName => steffen 2022-09-13 15:34 steffenSection => bind 2022-09-13 15:34 steffenPage Number => 626 2022-09-13 15:34 steffenLine Number => 21642ff 2022-09-13 15:56 geoffclare Note Added: 0005967 2022-09-13 20:28 steffenNote Added: 0005968 ==
[1003.1(2016/18)/Issue7+TC2 0001605]: bind: AF_UNIX: extend EADDRINUSE description beyond "symbolic link"
The following issue has been RESOLVED. == https://austingroupbugs.net/view.php?id=1605 == Reported By:steffen Assigned To: == Project:1003.1(2016/18)/Issue7+TC2 Issue ID: 1605 Category: System Interfaces Type: Omission Severity: Editorial Priority: normal Status: Resolved Name: steffen Organization: User Reference: Section:bind Page Number:626 Line Number:21642ff Interp Status: --- Final Accepted Text:https://austingroupbugs.net/view.php?id=1605#c5967 Resolution: Accepted As Marked Fixed in Version: == Date Submitted: 2022-09-13 15:34 UTC Last Modified: 2022-10-20 16:12 UTC == Summary:bind: AF_UNIX: extend EADDRINUSE description beyond "symbolic link" == Issue History Date ModifiedUsername FieldChange == 2022-09-13 15:34 steffenNew Issue 2022-09-13 15:34 steffenName => steffen 2022-09-13 15:34 steffenSection => bind 2022-09-13 15:34 steffenPage Number => 626 2022-09-13 15:34 steffenLine Number => 21642ff 2022-09-13 15:56 geoffclare Note Added: 0005967 2022-09-13 20:28 steffenNote Added: 0005968 2022-10-20 16:12 geoffclare Interp Status => --- 2022-10-20 16:12 geoffclare Final Accepted Text => https://austingroupbugs.net/view.php?id=1605#c5967 2022-10-20 16:12 geoffclare Status New => Resolved 2022-10-20 16:12 geoffclare Resolution Open => Accepted As Marked ==
[1003.1(2016/18)/Issue7+TC2 0001605]: bind: AF_UNIX: extend EADDRINUSE description beyond "symbolic link"
The following issue has a resolution that has been APPLIED. == https://austingroupbugs.net/view.php?id=1605 == Reported By:steffen Assigned To: == Project:1003.1(2016/18)/Issue7+TC2 Issue ID: 1605 Category: System Interfaces Type: Omission Severity: Editorial Priority: normal Status: Applied Name: steffen Organization: User Reference: Section:bind Page Number:626 Line Number:21642ff Interp Status: --- Final Accepted Text:https://austingroupbugs.net/view.php?id=1605#c5967 Resolution: Accepted As Marked Fixed in Version: == Date Submitted: 2022-09-13 15:34 UTC Last Modified: 2022-11-01 15:09 UTC == Summary:bind: AF_UNIX: extend EADDRINUSE description beyond "symbolic link" == Issue History Date ModifiedUsername FieldChange == 2022-09-13 15:34 steffenNew Issue 2022-09-13 15:34 steffenName => steffen 2022-09-13 15:34 steffenSection => bind 2022-09-13 15:34 steffenPage Number => 626 2022-09-13 15:34 steffenLine Number => 21642ff 2022-09-13 15:56 geoffclare Note Added: 0005967 2022-09-13 20:28 steffenNote Added: 0005968 2022-10-20 16:12 geoffclare Interp Status => --- 2022-10-20 16:12 geoffclare Final Accepted Text => https://austingroupbugs.net/view.php?id=1605#c5967 2022-10-20 16:12 geoffclare Status New => Resolved 2022-10-20 16:12 geoffclare Resolution Open => Accepted As Marked 2022-10-20 16:13 geoffclare Tag Attached: tc3-2008 2022-11-01 15:09 geoffclare Status Resolved => Applied ==