The following fix to the abstraction seems to fix the issue:

=== modified file 'data/apparmor/abstractions/lightdm'
--- data/apparmor/abstractions/lightdm  2015-10-19 10:44:23 +0000
+++ data/apparmor/abstractions/lightdm  2016-09-28 03:39:54 +0000
@@ -95,7 +95,7 @@
   unix (receive) peer=(label=unconfined),
   unix (create),
   unix (getattr, getopt, setopt, shutdown),
-  unix (bind, listen) type=stream addr="@/com/ubuntu/upstart-session/**",
+  unix (bind, listen, accept, receive, send) type=stream 
addr="@/com/ubuntu/upstart-session/**",
   unix (bind, listen) type=stream addr="@/tmp/dbus-*",
   unix (bind, listen) type=stream addr="@/tmp/.ICE-unix/[0-9]*",
   unix (bind, listen) type=stream addr="@/dbus-vfs-daemon/*",

I figure that something (Unity?) is now making more use of the upstart
session. So we need to allow all operations on it.

I'm not an upstart expert but I figure this is safe to allow?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/1627304

Title:
  User locking problems - guest login crashing

Status in apparmor package in Ubuntu:
  Invalid
Status in gnome-session package in Ubuntu:
  Incomplete
Status in lightdm package in Ubuntu:
  Triaged
Status in lightdm-gtk-greeter package in Ubuntu:
  Incomplete
Status in unity-greeter package in Ubuntu:
  Incomplete
Status in xubuntu-default-settings package in Ubuntu:
  Incomplete

Bug description:
  Vanilla Ubuntu install.

  Lock user - login to guest account, desktop crashes. Ctrl+Alt+F7
  allows you to resume user after unlocking.

  Add new user - am able to switch between locked users properly.

  Can logout of one user and be able to resume other locked session.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: lightdm 1.19.4-0ubuntu1
  ProcVersionSignature: Ubuntu 4.8.0-14.15-generic 4.8.0-rc7
  Uname: Linux 4.8.0-14-generic x86_64
  ApportVersion: 2.20.3-0ubuntu7
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Sep 24 13:38:09 2016
  InstallationDate: Installed on 2016-09-24 (0 days ago)
  InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Alpha amd64 (20160922)
  SourcePackage: lightdm
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1627304/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to