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

Reply via email to