[oe-commits] Chen Qi : busybox: configure system user id to range from 100 to 999

git at git.openembedded.org git at git.openembedded.org
Fri Aug 30 15:16:59 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: c4555007d04ccacbc192827b70a97f9a48500a22
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c4555007d04ccacbc192827b70a97f9a48500a22

Author: Chen Qi <Qi.Chen at windriver.com>
Date:   Fri Aug 30 10:31:42 2013 +0800

busybox: configure system user id to range from 100 to 999

Previously, the range was 0 to 0. This made it impossible to use
busybox's adduser utility to add a system user. The following error
would appear.

      adduser: no uids left

This patch fixes this problem by giving it a reasonable range.

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/busybox/busybox-1.21.1/defconfig |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/busybox/busybox-1.21.1/defconfig b/meta/recipes-core/busybox/busybox-1.21.1/defconfig
index e287a0d..4526121 100644
--- a/meta/recipes-core/busybox/busybox-1.21.1/defconfig
+++ b/meta/recipes-core/busybox/busybox-1.21.1/defconfig
@@ -457,8 +457,8 @@ CONFIG_USE_BB_CRYPT=y
 # CONFIG_ADDUSER is not set
 # CONFIG_FEATURE_ADDUSER_LONG_OPTIONS is not set
 # CONFIG_FEATURE_CHECK_NAMES is not set
-CONFIG_FIRST_SYSTEM_ID=0
-CONFIG_LAST_SYSTEM_ID=0
+CONFIG_FIRST_SYSTEM_ID=100
+CONFIG_LAST_SYSTEM_ID=999
 # CONFIG_ADDGROUP is not set
 # CONFIG_FEATURE_ADDGROUP_LONG_OPTIONS is not set
 # CONFIG_FEATURE_ADDUSER_TO_GROUP is not set



More information about the Openembedded-commits mailing list