From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4ACDC138330 for ; Sat, 17 Sep 2016 14:36:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7CA9E0AF0; Sat, 17 Sep 2016 14:36:32 +0000 (UTC) Received: from mail-qk0-f182.google.com (mail-qk0-f182.google.com [209.85.220.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7EE29E0979 for ; Sat, 17 Sep 2016 14:36:30 +0000 (UTC) Received: by mail-qk0-f182.google.com with SMTP id w204so111719377qka.0 for ; Sat, 17 Sep 2016 07:36:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=lk/vq4B34nkdo30EGdCiLlam1Yvu4FikPvLiIDk+Xyw=; b=yejGXISUnQDZl9eMDs8+FUGGwkHVqtOuPru6vQPUw79nabXZKCtBQfWEaXaCptg04U BC/YvyyOxF478L2sehv8YXNehqkUc2EmHKjfe2ULytGrPkAPNTQYLgbcBcTtSeWJlfiD jfLla4Dw8alstwr1kn+GlNr9U0w6M7kSaaCzusavZr/u+hVxeN94mirnYc8aaH/WnR6Z JZaxcpCT9oQ3c31vKQpphH17eJPHyJTa2oA7MQEw7aGND7LSCyCcnOkZARUeJQC5gYSO NTQojQ1+dNhOv+Ct+cy+mLYxt6TWltCk08jcOJH5pDtSz71dIt5Wh5MnMyFhcPWam98k gxtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=lk/vq4B34nkdo30EGdCiLlam1Yvu4FikPvLiIDk+Xyw=; b=lzkFLw44PTVbQuWnd/J1rtPJLHsEJHsUocI4dcdaWXJehypXZ/uK2KiRf1vjR0socZ STWrXUxKrFBk25vyHf1q9BbsA2Wf9lnit4VM1LtIymkGjcgh/7yvyXSdX/WnuUsgay1V g8YeNS57oSZzNdNUdcHZnR73Mii6pCvU+DTcGBSOlle8zmHVyzNBEJc7pSg9lxteKzOm nYA1MeuhERPISuuppW1L7rTEdPIHubFppCr1nhiGkhzh0u6t8WWI1dl5DVVQF8T5GhFk f659cJaFlMPSL5pRobGn8HqsHcO9YUm4e6DaOpF0JFP7ncCSEYaE8jGscJ2KKjv+1pou lofQ== X-Gm-Message-State: AE9vXwN4VpvYPyCC9mXqnSWil69Lz/gi4ecuNwQj5/su4I9lSv/1ZDXSU2hNmGQ9XviUcTm1ZdPbc+ThMP2U8Q== X-Received: by 10.55.99.202 with SMTP id x193mr20499893qkb.199.1474122989567; Sat, 17 Sep 2016 07:36:29 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Sender: freemanrich@gmail.com Received: by 10.140.40.105 with HTTP; Sat, 17 Sep 2016 07:36:28 -0700 (PDT) In-Reply-To: <20160917135428.GA8623@becker.bs.l> References: <20160913082326.GA38638@becker.bs.l> <72ddea8d-cf3d-74a3-3700-9ce6397be500@gentoo.org> <20160913131251.GA42144@becker.bs.l> <20160913174904.GB44957@becker.bs.l> <20160917103117.01159601@jupiter.sol.kaishome.de> <20160917135428.GA8623@becker.bs.l> From: Rich Freeman Date: Sat, 17 Sep 2016 10:36:28 -0400 X-Google-Sender-Auth: QY4iIXHjnUg0qAIEef9rls2beQ8 Message-ID: Subject: Re: [gentoo-user] Re: Emerge interferes with Git (Was: Wlan disappeared after suspend) To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 72e8ca9d-1bdf-4d8c-81b0-0208cea692d7 X-Archives-Hash: e45cc12273f17376f98a6267d2fbe8c2 On Sat, Sep 17, 2016 at 9:54 AM, Bertram Scharpf wrote: > > On Saturday, 17. Sep 2016, 10:31:17 +0200, Kai Krakow wrote: > > Am Tue, 13 Sep 2016 19:49:04 +0200 > > schrieb Bertram Scharpf : > > > > > The rfkill make suite looks for a version number and in case > > > the work directory is a Git repo it tries to query the > > > version number there. Then, it finds the Git repo in > > > /usr/portage and fails. Not very friendly! > > > > You could > > > > # mount -o bind /usr/portage/tmp /var/tmp/portage > > > > and then point the portage tmp dir to that directory. From there, > > ebuilds cannot see the .git of /usr/portage. > > As long as I do not set GIT_DISCOVERY_ACROSS_FILESYSTEM... I don't think that if you navigate upwards after following a bind mount that you end up in the tree that was mounted. Ie, /var/tmp/portage/.. = /var/tmp, not /usr/portage. With a symbolic link it would resolve to /usr/portage unless the shell does something clever. You can mount bind mounts into containers, and I'm pretty confident the container can't navigate out into the rest of the filesystem that way. > > I decided to add the following line to /etc/portage/make.conf: > > GIT_CEILING_DIRECTORIES="$GIT_CEILING_DIRECTORIES:$PORTAGE_TMPDIR" > > This should be part of the documentation. Where do I best > report it? Well, for anything on the wiki I'd suggest just adding it. For the manpages I'd submit a bug on bugs.gentoo.org against portage (the software). -- Rich