Open Bug 1757195 Opened 3 years ago Updated 9 months ago

[snap] Firefox will not open in Guest session of Ubuntu MATE 22.04

Categories

(Firefox Build System :: Third Party Packaging, defect, P3)

Firefox 97
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: franksmcb, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 obsolete file)

Steps to reproduce:

Boot into Ubuntu MATE 22.04
Select Guest Session
Try to start Firefox

Actual results:

Firefox (now a snap not a .deb) will not open.
Running from CLI shows the following error:
cannot open snapd info file "/snap/snapd/current/usr/lib/snapd/info"

Expected results:

Firefox should have started.
Prior to the transition to snap package it worked properly

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

That looks like https://forum.snapcraft.io/t/solved-snap-refused-by-apparmor/20396 where a foreign apparmor profile (/etc/apparmor.d/usr.bin.snap) is preventing snapd from running. Is there such a restriction in MATE's guest session?

Flags: needinfo?(franksmcb)
Blocks: snap

It looks like Guest Sessions are not a thing anymore on default Ubuntu: https://discourse.ubuntu.com/t/guest-sessions-in-18-04-lts-are-they-needed/1714

This issue is still very much alive in the latest Xubuntu LTS version 22.04 (Jammy), released 21st of April 2022.
See: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1981881

(In reply to marty from comment #4)

This issue is still very much alive in the latest Xubuntu LTS version 22.04 (Jammy), released 21st of April 2022.
See: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1981881

As I mentionned, Ubuntu switched off guest sessions by default, and this is an apparmor-level issue. I dont know where Xubuntu / MATE bugs sare reported ?

(In reply to Alexandre LISSY :gerard-majax from comment #5)

(In reply to marty from comment #4)

As I mentionned, Ubuntu switched off guest sessions by default, and this is an apparmor-level issue. I dont know where Xubuntu / MATE bugs sare reported ?

Thanks for your insight.
Guest sessions still come in very handy.
Now that Ubuntu 16.04 LTS is retired, users are forced to lose their guest-session abilities.
That’s why it has become an uncircumventable problem recently.
I found multiple bugs, dating back 6 years that point out the problems, but they don’t get fixed.
That's why the guest account was disabled by default.
See for further information:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1593407
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1742912

(In reply to marty from comment #6)

(In reply to Alexandre LISSY :gerard-majax from comment #5)

(In reply to marty from comment #4)

As I mentionned, Ubuntu switched off guest sessions by default, and this is an apparmor-level issue. I dont know where Xubuntu / MATE bugs sare reported ?

Thanks for your insight.
Guest sessions still come in very handy.

Sure, but I'm not debating that :)

Now that Ubuntu 16.04 LTS is retired, users are forced to lose their guest-session abilities.
That’s why it has become an uncircumventable problem recently.
I found multiple bugs, dating back 6 years that point out the problems, but they don’t get fixed.
That's why the guest account was disabled by default.
See for further information:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1593407
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1742912

Unfortunately, if even on Ubuntu side there is no traction, it's harder. I dont know what needs to be precisely fixed on AppArmor side, and there are many other Snap-specific issues where I can fix stuff so I can't focus on that.

Flags: needinfo?(franksmcb)
Component: Widget: Gtk → Third Party Packaging
Product: Core → Firefox Build System

The severity field is not set for this bug.
:gerard-majax, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(lissyx+mozillians)
Severity: -- → S2
Flags: needinfo?(lissyx+mozillians)
Priority: -- → P3

Is this something really actionable ?

Flags: needinfo?(bandali)

Not from our end, I don't think? Per others, it appears that guest sessions are no longer a thing in recent versions of Ubuntu. And as for other flavours and/or derivatives, per Olivier's comment if the cause of this issue is outside Firefox, shouldn't it be directed/tracked there in the appropriate upstream?

Flags: needinfo?(bandali)
Attachment #9384891 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: