summaryrefslogtreecommitdiff
path: root/open_issues/adduser.mdwn
blob: 23552301a2632bceae5410b20d9d87a28d124a68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[[!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' ...
    [...]