Received: from aurora-borealis.phear.org (aurora-borealis.phear.org [94.242.205.164]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id AF8ED781AB7 for <~alpine/users@lists.alpinelinux.org>; Wed, 1 Jul 2020 06:17:09 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by aurora-borealis.phear.org (Postfix) with ESMTP id 62CC110874 for <~alpine/users@lists.alpinelinux.org>; Wed, 1 Jul 2020 06:17:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at phear.org Received: from aurora-borealis.phear.org ([127.0.0.1]) by localhost (mail.phear.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9vYqFfaOWz4b for <~alpine/users@lists.alpinelinux.org>; Wed, 1 Jul 2020 06:17:07 +0000 (UTC) Received: from prometheus.u-strasbg.fr (82-65-50-238.subs.proxad.net [82.65.50.238]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: khatar) by aurora-borealis.phear.org (Postfix) with ESMTPSA id 2FD2F10872 for <~alpine/users@lists.alpinelinux.org>; Wed, 1 Jul 2020 06:17:07 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 aurora-borealis.phear.org 2FD2F10872 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=phear.org; s=20180217; t=1593584227; bh=bxbBiUIXMBrzpSMryCA7PyeDA9KV5Cdfwabj9nWjtFg=; h=Date:From:To:Subject:References:In-Reply-To:From; b=qjaMXevniX7EM9IjpS/kZNzQZuCoTEFLHXlxOcO6ic12IIvO9vn3pzv1ancFar2Yv 4awjk5zTtIl0mqOnWoTChIl0C4sNdzsDYY1w01wrgZbnkjI9AnShRH8mAQeqTF3DNm sg5STXSzi4FChcebteDXrKz8iMv8vI0Hh3jn63gy2vSAPZXox+Hq2v6d+VFqUAo4rq J+OCf5RDk7BG7T3vPGsaaz3BlxikEYqmSlgs+4qktYVQ8wFPm9lHoqgQxPy3WEDtuA Xw7qLHmFwOusrKdpOY6HJnqHOwi1Q7U7FetlqjXRX2jYK8qRWjdS5pzIsxh+GlkuQ7 O3NW09Tklt/fg== Date: Wed, 1 Jul 2020 08:17:02 +0200 From: Marc Chantreux To: ~alpine/users@lists.alpinelinux.org Subject: Re: make readlink (so abuild) work in a chroot? Message-ID: <20200701061702.GC3244@prometheus.u-strasbg.fr> References: <20200630133223.GA2903@prometheus.u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200630133223.GA2903@prometheus.u-strasbg.fr> User-Agent: Mutt/1.10.1 (2018-07-13) On Tue, Jun 30, 2020 at 03:32:23PM +0200, Marc Chantreux wrote: > because readlink's stdout (captured at the very begining of abuild to > set abuild_path) is empty in a chrooted env. [[sroracle]] on #alpine-devel pointed out that /proc must be mounted so mount -t proc none /proc made readlink happy. have a nice day marc