🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#6965
From: dai
Date: Tue, 01 Dec 2026 02:20
73 lines
4722 bytes
--Soyrnah84x4s22x7
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Nov 23, 2026 at 11:30:30AM +0100, Yves-Alexis Perez wrote:
> Thanks for the report. I totally agree on that, I added an AppArmor profi=
le to
> help hardening LightDM ecosystem behavior (following DSA-6633-1) but I
> couldn't test every configuration.
>=20
> I'll try to fix uim support but it might be easier for you (as a real wor=
ld
> user) to tune the profile  (the syntax should be more or less understanda=
ble
> and https://gitlab.com/apparmor/apparmor/-/wikis/QuickProfileLanguage mig=
ht
> help) and provide a patch.

While I am not deeply familiar with lightdm-gtk-greeter, AppArmor, or GTK i=
nput
method modules, there appear to be two possible approaches to this issue: e=
ither
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 persp=
ective
for each input method package to provide its own AppArmor abstraction.

However, I question how common the use case for requiring external input me=
thods
within the greeter=E2=80=94prior to authentication=E2=80=94actually is.

Disabling external GTK input method modules by default would not only reduc=
e the
attack surface but also eliminate the need to design, test, and maintain in=
dividual
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 i=
nput
method modules by default?
--=20
Regards,
	dai

GPG Fingerprint =3D 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E

--Soyrnah84x4s22x7
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEECynYjkLmt2W42OpQeDlhndQ5Zo4FAmsOLMMACgkQeDlhndQ5
Zo5Qeg//ZNX4YotU4MCw5PgfUr811rLDGMpwTCI2W8jyL9SCyCfiXHcfAGEat+ff
hMcLiMRlfvq1V94LN1bF8U5oeLHj5F6K63TxRROJBGYpTToRf09OpY7f+c/SofQw
if0VLmw7eSuhRR3GZRFyMMJTKCJ+XMggPWeKO6GBMaIG80pTUpGFEw44mRXnjjJv
ZnDBfOjC1nYTXkJxAcT/rDwBQrtTMfdiOC+skxj62T85vyInZZEUaI0vVLOfYA6u
qUbOdxD2G8UaZSTcAIL9Jx/m+tKAkeHOjRsoZGFHSbc5sPFo+uAlKflDVrhqrfLR
qQD1g3h4s3rKMB+Kutx/cX4riWd48LqNV2K1bLsfo+jtYrw3mj24BzkeiOuAym9J
nbwxgCW8+smfC5E8iaJ7lGK1xGeWQBrNGJf8+APUXxDN0MVqblU9GQGAw3lNX8b5
ftPBca5EH0cY3LrPOwi/bITS9aV8U2DHcwxx1yg3OukV7qAbCfM87c5eCcNPxScQ
MaPu995E5JaZP22gxvimXveQap9BF4IQxesZEknxhTH2wvqrACJJteCSnO2bMO23
LA5mbKTSHorc1G12oju7+adR5GgGEyKqCpN/6/Epcb8LsR8jzPlEc49xAILbmrlk
hcGrB9Z40MG9WK1gXKLFx4SaLJhP5jrbnT/0yCj8RIlxWPRCdIw=
=9YGL
-----END PGP SIGNATURE-----

--Soyrnah84x4s22x7--
Technical Details
Message-ID: <O5lDj-feNe-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O2xrj-dDg5-9@gated-at.bofh.it> <O2zCO-dEr9-5@gated-at.bofh.it> <O2xrj-dDg5-9@gated-at.bofh.it> <O2zCO-dEr9-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: dai@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 03:20:01 +0100
Message-ID: <O5lDj-feNe-1@gated-at.bofh.it>
References: <O2xrj-dDg5-9@gated-at.bofh.it> <O2zCO-dEr9-5@gated-at.bofh.it> <O2xrj-dDg5-9@gated-at.bofh.it> <O2zCO-dEr9-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Dec  1 02:13:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: 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: followup 1154971
X-Debian-Pr-Package: lightdm-gtk-greeter
X-Debian-Pr-Source: lightdm, lightdm-gtk-greeter
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="Soyrnah84x4s22x7"
Content-Disposition: inline
X-Debian-User: dai
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006218
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 73
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Yves-Alexis Perez <corsac@debian.org>
X-Original-Date: Tue, 1 Dec 2026 11:11:19 +0900
X-Original-Message-ID: <aw4swxveiQ3Pq48R@lilith.infoblue.home>
X-Original-References: <179542153334.24892.1404877209376870851.reportbug@lilith.infoblue.home> <899bc9a6f9a69e68d4b930d78b2762ef920140ea.camel@debian.org> <179542153334.24892.1404877209376870851.reportbug@lilith.infoblue.home> <899bc9a6f9a69e68d4b930d78b2762ef920140ea.camel@debian.org>