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 1OO5fy-0008Se-VU for garchives@archives.gentoo.org; Mon, 14 Jun 2010 09:09:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9BD2CE0E38 for ; Mon, 14 Jun 2010 09:09:50 +0000 (UTC) Received: from mail-iw0-f181.google.com (mail-iw0-f181.google.com [209.85.214.181]) by pigeon.gentoo.org (Postfix) with ESMTP id D5E0DE0B24 for ; Mon, 14 Jun 2010 08:09:43 +0000 (UTC) Received: by iwn33 with SMTP id 33so485344iwn.40 for ; Mon, 14 Jun 2010 01:09:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=85iNpN/jk3mF+h+6abSWhsWmJwcrI+JXtoD7o0xpLqQ=; b=cjlzOJK4OnpGiIIIo1nzWivKkuHk4GIYi9+ClIZEiohRB+Vkxp14QNWXRxa28yeiTR X01aiEXBy26Y3PsoHcmFg4N2s07QQ9NvvQP+uUDJqqBpRvq/+fDDk1ksO0++1eRTXeA+ imPaQXnExv0TTnHt0HprbYcxAW/QBVkQ6Aok4= 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=MZxxJFaVv4BAEvrr5iLtKLFC4S2YwCnhunz5uxBPUeaAPhXFAeM4jRZcmh5t8BtEz9 vbCd9aR3YUjay1tXpwzX/Kk4nlbgapYZXGLX2pc7sFCO/FKuBfd+aGZ1y33nlqA/TSTU t6T3+gP1A0UI5Z49e7tDAIC4Lcp2d2qrD2FJo= 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.231.59.75 with SMTP id k11mr5204217ibh.100.1276502983529; Mon, 14 Jun 2010 01:09:43 -0700 (PDT) Received: by 10.231.208.13 with HTTP; Mon, 14 Jun 2010 01:09:43 -0700 (PDT) In-Reply-To: <1276268908.1875.29.camel@pr-laptop> References: <1276166368.2012.571.camel@pr-laptop> <1276268908.1875.29.camel@pr-laptop> Date: Mon, 14 Jun 2010 10:09:43 +0200 Message-ID: Subject: Re: [gentoo-embedded] Re: 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: 13ae938b-24aa-46a4-b6e0-2890a1c62174 X-Archives-Hash: d070ae547858edf17bcb2f482a5821ce 2010/6/11 Marcus Priesch : > Hi sven, > > wouldnt it be enough to have the patch included in gentoo's shadow > ebuild - as i think its mainly relevant for gentoo folks - at least in > the meantime, until the patch gets accepted upstream ?! Well, talk to the Gentoo maintainer of the shadow suite. :-) IIRC, it was clearly said, that the patch has to go through mainstream, but you can try nevertheless. IMHO the patch really _should_ go upstream and be reviewed there as it might be relevant for security stuff. > as i assume this patch alone is not enough - as it needs tweaking the > eclass providing the eadduser & co functions also ... and therefore it's > hard to put in an overlay ... or ?!?! The procedure would be: 1. Get the patch accepted either upstream or in the portage tree. 2. Find a good check to distinguish --chroot enabled and disabled shadow 3. Modify the eclass accordingly. So, start with 1. and the rest will happen automatically... ;-) Sven