[Bug 1593407] Re: Guest session cannot run snaps
** Changed in: ubuntu-mate Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593407 Title: Guest session cannot run snaps To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/1593407/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593407] Re: Guest session cannot run snaps
6 Year old Bug, really? I am frustrated with Ubuntu. Don't change firefox to a snap package when you have problems like this canonical -__- -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593407 Title: Guest session cannot run snaps To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/1593407/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593407] Re: Guest session cannot run snaps
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: snapd (Ubuntu Xenial) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593407 Title: Guest session cannot run snaps To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/1593407/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593407] Re: Guest session cannot run snaps
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: lightdm (Ubuntu Xenial) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593407 Title: Guest session cannot run snaps To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/1593407/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593407] Re: Guest session cannot run snaps
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: firefox (Ubuntu Xenial) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593407 Title: Guest session cannot run snaps To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/1593407/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593407] Re: Guest session cannot run snaps
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: firefox (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593407 Title: Guest session cannot run snaps To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/1593407/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593407] Re: Guest session cannot run snaps
This is fantastically cool decision to ship pre-installed Firefox web-browser as Snap. It can't be started on freshly installed Ubuntu MATE 22.04 LTS. Very smart and efficient idea. Very useful for internet kiosks. ``` guest-t2chxy@m:~/Desktop$ firefox 2022/05/03 10:18:59.480499 tool_linux.go:82: cannot open snapd info file "/snap/snapd/current/usr/lib/snapd/info": open /snap/snapd/current/usr/lib/snapd/info: permission denied guest-t2chxy@m:~/Desktop$ snap list 2022/05/03 10:26:00.694252 tool_linux.go:82: cannot open snapd info file "/snap/snapd/current/usr/lib/snapd/info": open /snap/snapd/current/usr/lib/snapd/info: permission denied ``` I can confirm this bug on Ubuntu MATE 22.04 LTS. Should you plan to fix it? ** Changed in: snapd (Ubuntu) Status: Triaged => Confirmed ** Changed in: lightdm (Ubuntu) Status: Triaged => Confirmed ** Tags added: bionic focal impish jammy ** Also affects: ubuntu-mate Importance: Undecided Status: New ** Also affects: firefox (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593407 Title: Guest session cannot run snaps To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/1593407/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593407] Re: Guest session cannot run snaps
** Also affects: lightdm (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: snapd (Ubuntu Xenial) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593407 Title: Guest session cannot run snaps To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/1593407/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593407] Re: Guest session cannot run snaps
I just tested this on an up to date system and while the error is different, the bug still applies, because you can't run snaps as guest. 2016/11/24 00:15:12.522919 main.go:239: WARNING: cannot create syslog logger internal error, please report: running "mame" failed: cannot list snaps: cannot communicate with server: Get http://localhost/v2/snaps: dial unix /run/snapd-snap.socket: connect: permission denied -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593407 Title: Guest session cannot run snaps To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/1593407/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593407] Re: Guest session cannot run snaps
** Also affects: snappy Importance: Undecided Status: New ** Also affects: lightdm Importance: Undecided Status: New ** Changed in: snappy Status: New => Confirmed ** Changed in: lightdm Status: New => Confirmed ** Changed in: snapd (Ubuntu) Importance: Undecided => High ** Changed in: snapd (Ubuntu) Status: Confirmed => Triaged ** Changed in: lightdm (Ubuntu) Importance: Medium => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593407 Title: Guest session cannot run snaps To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/1593407/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593407] Re: Guest session cannot run snaps
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: snapd (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593407 Title: Guest session cannot run snaps To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1593407/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593407] Re: Guest session cannot run snaps
I had a go at this by adding the following to the lightdm apparmor config: /snap/ r, /snap/** rmixk, But it wasn't able to mount the snaps. So there must be more config required. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593407 Title: Guest session cannot run snaps To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1593407/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593407] Re: Guest session cannot run snaps
** Changed in: lightdm (Ubuntu) Status: New => Triaged ** Changed in: lightdm (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593407 Title: Guest session cannot run snaps To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1593407/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593407] Re: Guest session cannot run snaps
Yes, I know. I was referring to LightDM's guest session AppArmor profile. I'll edit the description. I only linked the bug to snapd to make it known to Snappy developers, and because the bug affects it. The actual fix probably has to be made in that LightDM profile. So, sooner or later, the status for snapd should be changed to Invalid. ** Description changed: I'm using Ubuntu 16.04. The guest session cannot execute snaps, because of a permission error. - The AppArmor profile is not allowing access to /snap and other needed files and folders. + The LightDM's guest session AppArmor profile is not allowing access to /snap and other needed files and folders. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593407 Title: Guest session cannot run snaps To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1593407/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593407] Re: Guest session cannot run snaps
Guest session is already confined with an apparmor profile. I think that there's no support for profile transitions there to run snap-confine and everything else but it might be doable -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593407 Title: Guest session cannot run snaps To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1593407/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs