all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#63259: elpa-admin.el: Don't try to sandbox on Termux/Android
@ 2023-05-04  8:00 Henrik Ahlgren
  2023-05-04 13:40 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-05-04 20:52 ` Philip Kaludercic
  0 siblings, 2 replies; 4+ messages in thread
From: Henrik Ahlgren @ 2023-05-04  8:00 UTC (permalink / raw)
  To: 63259

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?





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#63259: elpa-admin.el: Don't try to sandbox on Termux/Android
  2023-05-04  8:00 bug#63259: elpa-admin.el: Don't try to sandbox on Termux/Android Henrik Ahlgren
@ 2023-05-04 13:40 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-09-24 14:44   ` Stefan Kangas
  2023-05-04 20:52 ` Philip Kaludercic
  1 sibling, 1 reply; 4+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-05-04 13:40 UTC (permalink / raw)
  To: Henrik Ahlgren; +Cc: 63259

Henrik Ahlgren <pablo@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'.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#63259: elpa-admin.el: Don't try to sandbox on Termux/Android
  2023-05-04  8:00 bug#63259: elpa-admin.el: Don't try to sandbox on Termux/Android Henrik Ahlgren
  2023-05-04 13:40 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-05-04 20:52 ` Philip Kaludercic
  1 sibling, 0 replies; 4+ messages in thread
From: Philip Kaludercic @ 2023-05-04 20:52 UTC (permalink / raw)
  To: Henrik Ahlgren; +Cc: 63259

Henrik Ahlgren <pablo@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?





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#63259: elpa-admin.el: Don't try to sandbox on Termux/Android
  2023-05-04 13:40 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-09-24 14:44   ` Stefan Kangas
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Kangas @ 2023-09-24 14:44 UTC (permalink / raw)
  To: Po Lu, Henrik Ahlgren; +Cc: 63259-done

Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs@gnu.org> writes:

> Henrik Ahlgren <pablo@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-24 14:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-04  8:00 bug#63259: elpa-admin.el: Don't try to sandbox on Termux/Android Henrik Ahlgren
2023-05-04 13:40 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-24 14:44   ` Stefan Kangas
2023-05-04 20:52 ` Philip Kaludercic

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.