Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data/apparmor/lightdm-guest-session.in: Allow l operation on /run/use… #319

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sunweaver
Copy link

…r/*/ICEauthority-l.

This resolves long login delays into X11 guest sessions when using
Arctica Greeter (forked from Unity Greeter). While waiting for the
desktop to appear, the screen stays black and a non-WM'ed dialog box
appears on screen, saying: "Could not update ICEauthority file
/run/user//ICEauthority".

When testing with MATE desktop, apparmor denies esp. creating this link
operation:
operation="link" class="file" profile="/lightdm-guest-session"
name="/run/user/997/ICEauthority-l" pid= comm="mate-session"
requested_mask="l" denied_mask="l" fsuid= ouid=
target="/run/user//ICEauthority-c"

Similar in Xfce4:
operation="link" class="file" profile="/lightdm-guest-session"
name="/run/user/997/ICEauthority-l" pid= comm="iceauth"
requested_mask="l" denied_mask="l" fsuid= ouid=
target="/run/user//ICEauthority-c"

…r/*/ICEauthority-l.

 This resolves long login delays into X11 guest sessions when using
 Arctica Greeter (forked from Unity Greeter). While waiting for the
 desktop to appear, the screen stays black and a non-WM'ed dialog box
 appears on screen, saying: "Could not update ICEauthority file
 /run/user/<guest-uid>/ICEauthority".

 When testing with MATE desktop, apparmor denies esp. creating this link
 operation:
 operation="link" class="file" profile="<path-to>/lightdm-guest-session"
 name="/run/user/997/ICEauthority-l" pid=<pid> comm="mate-session"
 requested_mask="l" denied_mask="l" fsuid=<fsuid> ouid=<ouid>
 target="/run/user/<uidnumber>/ICEauthority-c"

 Similar in Xfce4:
 operation="link" class="file" profile="<path-to>/lightdm-guest-session"
 name="/run/user/997/ICEauthority-l" pid=<pid> comm="iceauth"
 requested_mask="l" denied_mask="l" fsuid=<fsuid> ouid=<ouid>
 target="/run/user/<uidnumber>/ICEauthority-c"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant