[[!meta copyright="Copyright © 2008, 2009 Free Software Foundation, Inc."]]

[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no Invariant
Sections, no Front-Cover Texts, and no Back-Cover Texts.  A copy of the license
is included in the section entitled
[[GNU Free Documentation License|/fdl]]."]]"""]]

[[!meta title="adduser: posix_spawn() error=1073741826"]]

[[!tag open_issue_porting]]

`adduser` does work as expected, the following warnings are spurious, they just
appear when one doesn't have the nscd package. They do not appear on linux boxes
because there posix_spawn doesn't report ENOENT for exec(). Posix indeed says
that `if the error occurs after the calling process successfully returns, the
child process shall exit with exit status 127'. The hurd however reports all
errors, thus the warning.

    $ sudo adduser foo
    Adding user `foo' ...
    Adding new group `foo' (1002) ...
    posix_spawn() error=1073741826
    posix_spawn() error=1073741826
    posix_spawn() error=1073741826
    Adding new user `foo' (1002) with group `foo' ...
    posix_spawn() error=1073741826
    posix_spawn() error=1073741826
    posix_spawn() error=1073741826
    posix_spawn() error=1073741826
    Creating home directory `/home/foo' ...
    Copying files from `/etc/skel' ...
    [...]

Reported at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623199