From: ChenQi <Qi.Chen@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: Busybox adduser cannot create system user "no uids left"
Date: Fri, 30 Aug 2013 10:16:32 +0800 [thread overview]
Message-ID: <52200080.4010401@windriver.com> (raw)
In-Reply-To: <CAGiJk9eorCAGAynkdn=eeq-NerCrx2sXpAtVS3h-R9D6tRkvpw@mail.gmail.com>
On 08/29/2013 11:19 PM, Samuel Stirtzel wrote:
> Hi,
>
> with the current master/HEAD it seems impossible to create system
> users with busybox.
>
>
> root@overo:~# which adduser
> /usr/sbin/adduser
> root@overo:~# ls -la /usr/sbin/adduser
> lrwxrwxrwx 1 root root 19 Aug 29 2013
> /usr/sbin/adduser -> /bin/busybox.nosuid
> root@overo:~# adduser --system --ingroup lightdm lightdm
> adduser: no uids left
>
>
> Normal user creation works as expected.
> Content of /etc/passwd:
>
> root:x:0:0:root:/home/root:/bin/sh
> daemon:x:1:1:daemon:/usr/sbin:/bin/sh
> bin:x:2:2:bin:/bin:/bin/sh
> sys:x:3:3:sys:/dev:/bin/sh
> sync:x:4:65534:sync:/bin:/bin/sync
> games:x:5:60:games:/usr/games:/bin/sh
> man:x:6:12:man:/var/cache/man:/bin/sh
> lp:x:7:7:lp:/var/spool/lpd:/bin/sh
> mail:x:8:8:mail:/var/mail:/bin/sh
> news:x:9:9:news:/var/spool/news:/bin/sh
> uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
> proxy:x:13:13:proxy:/bin:/bin/sh
> www-data:x:33:33:www-data:/var/www:/bin/sh
> backup:x:34:34:backup:/var/backups:/bin/sh
> list:x:38:38:Mailing List Manager:/var/list:/bin/sh
> irc:x:39:39:ircd:/var/run/ircd:/bin/sh
> gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
> nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
> messagebus:x:999:998::/var/lib/dbus:/bin/false
> xuser:x:1000:1000::/home/xuser:/bin/sh
> avahi:x:998:994::/var/run/avahi-daemon:/bin/false
> avahi-autoipd:x:997:993:Avahi autoip daemon:/var/run/avahi-autoipd:/bin/false
> polkitd:x:996:992::/etc/polkit-1:/bin/sh
>
>
> Can anyone reproduce this error, or is it a known problem?
>
>
That's because CONFIG_SYSTEM_LAST_ID is set to 0 in defconfig.
I'll send out a patch to fix it.
Best Regards,
Chen Qi
next prev parent reply other threads:[~2013-08-30 2:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-29 15:19 Busybox adduser cannot create system user "no uids left" Samuel Stirtzel
2013-08-30 2:16 ` ChenQi [this message]
2013-09-05 9:41 ` Samuel Stirtzel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52200080.4010401@windriver.com \
--to=qi.chen@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.