🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #5699

Bug#1154971: lightdm-gtk-greeter: AppArmor profile prevents greeter startup with uim installed

#5699
From: HIGUCHI Daisuke (VDR dai)
Date: Mon, 23 Nov 2026 08:20
91 lines
5078 bytes
Package: lightdm-gtk-greeter
Version: 2.0.9-3
Severity: important

Dear Maintainer,

   * What led up to the situation?

After upgrading Debian unstable and rebooting on 2026-11-23,
lightdm failed to display the GTK greeter, preventing graphicallogin.

The problem appears to be a regression introduced in lightdm-gtk-greeter 2.0.9-3,
which added an AppArmor profile for the greeter. uim is installed as an input method.

   * What exactly did you do (or not do) that was effective (or ineffective)?

lightdm log reported:

> Seat seat0: Stopping; failed to start a greeter

The greeter log initially reported:

> Error: in load: file "/usr/share/uim/lib/sigscheme-init.scm" not found

/usr/share/uim/lib/sigscheme-init.scm is an initialization file for SigScheme,
the Scheme interpreter used internally by uim, an input method framework that
provides a GTK input method module (/usr/lib/*/gtk-3.0/3.0.0/immodules/im-uim.so).
When the GTK greeter initializes the uim input method module, uim needs to load this file.

The file exists and is readable by the lightdm user.
Using strace, I confirmed that the greeter was denied access to the file:

> openat(AT_FDCWD, "/usr/share/uim/lib/sigscheme-init.scm", O_RDONLY) = -1 EACCES (Permission denied)

Adding explicit AppArmor permissions for reading this file did not resolve the problem.
Switching the greeter's AppArmor profile to complain mode resolved the problem:

> aa-complain /etc/apparmor.d/lightdm-gtk-greeter

Disabling the profile entirely also worked:

> aa-disable /etc/apparmor.d/lightdm-gtk-greeter

Re-enabling enforcement caused the greeter to fail again.

   * What was the outcome of this action?

With the AppArmor profile in enforce mode, the GTK greeter failed to start
and graphical login was unavailable.
With the profile in complain mode or disabled, the greeter started normally.

   * What outcome did you expect instead?

The GTK greeter should start normally with its AppArmor profile in enforce mode,
including on systems where uim is installed.

The AppArmor profile should permit the access required by supported GTK input methods
without requiring users to disable enforcement.

-- System Information:
Debian Release: forky/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-security'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.118+deb13-amd64 (SMP w/10 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to ja_JP.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lightdm-gtk-greeter depends on:
ii  libayatana-ido3-0.4-0    0.10.4-1.1
ii  libayatana-indicator3-7  0.9.4-2.1
ii  libc6                    2.43-7
ii  libcairo2                1.18.6-1
ii  libgdk-pixbuf-2.0-0      2.44.8+dfsg-1
ii  libglib2.0-0t64          2.90.1-2
ii  libgtk-3-0t64            3.24.52-3
ii  liblightdm-gobject-1-0   1.33.1-5
ii  libx11-6                 2:1.8.14-1

Versions of packages lightdm-gtk-greeter recommends:
ii  adwaita-icon-theme  51.0-1
ii  desktop-base        14.0.0~pre3
ii  polkitd             128-1

lightdm-gtk-greeter suggests no packages.

-- no debconf information
Technical Details
Message-ID: <O2xrj-dDg5-9@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: "HIGUCHI Daisuke (VDR dai)" <dai@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1154971: lightdm-gtk-greeter: AppArmor profile prevents greeter startup with uim installed
Date: Mon, 23 Nov 2026 09:20:01 +0100
Message-ID: <O2xrj-dDg5-9@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Nov 23 08:15:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: "HIGUCHI Daisuke (VDR dai)" <dai@debian.org>, 1154971@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-xfce@lists.debian.org
X-Debian-Pr-Message: report 1154971
X-Debian-Pr-Package: lightdm-gtk-greeter
X-Debian-Pr-Source: lightdm, lightdm-gtk-greeter
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-User: dai
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004355
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 91
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 23 Nov 2026 17:12:13 +0900
X-Original-Message-ID: <179542153334.24892.1404877209376870851.reportbug@lilith.infoblue.home>