GNU bug report logs - #63259
elpa-admin.el: Don't try to sandbox on Termux/Android

Previous Next

Package: emacs;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63259 in the body.
You can then email your comments to 63259 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#63259; Package emacs. (Thu, 04 May 2023 09:50:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Henrik Ahlgren <pablo <at> seestieto.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 04 May 2023 09:50:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Henrik Ahlgren <pablo <at> seestieto.com>
To: bug-gnu-emacs <at> gnu.org
Subject: elpa-admin.el: Don't try to sandbox on Termux/Android
Date: Thu, 04 May 2023 11:00:23 +0300
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?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#63259; Package emacs. (Thu, 04 May 2023 13:41:01 GMT) Full text and rfc822 format available.

Message #8 received at 63259 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Henrik Ahlgren <pablo <at> seestieto.com>
Cc: 63259 <at> debbugs.gnu.org
Subject: Re: bug#63259: elpa-admin.el: Don't try to sandbox on Termux/Android
Date: Thu, 04 May 2023 21:40:02 +0800
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'.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#63259; Package emacs. (Thu, 04 May 2023 20:53:02 GMT) Full text and rfc822 format available.

Message #11 received at 63259 <at> debbugs.gnu.org (full text, mbox):

From: Philip Kaludercic <philipk <at> posteo.net>
To: Henrik Ahlgren <pablo <at> seestieto.com>
Cc: 63259 <at> debbugs.gnu.org
Subject: Re: bug#63259: elpa-admin.el: Don't try to sandbox on Termux/Android
Date: Thu, 04 May 2023 20:52:33 +0000
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?

In what context are you using elpa-admin.el on Termux/Android?




Added tag(s) moreinfo. Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 04 Sep 2023 08:31:03 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 04 Sep 2023 08:31:03 GMT) Full text and rfc822 format available.

Reply sent to Stefan Kangas <stefankangas <at> gmail.com>:
You have taken responsibility. (Sun, 24 Sep 2023 14:46:02 GMT) Full text and rfc822 format available.

Notification sent to Henrik Ahlgren <pablo <at> seestieto.com>:
bug acknowledged by developer. (Sun, 24 Sep 2023 14:46:02 GMT) Full text and rfc822 format available.

Message #20 received at 63259-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Po Lu <luangruo <at> yahoo.com>, Henrik Ahlgren <pablo <at> seestieto.com>
Cc: 63259-done <at> debbugs.gnu.org
Subject: Re: bug#63259: elpa-admin.el: Don't try to sandbox on Termux/Android
Date: Sun, 24 Sep 2023 07:44:59 -0700
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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 23 Oct 2023 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 184 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.