Bug 167855 - "Get extensions online" causes snap confinement error
Summary: "Get extensions online" causes snap confinement error
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: framework (show other bugs)
Version:
(earliest affected)
24.2.7.2 release
Hardware: All Android
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-07 21:14 UTC by Jim Avera
Modified: 2025-08-07 21:14 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Avera 2025-08-07 21:14:13 UTC
Description:
Ubuntu packages LO in a snap.  This seems to break things, e.g.

Tools->Extensions->"Get more extensions online..." fails to do anything noticeable.   However if stdout/stderr is available, the following appears 

snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks
Please make sure that the snapd.apparmor service is enabled and started.
-----
Obviously LO can not control what Ubuntu does, but Ubuntu is a major distribution channel.   Is there anything LO can do to show the user something useful, such as the URL to visit?  I'm guessing (pure speculation) that LO tried to open a web browser via some OS-integrated chooser.  If other features also do that they will probably fail the same way.

Can LO even detect that this error occurred?   Is any mitigation possible?


Steps to Reproduce:
1. In Ubuntu 24.04 LTS, with libreoffice installed by default (LibreOffice 24.2.7.2 420(Build:2) on my system):

2. In a terminal, run /usr/bin/loffice

3. Tools->Extensions->(click "Get more extensions online..." near the bottom)

Actual Results:
snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks
Please make sure that the snapd.apparmor service is enabled and started.
(on the terminal)

Expected Results:
Opening a catalog of extensions?


Reproducible: Always


User Profile Reset: No

Additional Info:
.