Re: s6-envuidgid: Weird errors with GNU libc's getgrent() and endgrent()

2019-06-11 Thread Peter Pentchev
On Tue, Jun 11, 2019 at 10:28:00AM +0800, Casper Ti. Vector wrote: > On Mon, Jun 10, 2019 at 11:10:13PM -0300, Guillermo wrote: > > /etc/nsswitch.conf is 'owned' by sys-libs/glibc, and Gentoo's default > > comes directly from the libc's source package: > > So Gentoo follows the upstream more close

Re: s6-envuidgid: Weird errors with GNU libc's getgrent() and endgrent()

2019-06-11 Thread Casper Ti. Vector
On Tue, Jun 11, 2019 at 11:20:13AM +0300, Peter Pentchev wrote: > Neither the glibc manual page nor the POSIX text say anything about > endgrent() setting errno or leaving it alone, Well, it seems that the current POSIX text says otherwise:

Re: s6-envuidgid: Weird errors with GNU libc's getgrent() and endgrent()

2019-06-11 Thread Peter Pentchev
On Tue, Jun 11, 2019 at 04:49:04PM +0800, Casper Ti. Vector wrote: > On Tue, Jun 11, 2019 at 11:20:13AM +0300, Peter Pentchev wrote: > > Neither the glibc manual page nor the POSIX text say anything about > > endgrent() setting errno or leaving it alone, > > Well, it seems that the current POSIX t

Re: s6-envuidgid: Weird errors with GNU libc's getgrent() and endgrent()

2019-06-11 Thread Brett Neumeier
On Mon, Jun 10, 2019 at 9:10 PM Guillermo wrote: > El lun., 10 jun. 2019 a las 4:13, Casper Ti. Vector escribió: > > > /etc/nsswitch.conf, which I don't recall having ever modified, says: > > > group: db files > /etc/nsswitch.conf is 'owned' by sys-libs/glibc, and Gentoo's default > comes direc