On Thu, Oct 17, 2019 at 1:10 AM Laurent Bercot <ska-skaw...@skarnet.org> wrote: > > What problems did you get with s6? It should be able to run without > trouble. To me that's a more important issue than the ones you listed > below. :) >
with the following patch, s6 works...(tested some functions like s6-svscan). diff --git a/src/libs6/s6_supervise_lock_mode.c b/src/libs6/s6_supervise_lock_mode.c index 039760c..8c0843b 100644 --- a/src/libs6/s6_supervise_lock_mode.c +++ b/src/libs6/s6_supervise_lock_mode.c @@ -36,8 +36,8 @@ int s6_supervise_lock_mode (char const *subdir, unsigned int subdirmode, unsigne strerr_diefu2sys(111, "lock ", lock) ; fdctlw = open_write(control) ; if (fdctlw >= 0) strerr_dief1x(100, "directory already locked") ; - if (errno != ENXIO) - strerr_diefu2sys(111, "open_write ", control) ; + //if (errno != ENXIO) + // strerr_diefu2sys(111, "open_write ", control) ; fdctl = open_read(control) ; if (fdctl < 0) strerr_diefu2sys(111, "open_read ", control) ; The errno I got on Hurd is `EIEIO 1073741928 Computer bought the farm`... Seems a Hurd specific errno... -- Shengjing Zhu