GNU bug report logs -
#63259
elpa-admin.el: Don't try to sandbox on Termux/Android
Previous Next
Reported by: Henrik Ahlgren <pablo <at> seestieto.com>
Date: Thu, 4 May 2023 09:50:01 UTC
Severity: wishlist
Tags: moreinfo
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sun, 24 Sep 2023 07:44:59 -0700
with message-id <CADwFkmnuCG9QL9Anm-evjy6OGxAr_aoM2EWHKTevYaySQDib1A <at> mail.gmail.com>
and subject line Re: bug#63259: elpa-admin.el: Don't try to sandbox on Termux/Android
has caused the debbugs.gnu.org bug report #63259,
regarding elpa-admin.el: Don't try to sandbox on Termux/Android
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
63259: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63259
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
elpaa--sandbox is set to t by default on Termux, since its system-type
is gnu/linux. However, I believe bubblewrap is only available on rooted
devices from root-packages, so most Termux users won't have bwrap. I
guess the same goes for the native Android port.
Consider disabling sandboxing on Termux by default. Not sure what is the
best method for detecting it, perhaps check if the TERMUX_VERSION
environment variable exists?
[Message part 3 (message/rfc822, inline)]
Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs <at> gnu.org> writes:
> Henrik Ahlgren <pablo <at> seestieto.com> writes:
>
>> elpaa--sandbox is set to t by default on Termux, since its system-type
>> is gnu/linux. However, I believe bubblewrap is only available on rooted
>> devices from root-packages, so most Termux users won't have bwrap. I
>> guess the same goes for the native Android port.
>>
>> Consider disabling sandboxing on Termux by default. Not sure what is the
>> best method for detecting it, perhaps check if the TERMUX_VERSION
>> environment variable exists?
>
> We don't support Termux; it is not GNU/Linux, so their Emacs should
> report system-type as `android' (or perhaps `termux'.) Please report
> this bug to the Termux packagers.
>
> This problem does not exist on the Android port of GNU Emacs, btw, which
> does report a correct `system-type'.
No further comments within 4 months.
I'm therefore closing this bug report.
This bug report was last modified 1 year and 244 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.