Dear Maintainer,

I am experiencing another issue that appears to be related to the new
AppArmor profile introduced in lightdm-gtk-greeter 2.0.9-3.

My system : Debian Testing, XFCE, lightdm 1.33.1-5, lightdm-gtk-greeter
2.0.9-3

After upgrading to lightdm-gtk-greeter 2.0.9-3, my custom user image
disappeared from the LightDM login screen.
The greeter itself still starts normally.

I do not use Mugshot. My custom image is configured directly in
/etc/lightdm/lightdm-gtk-greeter.conf:

[greeter]
default-user-image=/usr/share/images/Ducati_logo.png

The kernel audit log confirms that AppArmor denies access to both the
custom user image and the LightDM configuration directory.

The same denials occur repeatedly when the greeter starts.
Here are the relevant entries from journalctl -k -b (hostname anonymized):
nov. 23 10:17:12 <hostname> kernel: audit: type=1400
audit(1795425431.992:127): apparmor="DENIED" operation="open" class="file"
profile="/usr/sbin/lightdm-gtk-greeter" name="/etc/lightdm/lightdm.conf.d/"
pid=5485 comm="lightdm-gtk-gre" requested_mask="r" denied_mask="r"
fsuid=106 ouid=0
nov. 23 10:17:12 <hostname> kernel: audit: type=1400
audit(1795425432.128:129): apparmor="DENIED" operation="open" class="file"
profile="/usr/sbin/lightdm-gtk-greeter"
name="/usr/share/images/Ducati_logo.png" pid=5485 comm="lightdm-gtk-gre"
requested_mask="r" denied_mask="r" fsuid=106 ouid=0

The same two denials occurred again on two subsequent greeter starts (at
10:20 and 11:46).

I am not very familiar with AppArmor, but these denials seem to be related
to the issue.

This seems to indicate that the new AppArmor profile is missing permissions
required to access LightDM configuration directories and custom user image
files.
Could the AppArmor profile be updated to allow access to custom images
configured through default-user-image?

Thank you for your work.

Reply via email to