summaryrefslogtreecommitdiff
path: root/open_issues/adduser.mdwn
blob: 713a1dd388c6d08999eb91f66c182b9f459c9c79 (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
37
[[!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 [[!debbug 623199]].