Re: WSL2

2021-03-11 Thread Ben Gamari
Viktor Dukhovni writes: > On Thu, Mar 11, 2021 at 07:53:20PM +, Simon Peyton Jones via ghc-devs > wrote: > >> Voila > > Thanks! > >> /etc/nsswitch.conf group entry >> group: files systemd > > The main "suspicious" thing here (decoded traces below my signature) is > that the

RE: WSL2

2021-03-11 Thread Simon Peyton Jones via ghc-devs
OK thanks. Let's pursue this further on this ticket: https://gitlab.haskell.org/ghc/ghc/-/issues/19525 Simon | -Original Message- | From: ghc-devs On Behalf Of Viktor | Dukhovni | Sent: 11 March 2021 20:36 | To: ghc-devs@haskell.org | Subject: Re: WSL2 | | On Thu, Mar 11, 2021

Re: WSL2

2021-03-11 Thread Viktor Dukhovni
On Thu, Mar 11, 2021 at 07:53:20PM +, Simon Peyton Jones via ghc-devs wrote: > Voila Thanks! > /etc/nsswitch.conf group entry > group: files systemd The main "suspicious" thing here (decoded traces below my signature) is that the nsswitch.conf file is configured to try "systemd"

RE: WSL2

2021-03-11 Thread Simon Peyton Jones via ghc-devs
@haskell.org | Subject: Re: WSL2 | | On Thu, Mar 11, 2021 at 12:21:15PM +, Simon Peyton Jones via ghc- | devs wrote: | | > Like Tom, I'm not following the details, but if you want me to run | > some commands and send you the output I can do that. Just send the | > script! |

Re: WSL2

2021-03-11 Thread Viktor Dukhovni
On Thu, Mar 11, 2021 at 12:21:15PM +, Simon Peyton Jones via ghc-devs wrote: > Like Tom, I'm not following the details, but if you want me to run > some commands and send you the output I can do that. Just send the > script! See attached. If any of the prerequisite shell utilities are not

RE: WSL2

2021-03-11 Thread Simon Peyton Jones via ghc-devs
PS: since this is not, apparently, just my stupidity, it would be good to open a ticket and transfer this thread to it. Would someone like to do that? | -Original Message- | From: ghc-devs On Behalf Of Tom Ellis | Sent: 11 March 2021 11:41 | To: ghc-devs@haskell.org | Subject: Re

RE: WSL2

2021-03-11 Thread Simon Peyton Jones via ghc-devs
Like Tom, I'm not following the details, but if you want me to run some commands and send you the output I can do that. Just send the script! | -Original Message- | From: ghc-devs On Behalf Of Tom Ellis | Sent: 11 March 2021 11:41 | To: ghc-devs@haskell.org | Subject: Re: WSL2

Re: WSL2

2021-03-11 Thread Viktor Dukhovni
> On Mar 11, 2021, at 9:41 AM, Tom Ellis > wrote: > > I'm not really following the details, but is this useful to you? > > % cat g.c && cc g.c -o g && ./g > #include > #include > #include > #include > > int main(int argc, char **argv) > { >char buf[1024]; >struct group g, *p; >

Re: WSL2

2021-03-11 Thread Tom Ellis
On Thu, Mar 11, 2021 at 06:19:46AM -0500, Viktor Dukhovni wrote: > On Thu, Mar 11, 2021 at 06:05:04AM -0500, Viktor Dukhovni wrote: > > So the question is why the lookup is failing. To that end compiling a > > tracing with "strace" the below C program should tell the story: [...] > To experiment

Re: WSL2

2021-03-11 Thread Viktor Dukhovni
On Thu, Mar 11, 2021 at 06:05:04AM -0500, Viktor Dukhovni wrote: > So the question is why the lookup is failing. To that end compiling a > tracing with "strace" the below C program should tell the story: > > #include > #include > #include > #include > > int main(int

Re: WSL2

2021-03-11 Thread Viktor Dukhovni
On Thu, Mar 11, 2021 at 10:19:52AM +, Tom Ellis wrote: > SPJ Wrote: > > I've just installed WSL2 and built GHC. I get this (single) > > validation failure in libraries/unix/tests/getGroupEntryForName. It > > seems to be just an error message wibble, but I can't push a change > > to master

Re: WSL2

2021-03-11 Thread Tom Ellis
SPJ Wrote: > I've just installed WSL2 and built GHC. I get this (single) > validation failure in libraries/unix/tests/getGroupEntryForName. It > seems to be just an error message wibble, but I can't push a change > to master because that'll affect everyone else. Interesting, I've only ever built

RE: WSL2

2021-03-10 Thread Simon Peyton Jones via ghc-devs
//bugs.launchpad.net/ubuntu/; PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy; VERSION_CODENAME=focal UBUNTU_CODENAME=focal | -Original Message- | From: Ben Gamari | Sent: 10 March 2021 17:22 | To: Simon Peyton Jones ; ghc-devs | Subject: Re: WSL2 |

Re: WSL2

2021-03-10 Thread Ben Gamari
Simon Peyton Jones via ghc-devs writes: > Friends > I've just installed WSL2 and built GHC. > I get this (single) validation failure in > libraries/unix/tests/getGroupEntryForName. It seems to be just an > error message wibble, but I can't push a change to master because > that'll affect