[tor-bugs] #3841 [Tor bundles/installation]: Linux TBB should better detect wrong 32-bit vs 64-bit choice
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Mar 17 05:53:09 UTC 2013
#3841: Linux TBB should better detect wrong 32-bit vs 64-bit choice
--------------------------------------+-------------------------------------
Reporter: arma | Owner: erinn
Type: defect | Status: needs_revision
Priority: normal | Milestone:
Component: Tor bundles/installation | Version:
Keywords: | Parent:
Points: | Actualpoints:
--------------------------------------+-------------------------------------
Changes (by mo):
* status: new => needs_revision
Comment:
"Be careful, in a chrooted 32-bit env, the uname is still answering like
the 64-bit host system. getconf LONG_BIT works fine."
{{{
% diff 3841/start-tor-browser original/start-tor-browser
119,126d118
< SYSARCHITECTURE=$(getconf LONG_BIT)
< TORARCHITECTURE=$(expr "$(file App/tor)" : '.*ELF \([[:digit:]]*\)')
<
< if [ $SYSARCHITECTURE -ne $TORARCHITECTURE ]; then
< complain "Wrong architecture? 32-bit vs. 64-bit."
< exit 1
< fi
<
}}}
"works for me"
"getconf LONG-BIT" is supported on MacOS, too. the "file" output is
obviously different though.
Should I open new tickets (and patches) for the MacOS and the Windows
launcher?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3841#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list