From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NKF1P-00070h-Ml for garchives@archives.gentoo.org; Mon, 14 Dec 2009 17:47:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D568E0928; Mon, 14 Dec 2009 17:47:16 +0000 (UTC) Received: from mail-fx0-f215.google.com (mail-fx0-f215.google.com [209.85.220.215]) by pigeon.gentoo.org (Postfix) with ESMTP id 4CBE0E0928 for ; Mon, 14 Dec 2009 17:47:16 +0000 (UTC) Received: by fxm7 with SMTP id 7so3345084fxm.29 for ; Mon, 14 Dec 2009 09:47:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=ooPu1z4GC5ebyGis6aQ7lSizP4ZoVkSr70L1B+5iBno=; b=Lju2CMpFuWb5JE2DQNFSg1gdXT57/kbDQARsccpP5UyOj1CC6HTdKSvJ9oF2XxC1JC oSYkU8HDsFYg9KIYrtZMRjTE6D/NnwXX4PBgM2CFNAiqbc5Lrzgmu/28blIGwc+sY9SX NEk/r2FZ8ovZp6bDK/c/lPE4bW87VWd7gh6Fw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=U2YGTbLQ8HCYSvIa1rmFXNW1AB38ekHwc8CurZozZI6BtV5GupVIPIZVz96nSMyDKT QEaXYGFGtUWSrzLhZD1swBWNbzuLxg4iiR+U9CaSCine/wx+4xqifYvjWTS2jWr0daMH uoeZqV4uOf8weHtE4YzUGohKc3YqDRvf8vsGw= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Received: by 10.239.187.211 with SMTP id m19mr526510hbh.10.1260812834081; Mon, 14 Dec 2009 09:47:14 -0800 (PST) In-Reply-To: <4B267265.7080406@wildgooses.com> References: <166af1cf0912140817j66fb0ba3q96f1e8285790bc8@mail.gmail.com> <4B267265.7080406@wildgooses.com> Date: Mon, 14 Dec 2009 18:47:14 +0100 Message-ID: <3dc1583f0912140947q106e673fkcb541cc8929c0321@mail.gmail.com> Subject: Re: [gentoo-embedded] emerge --root : users not created From: Sven Rebhan To: gentoo-embedded@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: ead3951b-116c-4e25-b20c-8741dc0b73a6 X-Archives-Hash: 3f8bbbe03f24a93969078088c37c761f 2009/12/14 Ed W : > Yep, seems like a known bug It's not exactly a bug but rather a missing feature in useradd and friends. The correct way to solve this would be to add an option to useradd, allowing to specify a passwd file other than /etc/passwd. Afterwards patch the corresponding eclass to use this option. Patches are welcome. ;-) > Quite annoying - workarounds would be highly appreciated! To install a cross-compiled system read: http://gentoo.mindzoo.de/index.cgi/wiki/Cross Install Especially the command: find /var/db/pkg -name '*.ebuild' -exec grep -qF 'pkg_postinst()' {} \; -exec ebuild {} postinst \; which re-executes all post-install procedures on the target system (and thus adds the users). Regards, Sven