← Back to team overview

lightdm-gtk-greeter-team team mailing list archive

[Bug 1627304] Re: User locking problems - guest login crashing

 

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 LightDM
Gtk+ Greeter Development Team, which is subscribed to lightdm-gtk-
greeter 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


References