+++ This bug was initially created as a clone of Bug #732883 +++ Description of problem: Even when one doesn't supply a "-s" option to nc, and when the "-U" option is supplied, nc attempts to bind to a temporary unix socket. This is wrong, unnecessary, misleading, and broken. Version-Release number of selected component (if applicable): How reproducible: nc-1.100-2 Steps to Reproduce: 1. echo x | nc -uU some-unix-domain-socket-file-set-for-dgram 2. 3. Actual results: 1. fails Expected results: 1. should work Additional info: This nc program is really badly written. Although there is error handling there is no error output. So when the bind() in unix_bind() fails then nobody gets told anything. There could be perror()'s just about everywhere a failure is detected but there are none. One has to resort to strace to see what is going on. Also, binding to a source doesn't work for unix domain sockets anyhow. So one has to wonder why this code has been added. A simple fix is firstly to remove the temporary source path that gets created in the absence of a "-s" option. Secondly, to only do the bind() portion in unix_bind() is the path argument is set and is non empty. --- Additional comment from endoflife on 2012-08-07 16:02:41 EDT --- This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping --- Additional comment from redhat3 on 2012-08-07 23:43:54 EDT --- needs fixing, does not need closing
This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
*** This bug has been marked as a duplicate of bug 732883 ***