• Re: Runit bugs on Hurd

    From Samuel Thibault@21:1/5 to All on Mon May 9 00:30:01 2022
    Hello,

    João, le dim. 08 mai 2022 23:54:41 +0200, a ecrit:
    I don't know what is this "signals don't interrupt select known bug" mentioned
    int the wiki. Are there any pointers to this?

    I believe that was solved by this:

    commit a9a002fb6cb9941ba283ef832e2a88ab00033683
    Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
    Date: Sat Feb 7 22:13:46 2015 +0100

    hurdselect: Let select get interrupted by signals

    Are there known issues of different parts of DJB libs working in the hurd?

    I don't know.

    Samuel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?utf-8?B?Sm/Do28=?=@21:1/5 to All on Mon May 9 00:20:01 2022
    Hello everyone,

    I would like to draw people's attention here to the hurd specific bug https://bugs.debian.org/1009712

    There has been a long standing open issue on darnassus about runit https://darnassus.sceen.net/~hurd-web/open_issues/runit/

    The runit source code has not changed much for many years now, and I wonder if the two issues are related.
    I don't know what is this "signals don't interrupt select known bug" mentioned int the wiki. Are there any pointers to this?
    Is it a porting issue, or an issue on the hurd side?

    The trace published on the wiki points to the iopause from DJB libs call in
    the runsv program. iopause calls poll, and there seems to be some issues regarding the behaviour of poll in some kernels and what iopause expects https://cr.yp.to/lib/iopause.html
    See also comments in the source code https://sources.debian.org/src/runit/2.1.2-45/runit-2.1.2/src/iopause.c/

    Are there known issues of different parts of DJB libs working in the hurd?

    Regards,
    João

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?utf-8?B?Sm/Do28=?=@21:1/5 to Samuel Thibault on Mon May 9 10:40:01 2022
    Hello Samuel,

    On Mon, May 09, 2022 at 12:23:41AM +0200, Samuel Thibault wrote:
    João, le dim. 08 mai 2022 23:54:41 +0200, a ecrit:
    I don't know what is this "signals don't interrupt select known bug" mentioned
    int the wiki. Are there any pointers to this?

    I believe that was solved by this:

    commit a9a002fb6cb9941ba283ef832e2a88ab00033683
    Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
    Date: Sat Feb 7 22:13:46 2015 +0100

    hurdselect: Let select get interrupted by signals

    Thank you for the info.
    Does that mean that the assertion that the issue described in https://darnassus.sceen.net/~hurd-web/open_issues/runit/
    is due to "signals don't interrupt select" fixed bug in the hurd is not correct, or that the issue described on the wiki is fixed and bug 1009712 is due
    to a different runit mode of failure on the hurd? The original manifestation is the same: runit can be built, but the test suite hangs.

    In either case one does not seem to be in "known issue" territory which is what I was hoping. But this may make the problem more interesting for some people.


    Are there known issues of different parts of DJB libs working in the hurd?

    Has anyone tried, successfully or unsuccessfully, to run deamontools (which uses the same io libraries) on the hurd?

    Regards,
    João

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Samuel Thibault@21:1/5 to All on Mon May 9 14:20:01 2022
    Hello,

    João, le lun. 09 mai 2022 10:16:06 +0200, a ecrit:
    Does that mean that the assertion that the issue described in https://darnassus.sceen.net/~hurd-web/open_issues/runit/
    is due to "signals don't interrupt select" fixed bug in the hurd is not correct, or that the issue described on the wiki is fixed and bug 1009712 is due
    to a different runit mode of failure on the hurd?

    I don't know.

    The original manifestation is the same: runit can be built, but the
    test suite hangs.

    But possibly on a different test, with a different backtrace in gdb.

    Samuel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)