Bug#623199: useradd: posix_spawn() error=ENOENT

2011-09-18 Thread Jonathan Nieder
Nicolas François wrote: > Just alignment in case of future changes: > * Copyright (c) 2011 , Jonathan Nieder > * Copyright (c) 2011 - 2142, Nicolas François I see. I suppose I'd rather see * Copyright (c) 2011,Jonathan Nieder * Copyright (c) 2011 - 2142, Nicolas François bu

Bug#623199: useradd: posix_spawn() error=ENOENT

2011-09-18 Thread Nicolas François
On Sun, Sep 18, 2011 at 12:22:05PM -0500, jrnie...@gmail.com wrote: > Nicolas François wrote: > > > Would you agree to the attached change? > > Yes, looks fine to me, except: > > > - * Copyright (c) 2011, Jonathan Nieder > > + * Copyright (c) 2011 , Jonathan Nieder > > What is this change

Bug#623199: useradd: posix_spawn() error=ENOENT

2011-09-18 Thread Jonathan Nieder
Nicolas François wrote: > Would you agree to the attached change? Yes, looks fine to me, except: > - * Copyright (c) 2011, Jonathan Nieder > + * Copyright (c) 2011, Jonathan Nieder What is this change about? > The intent is to get consistent headers / licenses for the different parts >

Bug#623199: useradd: posix_spawn() error=ENOENT

2011-09-18 Thread Nicolas François
Hi, Would you agree to the attached change? The intent is to get consistent headers / licenses for the different parts of shadow-utils. Best Regards, -- Nekral Index: lib/spawn.c === --- lib/spawn.c (révision 3475) +++ lib/spawn.c

Bug#623199: useradd: posix_spawn() error=ENOENT

2011-08-18 Thread Jonathan Nieder
Hi Nicolas, Nicolas François wrote: > There could be two options: > * test if nscd exists and is executable > * get rid of posix_spawn, replace by fork & exec abd report errors, >except for ENOENT Thanks for looking into this. As you might have guessed, my first impression was to dislike

Bug#623199: useradd: posix_spawn() error=ENOENT

2011-08-18 Thread Nicolas François
Hello, On Mon, Apr 18, 2011 at 04:55:55AM -0500, Jonathan Nieder wrote: > > Questions: > > * This ignores failure to nscd on platforms reporting it through > WIFEXITED(status) && WEXITSTATUS(status) == 127 but considers it an > error when it comes from the return value of posix_spawn. Which

Bug#623199: useradd: posix_spawn() error=ENOENT

2011-04-18 Thread Jonathan Nieder
Package: passwd Version: 1:4.1.4.2+svn3283-3 Severity: minor Justification: cosmetic Tags: upstream Hi, With libc implementations (like glibc on hurd) that can return an exec(2) error from posix_spawn, if nscd is not installed then useradd and userdel write Failed to flush the nscd cache