Bug#942558: hurd: should return ENXIO instead of EIEIO in open()

2019-10-27 Thread Samuel Thibault
Control: tags -1 + pending Hello, Svante Signell, le ven. 18 oct. 2019 19:16:01 +0200, a ecrit: > > open(s, O_WRONLY | O_NONBLOCK); > > > > On linux, it prints "No such device or address"; > > On the hurd vm, it prints "Computer bought the farm". > > > Confirmed: > ./test_fifo > Computer

Bug#942558: hurd: should return ENXIO instead of EIEIO in open()

2019-10-18 Thread Samuel Thibault
Svante Signell, le ven. 18 oct. 2019 19:16:01 +0200, a ecrit: > On Fri, 2019-10-18 at 23:37 +0800, Shengjing Zhu wrote: > > On Fri, Oct 18, 2019 at 2:38 PM Samuel Thibault > > wrote: > > > Hello, > > > > > > Shengjing Zhu, le ven. 18 oct. 2019 13:26:58 +0800, a ecrit: > > > > When calling

Bug#942558: hurd: should return ENXIO instead of EIEIO in open()

2019-10-18 Thread Svante Signell
On Fri, 2019-10-18 at 23:37 +0800, Shengjing Zhu wrote: > On Fri, Oct 18, 2019 at 2:38 PM Samuel Thibault > wrote: > > Hello, > > > > Shengjing Zhu, le ven. 18 oct. 2019 13:26:58 +0800, a ecrit: > > > When calling open(fifo_fd, O_WRONLY | O_NONBLOCK) on an fifo > > > file, which has > > > no

Bug#942558: hurd: should return ENXIO instead of EIEIO in open()

2019-10-18 Thread Shengjing Zhu
On Fri, Oct 18, 2019 at 2:38 PM Samuel Thibault wrote: > > Hello, > > Shengjing Zhu, le ven. 18 oct. 2019 13:26:58 +0800, a ecrit: > > When calling open(fifo_fd, O_WRONLY | O_NONBLOCK) on an fifo file, which has > > no reader, it should return ENXIO. But on Hurd, it returns EIEIO. > > I guess you

Bug#942558: hurd: should return ENXIO instead of EIEIO in open()

2019-10-18 Thread Samuel Thibault
Hello, Shengjing Zhu, le ven. 18 oct. 2019 13:26:58 +0800, a ecrit: > When calling open(fifo_fd, O_WRONLY | O_NONBLOCK) on an fifo file, which has > no reader, it should return ENXIO. But on Hurd, it returns EIEIO. I guess you mean it does this consistently? Normally EIEIO is only returned when

Bug#942558: hurd: should return ENXIO instead of EIEIO in open()

2019-10-17 Thread Shengjing Zhu
Source: hurd Version: 1:0.9.git20190331-8 Severity: important Control: affects -1 s6 Dear Maintainer, When calling open(fifo_fd, O_WRONLY | O_NONBLOCK) on an fifo file, which has no reader, it should return ENXIO. But on Hurd, it returns EIEIO. This causes s6 failed to start[1], as it expects