🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#6986
From: Yves-Alexis Perez
Date: Tue, 01 Dec 2026 10:40
40 lines
3883 bytes
On Tue, Dec 01, 2026 at 11:11:19AM +0900, dai@debian.org wrote:
> While I am not deeply familiar with lightdm-gtk-greeter, AppArmor, or GTK input
> method modules, there appear to be two possible approaches to this issue: either
> granting the necessary permissions via AppArmor, or disabling external GTK input
> method modules within the greeter.
> 
> Regarding the former, it would make more sense from a maintainability perspective
> for each input method package to provide its own AppArmor abstraction.
> 
> However, I question how common the use case for requiring external input methods
> within the greeter—prior to authentication—actually is.
> 
> Disabling external GTK input method modules by default would not only reduce the
> attack surface but also eliminate the need to design, test, and maintain individual
> AppArmor rules for each input method.
> 
> Certainly, there may be use cases to consider from the perspective of i18n and m17n
> support; nonetheless, wouldn't it be worth considering disabling external input
> method modules by default?

Hi dai,

I assumed from the initial bug report that you actually had uim
installed on purpose, but if I understand correctly that's not the case?

So I guess for the time beeing and if you don't use it, you might just
be able to remove the input method and that'll do.

Unfortunately I don't think it's really possible to disable external
input methods in LightDM by default: if someone needs them (maybe
because of disabilities), then they should work out of the box as soon
as you install them. Disabling them in LightDM and forcing people to
re-enable them defeats their purpose I think.

I'm adding uim maintainer to the recipients so they can chime in on
this.

Regards,
-- 
Yves-Alexis Perez
Technical Details
Message-ID: <O5trb-fjro-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod
References: <O2xrj-dDg5-9@gated-at.bofh.it> <O2zCO-dEr9-5@gated-at.bofh.it> <O5lDj-feNe-1@gated-at.bofh.it> <O2xrj-dDg5-9@gated-at.bofh.it> <O5lDj-feNe-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Yves-Alexis Perez <corsac@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1154971: lightdm-gtk-greeter: AppArmor profile prevents greeter startup with uim installed
Date: Tue, 01 Dec 2026 11:40:01 +0100
Message-ID: <O5trb-fjro-3@gated-at.bofh.it>
References: <O2xrj-dDg5-9@gated-at.bofh.it> <O2zCO-dEr9-5@gated-at.bofh.it> <O5lDj-feNe-1@gated-at.bofh.it> <O2xrj-dDg5-9@gated-at.bofh.it> <O5lDj-feNe-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Dec  1 10:35:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Yves-Alexis Perez <corsac@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: followup 1154971
X-Debian-Pr-Package: lightdm-gtk-greeter
X-Debian-Pr-Source: lightdm, lightdm-gtk-greeter
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Debian-User: corsac
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006262
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 40
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1154971@bugs.debian.org
X-Original-Date: Tue, 1 Dec 2026 11:33:11 +0100
X-Original-Message-ID: <aw6iZ8j0oGJymlHo@corsac.net>
X-Original-References: <179542153334.24892.1404877209376870851.reportbug@lilith.infoblue.home> <899bc9a6f9a69e68d4b930d78b2762ef920140ea.camel@debian.org> <aw4swxveiQ3Pq48R@lilith.infoblue.home> <179542153334.24892.1404877209376870851.reportbug@lilith.infoblue.home> <aw4swxveiQ3Pq48R@lilith.infoblue.home>