Re: s6-fdholder-getdumpc fails with 'Protocol error' (EPROTO)

From: Guillermo <>
Date: Sun, 6 Aug 2017 15:02:37 -0300

2017-08-06 8:47 GMT-03:00 Laurent Bercot:
> Fixed in the latest s6 git. It was a stupid typo.
> I'll carve a new release some time this month.

Thank you, that worked.

This also affected s6-fdholder-transferdumpc, and, for the record, the
issue fixed by commit ebb6b00bf66828c5a2587dd2cd44f8810e01e00b (which
also worked) affected GNU libc-based operating systems as well, and
manifested as s6-mkfifodir not being able to create publically
accessible FIFO directories, so an s6 bugfix release seems in order


It turns out GNU libc also has an unsigned gid_t


#ifndef __gid_t_defined
typedef __gid_t gid_t;
# define __gid_t_defined


#define __U32_TYPE unsigned int
#if __WORDSIZE == 32
#elif __WORDSIZE == 64
# define __STD_TYPE typedef
# error
#include <bits/typesizes.h> /* Defines __*_T_TYPE macros. */
__STD_TYPE __GID_T_TYPE __gid_t; /* Type of group identifications. */


#define __GID_T_TYPE __U32_TYPE

Received on Sun Aug 06 2017 - 18:02:37 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC