From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9950 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: tor web-browser doesn't work on musl Date: Mon, 25 Apr 2016 20:05:40 -0400 Message-ID: <20160426000540.GG21636@brightrain.aerifal.cx> References: <20160425114547.36d5dc77@ncopa-desktop.alpinelinux.org> <20160425164817.GD21636@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1461629156 18633 80.91.229.3 (26 Apr 2016 00:05:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Apr 2016 00:05:56 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9963-gllmg-musl=m.gmane.org@lists.openwall.com Tue Apr 26 02:05:56 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1auqVn-00023i-7f for gllmg-musl@m.gmane.org; Tue, 26 Apr 2016 02:05:55 +0200 Original-Received: (qmail 32470 invoked by uid 550); 26 Apr 2016 00:05:53 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 32449 invoked from network); 26 Apr 2016 00:05:52 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:9950 Archived-At: On Mon, Apr 25, 2016 at 04:46:32PM -0300, Daniel Simon wrote: > Hi, Rich. Did you receive my other email that was sent to both mailing > lists (Tor and Musl)? > In it I listed a few possibilities and 1 of them was to > statically-link the binaries to musl. > Between other possibilities I included having separate binaries for > glibc and musl, but you show that's a bad idea. > Could you comment on the other email too, letting the Tor developers > also aware of this and showing that the best outcome would be > static-link to musl? > I wonder if there would be any difficulty for them to do so... Or > rather no difficulty, but lack of desire for change. I hope they're > flexible. I just tried to but my message was apparently rejected (not just held for moderation) for not being a subscriber. Rich > On Mon, Apr 25, 2016 at 1:48 PM, Rich Felker wrote: > > On Mon, Apr 25, 2016 at 01:02:24PM -0300, Daniel Simon wrote: > >> By what I could find, nobody has compiled the tor web-browser from > >> source on musl before. > >> I can't find any packages for it... > >> I'll try to make a new email and send it to both mailing lists (musl > >> and tor) then we can talk to them directly. > >> Thanks for all help so far. > > > > One thing to note: the whole point of Tor Browser Bundle is to avoid > > all sorts of side-channel/information-leak risks associated with just > > using a normal web browser build on Tor. If anything showing that your > > Tor Browser Bundle is built against musl rather than glibc leaks out > > to the network, this would compromise much of the benefit of the > > package -- there are relatively few musl desktop users, and even fewer > > who use Tor Browser, so it becomes much easier to identify you. Of > > course it would be ideal if they _always_ used musl, and fully > > static-linked, so that there wouldn't even be any risk of glibc > > version information (from the system-wide glibc) leaking over the > > network. > > > > Rich > > > > > >> On Mon, Apr 25, 2016 at 7:07 AM, Alba Pompeo wrote: > >> > How could I build the Tor Browser Bundle from source? > >> > I can't find any guide for it. > >> > If someone has ever done this, could you share the binary that works on musl? > >> > Could TBB be packaged to musl systems (void, alpine, etc) or is it > >> > only available as a downloadable binary? > >> > > >> > > >> > On Mon, Apr 25, 2016 at 6:45 AM, Natanael Copa wrote: > >> >> On Sun, 24 Apr 2016 11:01:12 -0300 > >> >> Daniel Simon wrote: > >> >> > >> >>> Hi, I face a bug when running tor-web-browser from my new system that uses musl. > >> >>> > >> >>> 1) wget https://www.torproject.org/dist/torbrowser/5.5.4/tor-browser-linux64-5.5.4_en-US.tar.xz > >> >>> 2) tar zxvf ./tor-browser-linux64-5.5.4_en-US.tar.xz > >> >>> 3) cd tor-browser-linux64-5.5.4_en-US > >> >>> 4) ./start-tor-browser.desktop > >> >>> > >> >>> EXPECTED: tor web browser launches as it does on glibc systems > >> >>> WHAT HAPPENS: Nothing > >> >>> > >> >>> I assume there is a fix... > >> >>> Thank you very much. > >> >> > >> >> You can not really expect a precompiled binary that is linked against > >> >> glibc work on a musl libc system. > >> >> > >> >> There are 3 possible solutions: > >> >> - run the pre-compiled binary on a glibc system > >> >> - ask the tor browser developers to provide a binary built with musl libc > >> >> - build it from source yourself > >> >> > >> >> -nc